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 #include <memory> | 8 #include <memory> |
9 | 9 |
10 // Clients of this interface shouldn't depend on lots of compiler internals. | 10 // Clients of this interface shouldn't depend on lots of compiler internals. |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 Node* BuildChangeEndianness(Node* node, MachineType type, | 241 Node* BuildChangeEndianness(Node* node, MachineType type, |
242 wasm::LocalType wasmtype = wasm::kAstStmt); | 242 wasm::LocalType wasmtype = wasm::kAstStmt); |
243 | 243 |
244 Node* MaskShiftCount32(Node* node); | 244 Node* MaskShiftCount32(Node* node); |
245 Node* MaskShiftCount64(Node* node); | 245 Node* MaskShiftCount64(Node* node); |
246 | 246 |
247 Node* BuildCCall(MachineSignature* sig, Node** args); | 247 Node* BuildCCall(MachineSignature* sig, Node** args); |
248 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args, | 248 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args, |
249 wasm::WasmCodePosition position); | 249 wasm::WasmCodePosition position); |
250 | 250 |
251 Node* BuildF32Neg(Node* input); | |
252 Node* BuildF64Neg(Node* input); | |
253 Node* BuildF32CopySign(Node* left, Node* right); | 251 Node* BuildF32CopySign(Node* left, Node* right); |
254 Node* BuildF64CopySign(Node* left, Node* right); | 252 Node* BuildF64CopySign(Node* left, Node* right); |
255 Node* BuildF32Min(Node* left, Node* right); | 253 Node* BuildF32Min(Node* left, Node* right); |
256 Node* BuildF32Max(Node* left, Node* right); | 254 Node* BuildF32Max(Node* left, Node* right); |
257 Node* BuildF64Min(Node* left, Node* right); | 255 Node* BuildF64Min(Node* left, Node* right); |
258 Node* BuildF64Max(Node* left, Node* right); | 256 Node* BuildF64Max(Node* left, Node* right); |
259 Node* BuildI32SConvertF32(Node* input, wasm::WasmCodePosition position); | 257 Node* BuildI32SConvertF32(Node* input, wasm::WasmCodePosition position); |
260 Node* BuildI32SConvertF64(Node* input, wasm::WasmCodePosition position); | 258 Node* BuildI32SConvertF64(Node* input, wasm::WasmCodePosition position); |
261 Node* BuildI32UConvertF32(Node* input, wasm::WasmCodePosition position); | 259 Node* BuildI32UConvertF32(Node* input, wasm::WasmCodePosition position); |
262 Node* BuildI32UConvertF64(Node* input, wasm::WasmCodePosition position); | 260 Node* BuildI32UConvertF64(Node* input, wasm::WasmCodePosition position); |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 } | 352 } |
355 | 353 |
356 // Simd helper functions | 354 // Simd helper functions |
357 MachineOperatorBuilder* simd(); | 355 MachineOperatorBuilder* simd(); |
358 }; | 356 }; |
359 } // namespace compiler | 357 } // namespace compiler |
360 } // namespace internal | 358 } // namespace internal |
361 } // namespace v8 | 359 } // namespace v8 |
362 | 360 |
363 #endif // V8_COMPILER_WASM_COMPILER_H_ | 361 #endif // V8_COMPILER_WASM_COMPILER_H_ |
OLD | NEW |