OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_COMPILER_WASM_COMPILER_H_ | 5 #ifndef V8_COMPILER_WASM_COMPILER_H_ |
6 #define V8_COMPILER_WASM_COMPILER_H_ | 6 #define V8_COMPILER_WASM_COMPILER_H_ |
7 | 7 |
8 // Clients of this interface shouldn't depend on lots of compiler internals. | 8 // Clients of this interface shouldn't depend on lots of compiler internals. |
9 // Do not include anything from src/compiler here! | 9 // Do not include anything from src/compiler here! |
10 #include "src/compiler.h" | 10 #include "src/compiler.h" |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 Node* BuildF32NearestInt(Node* input); | 268 Node* BuildF32NearestInt(Node* input); |
269 Node* BuildF64Trunc(Node* input); | 269 Node* BuildF64Trunc(Node* input); |
270 Node* BuildF64Floor(Node* input); | 270 Node* BuildF64Floor(Node* input); |
271 Node* BuildF64Ceil(Node* input); | 271 Node* BuildF64Ceil(Node* input); |
272 Node* BuildF64NearestInt(Node* input); | 272 Node* BuildF64NearestInt(Node* input); |
273 Node* BuildI32Rol(Node* left, Node* right); | 273 Node* BuildI32Rol(Node* left, Node* right); |
274 Node* BuildI64Rol(Node* left, Node* right); | 274 Node* BuildI64Rol(Node* left, Node* right); |
275 | 275 |
276 Node* BuildF64Acos(Node* input); | 276 Node* BuildF64Acos(Node* input); |
277 Node* BuildF64Asin(Node* input); | 277 Node* BuildF64Asin(Node* input); |
278 Node* BuildF64Atan(Node* input); | |
279 Node* BuildF64Cos(Node* input); | 278 Node* BuildF64Cos(Node* input); |
280 Node* BuildF64Sin(Node* input); | 279 Node* BuildF64Sin(Node* input); |
281 Node* BuildF64Tan(Node* input); | 280 Node* BuildF64Tan(Node* input); |
282 Node* BuildF64Exp(Node* input); | 281 Node* BuildF64Exp(Node* input); |
283 Node* BuildF64Pow(Node* left, Node* right); | 282 Node* BuildF64Pow(Node* left, Node* right); |
284 Node* BuildF64Atan2(Node* left, Node* right); | |
285 Node* BuildF64Mod(Node* left, Node* right); | 283 Node* BuildF64Mod(Node* left, Node* right); |
286 | 284 |
287 Node* BuildIntToFloatConversionInstruction( | 285 Node* BuildIntToFloatConversionInstruction( |
288 Node* input, ExternalReference ref, | 286 Node* input, ExternalReference ref, |
289 MachineRepresentation parameter_representation, | 287 MachineRepresentation parameter_representation, |
290 const MachineType result_type); | 288 const MachineType result_type); |
291 Node* BuildF32SConvertI64(Node* input); | 289 Node* BuildF32SConvertI64(Node* input); |
292 Node* BuildF32UConvertI64(Node* input); | 290 Node* BuildF32UConvertI64(Node* input); |
293 Node* BuildF64SConvertI64(Node* input); | 291 Node* BuildF64SConvertI64(Node* input); |
294 Node* BuildF64UConvertI64(Node* input); | 292 Node* BuildF64UConvertI64(Node* input); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 Node** buf = Buffer(new_count); | 345 Node** buf = Buffer(new_count); |
348 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*)); | 346 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*)); |
349 return buf; | 347 return buf; |
350 } | 348 } |
351 }; | 349 }; |
352 } // namespace compiler | 350 } // namespace compiler |
353 } // namespace internal | 351 } // namespace internal |
354 } // namespace v8 | 352 } // namespace v8 |
355 | 353 |
356 #endif // V8_COMPILER_WASM_COMPILER_H_ | 354 #endif // V8_COMPILER_WASM_COMPILER_H_ |
OLD | NEW |