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

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

Issue 2385393002: [wasm] Implement I32x4ReplaceLane, I32x4Add, I32x4Sub. (Closed)
Patch Set: Bill's review Created 4 years, 2 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 wasm::FunctionSig* GetFunctionSignature() { return function_signature_; } 195 wasm::FunctionSig* GetFunctionSignature() { return function_signature_; }
196 196
197 void Int64LoweringForTesting(); 197 void Int64LoweringForTesting();
198 198
199 void SetSourcePosition(Node* node, wasm::WasmCodePosition position); 199 void SetSourcePosition(Node* node, wasm::WasmCodePosition position);
200 200
201 Node* DefaultS128Value(); 201 Node* DefaultS128Value();
202 202
203 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs); 203 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs);
204 Node* SimdExtractLane(wasm::WasmOpcode opcode, uint8_t lane, Node* input);
205 204
206 private: 205 private:
207 static const int kDefaultBufferSize = 16; 206 static const int kDefaultBufferSize = 16;
208 friend class WasmTrapHelper; 207 friend class WasmTrapHelper;
209 208
210 Zone* zone_; 209 Zone* zone_;
211 JSGraph* jsgraph_; 210 JSGraph* jsgraph_;
212 wasm::ModuleEnv* module_; 211 wasm::ModuleEnv* module_;
213 Node* mem_buffer_; 212 Node* mem_buffer_;
214 Node* mem_size_; 213 Node* mem_size_;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 } 343 }
345 344
346 int AddParameterNodes(Node** args, int pos, int param_count, 345 int AddParameterNodes(Node** args, int pos, int param_count,
347 wasm::FunctionSig* sig); 346 wasm::FunctionSig* sig);
348 }; 347 };
349 } // namespace compiler 348 } // namespace compiler
350 } // namespace internal 349 } // namespace internal
351 } // namespace v8 350 } // namespace v8
352 351
353 #endif // V8_COMPILER_WASM_COMPILER_H_ 352 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698