Home
last modified time | relevance | path

Searched refs:WasmOpcode (Results 1 – 12 of 12) sorted by relevance

/external/v8/src/wasm/
Dwasm-opcodes.cc51 const char* WasmOpcodes::OpcodeName(WasmOpcode opcode) { in OpcodeName()
233 bool WasmOpcodes::IsPrefixOpcode(WasmOpcode opcode) { in IsPrefixOpcode()
315 FunctionSig* Signature(WasmOpcode opcode) const { in Signature()
319 FunctionSig* AsmjsSignature(WasmOpcode opcode) const { in AsmjsSignature()
323 FunctionSig* SimdSignature(WasmOpcode opcode) const { in SimdSignature()
327 FunctionSig* AtomicSignature(WasmOpcode opcode) const { in AtomicSignature()
335 FunctionSig* WasmOpcodes::Signature(WasmOpcode opcode) { in Signature()
343 FunctionSig* WasmOpcodes::AsmjsSignature(WasmOpcode opcode) { in AsmjsSignature()
347 FunctionSig* WasmOpcodes::AtomicSignature(WasmOpcode opcode) { in AtomicSignature()
Dfunction-body-decoder.h125 public std::iterator<std::input_iterator_tag, WasmOpcode> { in NON_EXPORTED_BASE()
127 inline WasmOpcode operator*() { in NON_EXPORTED_BASE()
129 return static_cast<WasmOpcode>(*ptr_); in NON_EXPORTED_BASE()
172 WasmOpcode current() { in NON_EXPORTED_BASE()
173 return static_cast<WasmOpcode>( in NON_EXPORTED_BASE()
Dwasm-module-builder.h127 void Emit(WasmOpcode opcode);
132 void EmitWithU8(WasmOpcode opcode, const byte immediate);
133 void EmitWithU8U8(WasmOpcode opcode, const byte imm1, const byte imm2);
134 void EmitWithVarInt(WasmOpcode opcode, int32_t immediate);
135 void EmitWithVarUint(WasmOpcode opcode, uint32_t immediate);
Dfunction-body-decoder.cc246 WasmOpcode opcode = static_cast<WasmOpcode>(*pc); in AnalyzeLoopAssignment()
355 inline bool Validate(const byte* pc, WasmOpcode opcode, in Validate()
385 inline bool Validate(const byte* pc, WasmOpcode opcode, in Validate()
485 WasmOpcode opcode = in OpcodeLength()
486 static_cast<WasmOpcode>(kSimdPrefix << 8 | simd_index); in OpcodeLength()
715 WasmOpcode opcode = static_cast<WasmOpcode>(*pc_); in DecodeFunctionBody()
1232 opcode = static_cast<WasmOpcode>(opcode << 8 | simd_index); in DecodeFunctionBody()
1249 opcode = static_cast<WasmOpcode>(opcode << 8 | atomic_opcode); in DecodeFunctionBody()
1304 WasmOpcode opcode = static_cast<WasmOpcode>(*val.pc); in DecodeFunctionBody()
1306 opcode = static_cast<WasmOpcode>(opcode << 8 | *(val.pc + 1)); in DecodeFunctionBody()
[all …]
Dwasm-opcodes.h504 enum WasmOpcode { enum
535 static const char* OpcodeName(WasmOpcode opcode);
536 static FunctionSig* Signature(WasmOpcode opcode);
537 static FunctionSig* AsmjsSignature(WasmOpcode opcode);
538 static FunctionSig* AtomicSignature(WasmOpcode opcode);
539 static bool IsPrefixOpcode(WasmOpcode opcode);
637 static WasmOpcode LoadStoreOpcodeOf(MachineType type, bool store) { in LoadStoreOpcodeOf()
Dwasm-module-builder.cc111 void WasmFunctionBuilder::Emit(WasmOpcode opcode) { in Emit()
115 void WasmFunctionBuilder::EmitWithU8(WasmOpcode opcode, const byte immediate) { in EmitWithU8()
120 void WasmFunctionBuilder::EmitWithU8U8(WasmOpcode opcode, const byte imm1, in EmitWithU8U8()
127 void WasmFunctionBuilder::EmitWithVarInt(WasmOpcode opcode, int32_t immediate) { in EmitWithVarInt()
132 void WasmFunctionBuilder::EmitWithVarUint(WasmOpcode opcode, in EmitWithVarUint()
Dwasm-text.cc87 WasmOpcode opcode = i.current(); in PrintWasmText()
Dwasm-interpreter.cc666 return WasmOpcodes::OpcodeName(static_cast<WasmOpcode>(val)); in OpcodeName()
735 WasmOpcode opcode = i.current(); in ControlTransfers()
1246 WasmOpcodes::OpcodeName(static_cast<WasmOpcode>(orig))); in Execute()
1255 WasmOpcodes::OpcodeName(static_cast<WasmOpcode>(orig))); in Execute()
/external/v8/src/compiler/
Dwasm-compiler.h151 Node* Binop(wasm::WasmOpcode opcode, Node* left, Node* right,
153 Node* Unop(wasm::WasmOpcode opcode, Node* input,
233 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs);
235 Node* SimdLaneOp(wasm::WasmOpcode opcode, uint8_t lane,
238 Node* SimdShiftOp(wasm::WasmOpcode opcode, uint8_t shift,
241 Node* SimdSwizzleOp(wasm::WasmOpcode opcode, uint32_t swizzle,
Dwasm-compiler.cc53 const Operator* UnsupportedOpcode(wasm::WasmOpcode opcode) { in UnsupportedOpcode()
522 Node* WasmGraphBuilder::Binop(wasm::WasmOpcode opcode, Node* left, Node* right, in Binop()
791 Node* WasmGraphBuilder::Unop(wasm::WasmOpcode opcode, Node* input, in Unop()
3358 Node* WasmGraphBuilder::SimdOp(wasm::WasmOpcode opcode, in SimdOp()
3620 Node* WasmGraphBuilder::SimdLaneOp(wasm::WasmOpcode opcode, uint8_t lane, in SimdLaneOp()
3653 Node* WasmGraphBuilder::SimdShiftOp(wasm::WasmOpcode opcode, uint8_t shift, in SimdShiftOp()
3689 Node* WasmGraphBuilder::SimdSwizzleOp(wasm::WasmOpcode opcode, uint32_t swizzle, in SimdSwizzleOp()
/external/v8/src/asmjs/
Dasm-wasm-builder.cc256 WasmOpcode opcode, TargetType target_type = NoTarget) in BlockVisitor()
981 WasmOpcode opcode; in EmitAssignment()
1130 WasmOpcode opcode; in VisitProperty()
1636 static WasmOpcode opcodes[] = { \
1644 static WasmOpcode opcodes[] = { \
1652 static WasmOpcode opcodes[] = { kExprI32##op, kExprI32##op }
1718 static WasmOpcode opcodes[] = {kExprI32AsmjsDivS, kExprI32AsmjsDivU, in VisitBinaryOperation()
/external/swiftshader/third_party/subzero/src/
DWasmTranslator.cpp215 bool isComparison(wasm::WasmOpcode Opcode) { in isComparison()
393 Node Binop(wasm::WasmOpcode Opcode, Node Left, Node Right) { in Binop()
710 Node Unop(wasm::WasmOpcode Opcode, Node Input) { in Unop()