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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 | 230 |
231 Node* MaskShiftCount32(Node* node); | 231 Node* MaskShiftCount32(Node* node); |
232 Node* MaskShiftCount64(Node* node); | 232 Node* MaskShiftCount64(Node* node); |
233 | 233 |
234 Node* BuildCCall(MachineSignature* sig, Node** args); | 234 Node* BuildCCall(MachineSignature* sig, Node** args); |
235 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args, | 235 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args, |
236 wasm::WasmCodePosition position); | 236 wasm::WasmCodePosition position); |
237 | 237 |
238 Node* BuildF32CopySign(Node* left, Node* right); | 238 Node* BuildF32CopySign(Node* left, Node* right); |
239 Node* BuildF64CopySign(Node* left, Node* right); | 239 Node* BuildF64CopySign(Node* left, Node* right); |
240 Node* BuildF32Min(Node* left, Node* right); | |
241 Node* BuildF32Max(Node* left, Node* right); | |
242 Node* BuildI32SConvertF32(Node* input, wasm::WasmCodePosition position); | 240 Node* BuildI32SConvertF32(Node* input, wasm::WasmCodePosition position); |
243 Node* BuildI32SConvertF64(Node* input, wasm::WasmCodePosition position); | 241 Node* BuildI32SConvertF64(Node* input, wasm::WasmCodePosition position); |
244 Node* BuildI32UConvertF32(Node* input, wasm::WasmCodePosition position); | 242 Node* BuildI32UConvertF32(Node* input, wasm::WasmCodePosition position); |
245 Node* BuildI32UConvertF64(Node* input, wasm::WasmCodePosition position); | 243 Node* BuildI32UConvertF64(Node* input, wasm::WasmCodePosition position); |
246 Node* BuildI32Ctz(Node* input); | 244 Node* BuildI32Ctz(Node* input); |
247 Node* BuildI32Popcnt(Node* input); | 245 Node* BuildI32Popcnt(Node* input); |
248 Node* BuildI64Ctz(Node* input); | 246 Node* BuildI64Ctz(Node* input); |
249 Node* BuildI64Popcnt(Node* input); | 247 Node* BuildI64Popcnt(Node* input); |
250 Node* BuildBitCountingCall(Node* input, ExternalReference ref, | 248 Node* BuildBitCountingCall(Node* input, ExternalReference ref, |
251 MachineRepresentation input_type); | 249 MachineRepresentation input_type); |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 Node** buf = Buffer(new_count); | 331 Node** buf = Buffer(new_count); |
334 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*)); | 332 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*)); |
335 return buf; | 333 return buf; |
336 } | 334 } |
337 }; | 335 }; |
338 } // namespace compiler | 336 } // namespace compiler |
339 } // namespace internal | 337 } // namespace internal |
340 } // namespace v8 | 338 } // namespace v8 |
341 | 339 |
342 #endif // V8_COMPILER_WASM_COMPILER_H_ | 340 #endif // V8_COMPILER_WASM_COMPILER_H_ |
OLD | NEW |