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