Home
last modified time | relevance | path

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

/external/v8/src/wasm/
Dwasm-opcodes.cc15 const char* WasmOpcodes::OpcodeName(WasmOpcode opcode) { in OpcodeName()
28 const char* WasmOpcodes::ShortOpcodeName(WasmOpcode opcode) { in ShortOpcodeName()
41 bool WasmOpcodes::IsPrefixOpcode(WasmOpcode opcode) { in IsPrefixOpcode()
123 FunctionSig* Signature(WasmOpcode opcode) const { in Signature()
127 FunctionSig* AsmjsSignature(WasmOpcode opcode) const { in AsmjsSignature()
131 FunctionSig* SimdSignature(WasmOpcode opcode) const { in SimdSignature()
135 FunctionSig* AtomicSignature(WasmOpcode opcode) const { in AtomicSignature()
143 FunctionSig* WasmOpcodes::Signature(WasmOpcode opcode) { in Signature()
151 FunctionSig* WasmOpcodes::AsmjsSignature(WasmOpcode opcode) { in AsmjsSignature()
155 FunctionSig* WasmOpcodes::AtomicSignature(WasmOpcode opcode) { in AtomicSignature()
Dwasm-module-builder.h126 void Emit(WasmOpcode opcode);
131 void EmitWithU8(WasmOpcode opcode, const byte immediate);
132 void EmitWithU8U8(WasmOpcode opcode, const byte imm1, const byte imm2);
133 void EmitWithVarInt(WasmOpcode opcode, uint32_t immediate);
Dwasm-opcodes.h498 enum WasmOpcode { enum
530 static const char* OpcodeName(WasmOpcode opcode);
531 static const char* ShortOpcodeName(WasmOpcode opcode);
532 static FunctionSig* Signature(WasmOpcode opcode);
533 static FunctionSig* AsmjsSignature(WasmOpcode opcode);
534 static FunctionSig* AtomicSignature(WasmOpcode opcode);
535 static bool IsPrefixOpcode(WasmOpcode opcode);
615 static WasmOpcode LoadStoreOpcodeOf(MachineType type, bool store) { in LoadStoreOpcodeOf()
Dast-decoder.cc338 WasmOpcode opcode = in OpcodeLength()
339 static_cast<WasmOpcode>(kSimdPrefix << 8 | simd_index); in OpcodeLength()
650 WasmOpcode opcode = static_cast<WasmOpcode>(*pc_); in DecodeFunctionBody()
1161 opcode = static_cast<WasmOpcode>(opcode << 8 | simd_index); in DecodeFunctionBody()
1178 opcode = static_cast<WasmOpcode>(opcode << 8 | atomic_opcode); in DecodeFunctionBody()
1204 WasmOpcode opcode = static_cast<WasmOpcode>(*val.pc); in DecodeFunctionBody()
1206 opcode = static_cast<WasmOpcode>(opcode << 8 | *(val.pc + 1)); in DecodeFunctionBody()
1328 unsigned ExtractLane(WasmOpcode opcode, LocalType type) { in ExtractLane()
1338 unsigned DecodeSimdOpcode(WasmOpcode opcode) { in DecodeSimdOpcode()
1367 void BuildAtomicOperator(WasmOpcode opcode) { UNIMPLEMENTED(); } in BuildAtomicOperator()
[all …]
Dast-decoder.h398 inline WasmOpcode operator*() { in NON_EXPORTED_BASE()
400 return static_cast<WasmOpcode>(*ptr_); in NON_EXPORTED_BASE()
425 WasmOpcode current() { in NON_EXPORTED_BASE()
426 return static_cast<WasmOpcode>( in NON_EXPORTED_BASE()
Dwasm-module-builder.cc103 void WasmFunctionBuilder::Emit(WasmOpcode opcode) { in Emit()
107 void WasmFunctionBuilder::EmitWithU8(WasmOpcode opcode, const byte immediate) { in EmitWithU8()
112 void WasmFunctionBuilder::EmitWithU8U8(WasmOpcode opcode, const byte imm1, in EmitWithU8U8()
119 void WasmFunctionBuilder::EmitWithVarInt(WasmOpcode opcode, in EmitWithVarInt()
Dwasm-interpreter.cc712 return WasmOpcodes::OpcodeName(static_cast<WasmOpcode>(val)); in OpcodeName()
781 WasmOpcode opcode = i.current(); in ControlTransfers()
1256 WasmOpcodes::OpcodeName(static_cast<WasmOpcode>(orig))); in Execute()
1266 WasmOpcodes::OpcodeName(static_cast<WasmOpcode>(orig))); in Execute()
/external/v8/src/compiler/
Dwasm-compiler.h132 Node* Binop(wasm::WasmOpcode opcode, Node* left, Node* right,
134 Node* Unop(wasm::WasmOpcode opcode, Node* input,
209 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs);
210 Node* SimdExtractLane(wasm::WasmOpcode opcode, uint8_t lane, Node* input);
Dwasm-compiler.cc52 const Operator* UnsupportedOpcode(wasm::WasmOpcode opcode) { in UnsupportedOpcode()
454 Node* WasmGraphBuilder::Binop(wasm::WasmOpcode opcode, Node* left, Node* right, in Binop()
723 Node* WasmGraphBuilder::Unop(wasm::WasmOpcode opcode, Node* input, in Unop()
3101 Node* WasmGraphBuilder::SimdOp(wasm::WasmOpcode opcode, in SimdOp()
3124 Node* WasmGraphBuilder::SimdExtractLane(wasm::WasmOpcode opcode, uint8_t lane, in SimdExtractLane()
/external/v8/src/asmjs/
Dasm-wasm-builder.cc161 WasmOpcode opcode) in BlockVisitor()
850 WasmOpcode opcode; in EmitAssignment()
1004 WasmOpcode opcode; in VisitProperty()
1498 static WasmOpcode opcodes[] = { \
1506 static WasmOpcode opcodes[] = { \
1514 static WasmOpcode opcodes[] = { kExprI32##op, kExprI32##op }
1579 static WasmOpcode opcodes[] = {kExprI32AsmjsDivS, kExprI32AsmjsDivU, in VisitBinaryOperation()