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* BuildF64Pow(Node* left, Node* right); | |
279 Node* BuildF64Mod(Node* left, Node* right); | 278 Node* BuildF64Mod(Node* left, Node* right); |
280 | 279 |
281 Node* BuildIntToFloatConversionInstruction( | 280 Node* BuildIntToFloatConversionInstruction( |
282 Node* input, ExternalReference ref, | 281 Node* input, ExternalReference ref, |
283 MachineRepresentation parameter_representation, | 282 MachineRepresentation parameter_representation, |
284 const MachineType result_type); | 283 const MachineType result_type); |
285 Node* BuildF32SConvertI64(Node* input); | 284 Node* BuildF32SConvertI64(Node* input); |
286 Node* BuildF32UConvertI64(Node* input); | 285 Node* BuildF32UConvertI64(Node* input); |
287 Node* BuildF64SConvertI64(Node* input); | 286 Node* BuildF64SConvertI64(Node* input); |
288 Node* BuildF64UConvertI64(Node* input); | 287 Node* BuildF64UConvertI64(Node* input); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 Node** buf = Buffer(new_count); | 340 Node** buf = Buffer(new_count); |
342 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*)); | 341 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*)); |
343 return buf; | 342 return buf; |
344 } | 343 } |
345 }; | 344 }; |
346 } // namespace compiler | 345 } // namespace compiler |
347 } // namespace internal | 346 } // namespace internal |
348 } // namespace v8 | 347 } // namespace v8 |
349 | 348 |
350 #endif // V8_COMPILER_WASM_COMPILER_H_ | 349 #endif // V8_COMPILER_WASM_COMPILER_H_ |
OLD | NEW |