Home
last modified time | relevance | path

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

/external/v8/src/wasm/
Dfunction-body-decoder.h127 public base::iterator<std::input_iterator_tag, WasmOpcode> { in NON_EXPORTED_BASE()
129 inline WasmOpcode operator*() { in NON_EXPORTED_BASE()
131 return static_cast<WasmOpcode>(*ptr_); in NON_EXPORTED_BASE()
174 WasmOpcode current() { in NON_EXPORTED_BASE()
175 return static_cast<WasmOpcode>( in NON_EXPORTED_BASE()
188 WasmOpcode prefixed_opcode() { in NON_EXPORTED_BASE()
191 return static_cast<WasmOpcode>(prefix << 8 | index); in NON_EXPORTED_BASE()
Dfunction-body-decoder-impl.h608 F(NextInstruction, WasmOpcode) \
618 F(UnOp, WasmOpcode opcode, FunctionSig*, const Value& value, Value* result) \
619 F(BinOp, WasmOpcode opcode, FunctionSig*, const Value& lhs, \
652 F(SimdOp, WasmOpcode opcode, Vector<Value> args, Value* result) \
653 F(SimdLaneOp, WasmOpcode opcode, const SimdLaneImmediate<validate>& imm, \
655 F(SimdShiftOp, WasmOpcode opcode, const SimdShiftImmediate<validate>& imm, \
663 F(AtomicOp, WasmOpcode opcode, Vector<Value> args, \
767 WasmOpcode opcode = static_cast<WasmOpcode>(*pc); in AnalyzeLoopAssignment()
896 inline bool Validate(const byte* pc, WasmOpcode opcode, in Validate()
926 inline bool Validate(const byte* pc, WasmOpcode opcode, in Validate()
[all …]
Dwasm-module-builder.h162 void Emit(WasmOpcode opcode);
170 void EmitWithU8(WasmOpcode opcode, const byte immediate);
171 void EmitWithU8U8(WasmOpcode opcode, const byte imm1, const byte imm2);
172 void EmitWithI32V(WasmOpcode opcode, int32_t immediate);
173 void EmitWithU32V(WasmOpcode opcode, uint32_t immediate);
Dwasm-opcodes.cc71 const char* WasmOpcodes::OpcodeName(WasmOpcode opcode) { in OpcodeName()
305 bool WasmOpcodes::IsPrefixOpcode(WasmOpcode opcode) { in IsPrefixOpcode()
316 bool WasmOpcodes::IsControlOpcode(WasmOpcode opcode) { in IsControlOpcode()
327 bool WasmOpcodes::IsUnconditionalJump(WasmOpcode opcode) { in IsUnconditionalJump()
339 bool WasmOpcodes::IsSignExtensionOpcode(WasmOpcode opcode) { in IsSignExtensionOpcode()
352 bool WasmOpcodes::IsAnyRefOpcode(WasmOpcode opcode) { in IsAnyRefOpcode()
476 FunctionSig* WasmOpcodes::Signature(WasmOpcode opcode) { in Signature()
495 FunctionSig* WasmOpcodes::AsmjsSignature(WasmOpcode opcode) { in AsmjsSignature()
Dwasm-opcodes.h554 enum WasmOpcode { enum
576 static const char* OpcodeName(WasmOpcode opcode);
577 static FunctionSig* Signature(WasmOpcode opcode);
578 static FunctionSig* AsmjsSignature(WasmOpcode opcode);
579 static bool IsPrefixOpcode(WasmOpcode opcode);
580 static bool IsControlOpcode(WasmOpcode opcode);
581 static bool IsSignExtensionOpcode(WasmOpcode opcode);
582 static bool IsAnyRefOpcode(WasmOpcode opcode);
585 static bool IsUnconditionalJump(WasmOpcode opcode);
Dwasm-module-builder.cc89 void WasmFunctionBuilder::Emit(WasmOpcode opcode) { body_.write_u8(opcode); } in Emit()
91 void WasmFunctionBuilder::EmitWithU8(WasmOpcode opcode, const byte immediate) { in EmitWithU8()
96 void WasmFunctionBuilder::EmitWithU8U8(WasmOpcode opcode, const byte imm1, in EmitWithU8U8()
103 void WasmFunctionBuilder::EmitWithI32V(WasmOpcode opcode, int32_t immediate) { in EmitWithI32V()
108 void WasmFunctionBuilder::EmitWithU32V(WasmOpcode opcode, uint32_t immediate) { in EmitWithU32V()
Dfunction-body-decoder.cc143 void NextInstruction(FullDecoder*, WasmOpcode) {} in NextInstruction() argument
205 void UnOp(FullDecoder* decoder, WasmOpcode opcode, FunctionSig* sig, in UnOp()
210 void BinOp(FullDecoder* decoder, WasmOpcode opcode, FunctionSig* sig, in BinOp()
378 void SimdOp(FullDecoder* decoder, WasmOpcode opcode, Vector<Value> args, in SimdOp()
385 void SimdLaneOp(FullDecoder* decoder, WasmOpcode opcode, in SimdLaneOp()
392 void SimdShiftOp(FullDecoder* decoder, WasmOpcode opcode, in SimdShiftOp()
485 void AtomicOp(FullDecoder* decoder, WasmOpcode opcode, Vector<Value> args, in AtomicOp()
885 const char* RawOpcodeName(WasmOpcode opcode) { in RawOpcodeName()
961 WasmOpcode opcode = i.current(); in PrintRawWasmCode()
Dwasm-text.cc83 WasmOpcode opcode = i.current(); in PrintWasmText()
197 WasmOpcode atomic_opcode = i.prefixed_opcode(); in PrintWasmText()
Dwasm-interpreter.cc641 return WasmOpcodes::OpcodeName(static_cast<WasmOpcode>(val)); in OpcodeName()
773 WasmOpcode opcode = i.current(); in SideTable()
1483 bool ExecuteNumericOp(WasmOpcode opcode, Decoder* decoder, in ExecuteNumericOp()
1518 bool ExecuteAtomicOp(WasmOpcode opcode, Decoder* decoder, in ExecuteAtomicOp()
1682 bool ExecuteSimdOp(WasmOpcode opcode, Decoder* decoder, InterpreterCode* code, in ExecuteSimdOp()
2104 WasmOpcode opcode = static_cast<WasmOpcode>(orig); in Execute()
2106 opcode = static_cast<WasmOpcode>(opcode << 8 | code->start[pc + 1]); in Execute()
2110 if (WasmOpcodes::IsPrefixOpcode(static_cast<WasmOpcode>(orig))) { in Execute()
2112 static_cast<WasmOpcode>(orig << 8 | code->orig_start[pc + 1]); in Execute()
/external/v8/src/wasm/baseline/
Dliftoff-compiler.cc443 void NextInstruction(FullDecoder* decoder, WasmOpcode opcode) { in NextInstruction()
585 void EmitTypeConversion(WasmOpcode opcode, ExternalReference (*fallback_fn)(), in EmitTypeConversion()
618 void UnOp(FullDecoder* decoder, WasmOpcode opcode, FunctionSig*, in UnOp()
621 case WasmOpcode::kExpr##opcode: \ in UnOp()
628 case WasmOpcode::kExpr##opcode: \ in UnOp()
635 case WasmOpcode::kExpr##opcode: \ in UnOp()
640 case WasmOpcode::kExpr##opcode: \ in UnOp()
699 case WasmOpcode::kExprI64Eqz: in UnOp()
751 void BinOp(FullDecoder* decoder, WasmOpcode opcode, FunctionSig*, in BinOp()
754 case WasmOpcode::kExpr##opcode: \ in BinOp()
[all …]
Dliftoff-assembler.h503 inline bool emit_type_conversion(WasmOpcode opcode, LiftoffRegister dst,
/external/v8/src/compiler/
Dwasm-compiler.h162 Node* Binop(wasm::WasmOpcode opcode, Node* left, Node* right,
164 Node* Unop(wasm::WasmOpcode opcode, Node* input,
292 Node* SimdOp(wasm::WasmOpcode opcode, Node* const* inputs);
294 Node* SimdLaneOp(wasm::WasmOpcode opcode, uint8_t lane, Node* const* inputs);
296 Node* SimdShiftOp(wasm::WasmOpcode opcode, uint8_t shift,
301 Node* AtomicOp(wasm::WasmOpcode opcode, Node* const* inputs,
382 wasm::WasmOpcode);
418 wasm::WasmOpcode opcode);
Dwasm-compiler.cc320 Node* WasmGraphBuilder::Binop(wasm::WasmOpcode opcode, Node* left, Node* right, in Binop()
589 Node* WasmGraphBuilder::Unop(wasm::WasmOpcode opcode, Node* input, in Unop()
1437 MachineType IntConvertType(wasm::WasmOpcode opcode) { in IntConvertType()
1464 MachineType FloatConvertType(wasm::WasmOpcode opcode) { in FloatConvertType()
1489 const Operator* ConvertOp(WasmGraphBuilder* builder, wasm::WasmOpcode opcode) { in ConvertOp()
1520 wasm::WasmOpcode ConvertBackOp(wasm::WasmOpcode opcode) { in ConvertBackOp()
1539 bool IsTrappingConvertOp(wasm::WasmOpcode opcode) { in IsTrappingConvertOp()
1609 wasm::WasmOpcode TruncOp(const MachineType& ty) { in TruncOp()
1620 wasm::WasmOpcode NeOp(const MachineType& ty) { in NeOp()
1631 wasm::WasmOpcode LtOp(const MachineType& ty) { in LtOp()
[all …]
/external/v8/src/wasm/baseline/arm/
Dliftoff-assembler-arm.h244 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in emit_type_conversion()
/external/v8/src/wasm/baseline/s390/
Dliftoff-assembler-s390.h257 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in emit_type_conversion()
/external/v8/src/wasm/baseline/ppc/
Dliftoff-assembler-ppc.h257 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in emit_type_conversion()
/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()
/external/v8/src/wasm/baseline/arm64/
Dliftoff-assembler-arm64.h614 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in emit_type_conversion()
/external/v8/src/wasm/baseline/mips64/
Dliftoff-assembler-mips64.h734 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in FP_BINOP()
/external/v8/src/wasm/baseline/mips/
Dliftoff-assembler-mips.h871 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in emit_type_conversion()
/external/v8/src/wasm/baseline/x64/
Dliftoff-assembler-x64.h1125 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in emit_type_conversion()
/external/v8/src/wasm/baseline/ia32/
Dliftoff-assembler-ia32.h1245 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in emit_type_conversion()