Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: src/compiler/wasm-compiler.h

Issue 2719483002: [V8] Rename SIMD Create methods and add initialization operators. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 void set_effect_ptr(Node** effect) { this->effect_ = effect; } 221 void set_effect_ptr(Node** effect) { this->effect_ = effect; }
222 222
223 wasm::FunctionSig* GetFunctionSignature() { return sig_; } 223 wasm::FunctionSig* GetFunctionSignature() { return sig_; }
224 224
225 void Int64LoweringForTesting(); 225 void Int64LoweringForTesting();
226 226
227 void SimdScalarLoweringForTesting(); 227 void SimdScalarLoweringForTesting();
228 228
229 void SetSourcePosition(Node* node, wasm::WasmCodePosition position); 229 void SetSourcePosition(Node* node, wasm::WasmCodePosition position);
230 230
231 Node* CreateS128Value(int32_t value); 231 Node* Simd128Zero();
232 Node* Simd1x4Zero();
233 Node* Simd1x8Zero();
234 Node* Simd1x16Zero();
232 235
233 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs); 236 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs);
234 237
235 Node* SimdLaneOp(wasm::WasmOpcode opcode, uint8_t lane, 238 Node* SimdLaneOp(wasm::WasmOpcode opcode, uint8_t lane,
236 const NodeVector& inputs); 239 const NodeVector& inputs);
237 240
238 Node* SimdShiftOp(wasm::WasmOpcode opcode, uint8_t shift, 241 Node* SimdShiftOp(wasm::WasmOpcode opcode, uint8_t shift,
239 const NodeVector& inputs); 242 const NodeVector& inputs);
240 243
241 Node* SimdSwizzleOp(wasm::WasmOpcode opcode, uint32_t swizzle, 244 Node* SimdSwizzleOp(wasm::WasmOpcode opcode, uint32_t swizzle,
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 } 391 }
389 392
390 int AddParameterNodes(Node** args, int pos, int param_count, 393 int AddParameterNodes(Node** args, int pos, int param_count,
391 wasm::FunctionSig* sig); 394 wasm::FunctionSig* sig);
392 }; 395 };
393 } // namespace compiler 396 } // namespace compiler
394 } // namespace internal 397 } // namespace internal
395 } // namespace v8 398 } // namespace v8
396 399
397 #endif // V8_COMPILER_WASM_COMPILER_H_ 400 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698