| 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 Node* S1x16Zero(); | 247 Node* S1x16Zero(); |
| 248 | 248 |
| 249 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs); | 249 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs); |
| 250 | 250 |
| 251 Node* SimdLaneOp(wasm::WasmOpcode opcode, uint8_t lane, | 251 Node* SimdLaneOp(wasm::WasmOpcode opcode, uint8_t lane, |
| 252 const NodeVector& inputs); | 252 const NodeVector& inputs); |
| 253 | 253 |
| 254 Node* SimdShiftOp(wasm::WasmOpcode opcode, uint8_t shift, | 254 Node* SimdShiftOp(wasm::WasmOpcode opcode, uint8_t shift, |
| 255 const NodeVector& inputs); | 255 const NodeVector& inputs); |
| 256 | 256 |
| 257 Node* SimdShuffleOp(uint8_t shuffle[16], unsigned lanes, | 257 Node* Simd8x16ShuffleOp(uint8_t shuffle[16], const NodeVector& inputs); |
| 258 const NodeVector& inputs); | |
| 259 | 258 |
| 260 bool has_simd() const { return has_simd_; } | 259 bool has_simd() const { return has_simd_; } |
| 261 | 260 |
| 262 wasm::ModuleEnv* module_env() const { return module_; } | 261 wasm::ModuleEnv* module_env() const { return module_; } |
| 263 | 262 |
| 264 private: | 263 private: |
| 265 static const int kDefaultBufferSize = 16; | 264 static const int kDefaultBufferSize = 16; |
| 266 friend class WasmTrapHelper; | 265 friend class WasmTrapHelper; |
| 267 | 266 |
| 268 Zone* zone_; | 267 Zone* zone_; |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 } | 403 } |
| 405 | 404 |
| 406 int AddParameterNodes(Node** args, int pos, int param_count, | 405 int AddParameterNodes(Node** args, int pos, int param_count, |
| 407 wasm::FunctionSig* sig); | 406 wasm::FunctionSig* sig); |
| 408 }; | 407 }; |
| 409 } // namespace compiler | 408 } // namespace compiler |
| 410 } // namespace internal | 409 } // namespace internal |
| 411 } // namespace v8 | 410 } // namespace v8 |
| 412 | 411 |
| 413 #endif // V8_COMPILER_WASM_COMPILER_H_ | 412 #endif // V8_COMPILER_WASM_COMPILER_H_ |
| OLD | NEW |