Home
last modified time | relevance | path

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

/external/v8/src/wasm/
Dwasm-opcodes.cc14 const char* WasmOpcodes::OpcodeName(WasmOpcode opcode) { in OpcodeName()
59 FunctionSig* WasmOpcodes::Signature(WasmOpcode opcode) { in Signature()
75 bool WasmOpcodes::IsSupported(WasmOpcode opcode) { in IsSupported()
Dencoder.h61 void Emit(WasmOpcode opcode);
62 void EmitWithU8(WasmOpcode opcode, const byte immediate);
63 void EmitWithLocal(WasmOpcode opcode);
Dwasm-opcodes.h293 enum WasmOpcode { enum
303 static bool IsSupported(WasmOpcode opcode);
304 static const char* OpcodeName(WasmOpcode opcode);
305 static FunctionSig* Signature(WasmOpcode opcode);
402 static WasmOpcode LoadStoreOpcodeOf(MachineType type, bool store) { in LoadStoreOpcodeOf()
Dast-decoder.cc40 WasmOpcode opcode() const { return static_cast<WasmOpcode>(*pc); } in opcode()
49 WasmOpcode opcode() const { return static_cast<WasmOpcode>(*pc()); } in opcode()
307 WasmOpcode opcode = static_cast<WasmOpcode>(*pc_); in DecodeFunctionBody()
648 WasmOpcode opcode = p->opcode(); in Reduce()
1475 switch (static_cast<WasmOpcode>(*pc)) { in OpcodeLength()
1524 switch (static_cast<WasmOpcode>(*pc)) { in OpcodeArity()
Dencoder.cc113 void WasmFunctionBuilder::Emit(WasmOpcode opcode) { in Emit()
118 void WasmFunctionBuilder::EmitWithU8(WasmOpcode opcode, const byte immediate) { in EmitWithU8()
124 void WasmFunctionBuilder::EmitWithLocal(WasmOpcode opcode) { in EmitWithLocal()
Dasm-wasm-builder.cc121 WasmOpcode opcode, bool is_loop, int initial_block_size) in BlockVisitor()
704 static WasmOpcode opcodes[] = { \
712 static WasmOpcode opcodes[] = { \
720 static WasmOpcode opcodes[] = { kExprI32##op, kExprI32##op }
/external/v8/src/compiler/
Dwasm-compiler.h84 Node* Binop(wasm::WasmOpcode opcode, Node* left, Node* right);
85 Node* Unop(wasm::WasmOpcode opcode, Node* input);
Dwasm-compiler.cc49 const Operator* UnsupportedOpcode(wasm::WasmOpcode opcode) { in UnsupportedOpcode()
376 Node* WasmGraphBuilder::Binop(wasm::WasmOpcode opcode, Node* left, in Binop()
662 Node* WasmGraphBuilder::Unop(wasm::WasmOpcode opcode, Node* input) { in Unop()
/external/v8/test/cctest/wasm/
Dtest-run-wasm.cc204 void TestInt32Binop(WasmOpcode opcode, int32_t expected, int32_t a, int32_t b) { in TestInt32Binop()
249 void TestInt32Unop(WasmOpcode opcode, int32_t expected, int32_t a) { in TestInt32Unop()
349 void TestInt64Binop(WasmOpcode opcode, int64_t expected, int64_t a, int64_t b) { in TestInt64Binop()
366 void TestInt64Cmp(WasmOpcode opcode, int64_t expected, int64_t a, int64_t b) { in TestInt64Cmp()
696 void TestFloat32Binop(WasmOpcode opcode, int32_t expected, float a, float b) { in TestFloat32Binop()
712 void TestFloat32BinopWithConvert(WasmOpcode opcode, int32_t expected, float a, in TestFloat32BinopWithConvert()
731 void TestFloat32UnopWithConvert(WasmOpcode opcode, int32_t expected, float a) { in TestFloat32UnopWithConvert()
747 void TestFloat64Binop(WasmOpcode opcode, int32_t expected, double a, double b) { in TestFloat64Binop()
763 void TestFloat64BinopWithConvert(WasmOpcode opcode, int32_t expected, double a, in TestFloat64BinopWithConvert()
781 void TestFloat64UnopWithConvert(WasmOpcode opcode, int32_t expected, double a) { in TestFloat64UnopWithConvert()
[all …]
/external/v8/test/unittests/wasm/
Dast-decoder-unittest.cc32 static const WasmOpcode kInt32BinopOpcodes[] = {
121 void TestBinop(WasmOpcode opcode, FunctionSig* success) { in TestBinop()
147 void TestUnop(WasmOpcode opcode, FunctionSig* success) { in TestUnop()
151 void TestUnop(WasmOpcode opcode, LocalType ret_type, LocalType param_type) { in TestUnop()