Home
last modified time | relevance | path

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

12

/third_party/node/deps/v8/src/wasm/
Dfunction-body-decoder.h123 public base::iterator<std::input_iterator_tag, WasmOpcode> { in NON_EXPORTED_BASE()
125 WasmOpcode operator*() { in NON_EXPORTED_BASE()
127 return static_cast<WasmOpcode>(*ptr_); in NON_EXPORTED_BASE()
170 WasmOpcode current() { in NON_EXPORTED_BASE()
171 return static_cast<WasmOpcode>( in NON_EXPORTED_BASE()
184 WasmOpcode prefixed_opcode() { in NON_EXPORTED_BASE()
Dwasm-opcodes-inl.h88 constexpr const char* WasmOpcodes::OpcodeName(WasmOpcode opcode) { in OpcodeName()
493 constexpr bool WasmOpcodes::IsPrefixOpcode(WasmOpcode opcode) { in IsPrefixOpcode()
505 constexpr bool WasmOpcodes::IsControlOpcode(WasmOpcode opcode) { in IsControlOpcode()
517 constexpr bool WasmOpcodes::IsUnconditionalJump(WasmOpcode opcode) { in IsUnconditionalJump()
534 constexpr bool WasmOpcodes::IsBreakable(WasmOpcode opcode) { in IsBreakable()
548 constexpr bool WasmOpcodes::IsExternRefOpcode(WasmOpcode opcode) { in IsExternRefOpcode()
561 constexpr bool WasmOpcodes::IsThrowingOpcode(WasmOpcode opcode) { in IsThrowingOpcode()
575 constexpr bool WasmOpcodes::IsRelaxedSimdOpcode(WasmOpcode opcode) { in IsRelaxedSimdOpcode()
656 constexpr const FunctionSig* WasmOpcodes::Signature(WasmOpcode opcode) { in Signature()
671 constexpr const FunctionSig* WasmOpcodes::AsmjsSignature(WasmOpcode opcode) { in AsmjsSignature()
Dwasm-module-builder.h176 void Emit(WasmOpcode opcode);
177 void EmitWithPrefix(WasmOpcode opcode);
186 void EmitWithU8(WasmOpcode opcode, const byte immediate);
187 void EmitWithU8U8(WasmOpcode opcode, const byte imm1, const byte imm2);
188 void EmitWithI32V(WasmOpcode opcode, int32_t immediate);
189 void EmitWithU32V(WasmOpcode opcode, uint32_t immediate);
Dwasm-opcodes.h809 enum WasmOpcode { enum
829 static constexpr const char* OpcodeName(WasmOpcode);
830 static constexpr const FunctionSig* Signature(WasmOpcode);
831 static constexpr const FunctionSig* AsmjsSignature(WasmOpcode);
832 static constexpr bool IsPrefixOpcode(WasmOpcode);
833 static constexpr bool IsControlOpcode(WasmOpcode);
834 static constexpr bool IsExternRefOpcode(WasmOpcode);
835 static constexpr bool IsThrowingOpcode(WasmOpcode);
836 static constexpr bool IsRelaxedSimdOpcode(WasmOpcode);
839 static constexpr bool IsUnconditionalJump(WasmOpcode);
[all …]
Dfunction-body-decoder.cc107 const char* RawOpcodeName(WasmOpcode opcode) { in RawOpcodeName()
119 const char* PrefixName(WasmOpcode prefix_opcode) { in PrefixName()
196 WasmOpcode opcode = i.current(); in PrintRawWasmCode()
197 WasmOpcode prefix = kExprUnreachable; in PrintRawWasmCode()
Dfunction-body-decoder-impl.h904 F(NextInstruction, WasmOpcode) \
913 F(BinOp, WasmOpcode opcode, const Value& lhs, const Value& rhs, \
939 F(UnOp, WasmOpcode opcode, const Value& value, Value* result) \
991 F(SimdOp, WasmOpcode opcode, base::Vector<Value> args, Value* result) \
992 F(SimdLaneOp, WasmOpcode opcode, const SimdLaneImmediate<validate>& imm, \
1004 F(AtomicOp, WasmOpcode opcode, base::Vector<Value> args, \
1195 WasmOpcode opcode = static_cast<WasmOpcode>(*pc);
1376 bool Validate(const byte* pc, WasmOpcode opcode,
1573 WasmOpcode opcode = static_cast<WasmOpcode>(*pc);
1934 WasmOpcode opcode = static_cast<WasmOpcode>(*pc);
[all …]
Dwasm-module-builder.cc95 void WasmFunctionBuilder::Emit(WasmOpcode opcode) { body_.write_u8(opcode); } in Emit()
97 void WasmFunctionBuilder::EmitWithPrefix(WasmOpcode opcode) { in EmitWithPrefix()
100 if ((opcode >> 8) == WasmOpcode::kSimdPrefix) { in EmitWithPrefix()
108 void WasmFunctionBuilder::EmitWithU8(WasmOpcode opcode, const byte immediate) { in EmitWithU8()
113 void WasmFunctionBuilder::EmitWithU8U8(WasmOpcode opcode, const byte imm1, in EmitWithU8U8()
120 void WasmFunctionBuilder::EmitWithI32V(WasmOpcode opcode, int32_t immediate) { in EmitWithI32V()
125 void WasmFunctionBuilder::EmitWithU32V(WasmOpcode opcode, uint32_t immediate) { in EmitWithU32V()
540 WasmOpcode opcode; in WriteInitializerExpressionWithEnd()
Ddecoder.h141 WasmOpcode read_prefixed_opcode(const byte* pc) { in read_prefixed_opcode()
150 WasmOpcode read_prefixed_opcode(const byte* pc, uint32_t* length,
166 return static_cast<WasmOpcode>((*pc) << 8 | index);
Dinit-expr-interface.cc47 void InitExprInterface::BinOp(FullDecoder* decoder, WasmOpcode opcode, in BinOp()
Dgraph-builder-interface.cc190 void NextInstruction(FullDecoder*, WasmOpcode) {} in NextInstruction() argument
355 void UnOp(FullDecoder* decoder, WasmOpcode opcode, const Value& value, in UnOp()
360 void BinOp(FullDecoder* decoder, WasmOpcode opcode, const Value& lhs, in BinOp()
823 void SimdOp(FullDecoder* decoder, WasmOpcode opcode, base::Vector<Value> args, in SimdOp()
831 void SimdLaneOp(FullDecoder* decoder, WasmOpcode opcode, in SimdLaneOp()
961 void AtomicOp(FullDecoder* decoder, WasmOpcode opcode, in AtomicOp()
Dmodule-decoder.cc1880 switch (static_cast<WasmOpcode>(*pc())) { in consume_init_expr()
/third_party/node/deps/v8/src/compiler/
Dwasm-compiler.h285 Node* Binop(wasm::WasmOpcode opcode, Node* left, Node* right,
287 Node* Unop(wasm::WasmOpcode opcode, Node* input,
454 Node* SimdOp(wasm::WasmOpcode opcode, Node* const* inputs);
456 Node* SimdLaneOp(wasm::WasmOpcode opcode, uint8_t lane, Node* const* inputs);
460 Node* AtomicOp(wasm::WasmOpcode opcode, Node* const* inputs,
642 wasm::WasmOpcode);
678 wasm::WasmOpcode opcode);
Dwasm-compiler.cc841 Node* WasmGraphBuilder::Binop(wasm::WasmOpcode opcode, Node* left, Node* right, in Binop()
1126 Node* WasmGraphBuilder::Unop(wasm::WasmOpcode opcode, Node* input, in Unop()
1917 MachineType IntConvertType(wasm::WasmOpcode opcode) { in IntConvertType()
1944 MachineType FloatConvertType(wasm::WasmOpcode opcode) { in FloatConvertType()
1969 const Operator* ConvertOp(WasmGraphBuilder* builder, wasm::WasmOpcode opcode) { in ConvertOp()
2006 wasm::WasmOpcode ConvertBackOp(wasm::WasmOpcode opcode) { in ConvertBackOp()
2025 bool IsTrappingConvertOp(wasm::WasmOpcode opcode) { in IsTrappingConvertOp()
2095 wasm::WasmOpcode TruncOp(const MachineType& ty) { in TruncOp()
2106 wasm::WasmOpcode NeOp(const MachineType& ty) { in NeOp()
2117 wasm::WasmOpcode LtOp(const MachineType& ty) { in LtOp()
[all …]
/third_party/node/deps/v8/src/wasm/baseline/
Dliftoff-compiler.cc138 constexpr LiftoffCondition GetCompareCondition(WasmOpcode opcode) { in GetCompareCondition()
1050 V8_NOINLINE void EmitDebuggingInfo(FullDecoder* decoder, WasmOpcode opcode) { in EmitDebuggingInfo()
1134 void NextInstruction(FullDecoder* decoder, WasmOpcode opcode) { in NextInstruction()
1593 void EmitTypeConversion(FullDecoder* decoder, WasmOpcode opcode, in EmitTypeConversion()
1625 void UnOp(FullDecoder* decoder, WasmOpcode opcode, const Value& value, in UnOp()
1853 template <WasmOpcode opcode>
1866 void BinOp(FullDecoder* decoder, WasmOpcode opcode, const Value& lhs, in BinOp()
3512 void SimdOp(FullDecoder* decoder, WasmOpcode opcode, base::Vector<Value> args, in SimdOp()
4061 void SimdLaneOp(FullDecoder* decoder, WasmOpcode opcode, in SimdLaneOp()
4785 void AtomicOp(FullDecoder* decoder, WasmOpcode opcode, in AtomicOp()
[all …]
Dliftoff-assembler.h1000 inline bool emit_type_conversion(WasmOpcode opcode, LiftoffRegister dst,
/third_party/skia/third_party/externals/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()
/third_party/node/deps/v8/src/wasm/baseline/loong64/
Dliftoff-assembler-loong64.h1320 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in FP_BINOP()
/third_party/node/deps/v8/src/wasm/baseline/mips/
Dliftoff-assembler-mips.h1380 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in emit_type_conversion()
/third_party/node/deps/v8/src/wasm/baseline/ppc/
Dliftoff-assembler-ppc.h1401 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in emit_type_conversion()
/third_party/node/deps/v8/src/wasm/baseline/arm64/
Dliftoff-assembler-arm64.h1369 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in emit_type_conversion()
/third_party/node/deps/v8/src/wasm/baseline/s390/
Dliftoff-assembler-s390.h1885 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in emit_type_conversion()
/third_party/node/deps/v8/src/wasm/baseline/mips64/
Dliftoff-assembler-mips64.h1464 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in FP_BINOP()
/third_party/node/deps/v8/src/wasm/baseline/riscv64/
Dliftoff-assembler-riscv64.h1435 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in FP_BINOP()
/third_party/node/deps/v8/src/wasm/baseline/x64/
Dliftoff-assembler-x64.h1991 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in emit_type_conversion()
/third_party/node/deps/v8/src/wasm/baseline/arm/
Dliftoff-assembler-arm.h2009 bool LiftoffAssembler::emit_type_conversion(WasmOpcode opcode, in emit_type_conversion()

12