Home
last modified time | relevance | path

Searched defs:opcode (Results 1 – 20 of 20) sorted by relevance

/ark/runtime_core/libpandafile/
Dbytecode_emitter.cpp63 inline bool IsJcondImm8(Opcode opcode) in IsJcondImm8()
80 inline bool IsJcondImm16(Opcode opcode) in IsJcondImm16()
97 static bool IsJcondV8Imm8(Opcode opcode) in IsJcondV8Imm8()
114 inline bool IsJcondV8Imm16(Opcode opcode) in IsJcondV8Imm16()
231 void BytecodeEmitter::Jcmpz(BytecodeInstruction::Opcode opcode, const Label &label) in Jcmpz()
255 auto opcode = static_cast<Opcode>(bytecode_[insn_pc]); in ReserveSpaceForOffsets() local
291 …codeEmitter::ErrorCode BytecodeEmitter::DoReserveSpaceForOffset(BytecodeInstruction::Opcode opcode, in DoReserveSpaceForOffset()
354 auto opcode = static_cast<Opcode>(bytecode_[insn_pc]); in UpdateBranches() local
394 static int32_t EstimateInsnSizeMaxIncrease(Opcode opcode) in EstimateInsnSizeMaxIncrease()
452 auto opcode = static_cast<Opcode>(bytecode_[it->first + bias]); in EstimateMaxDistance() local
Ddebug_info_extractor.cpp45 auto opcode = ReadOpcode(); in Process() local
137 auto opcode = static_cast<Opcode>(*program_); in ReadOpcode() local
221 void HandleSpecialOpcode(LineNumberProgramItem::Opcode opcode) in HandleSpecialOpcode()
Dfile_items.cpp1380 size_t opcode = (line_inc - LINE_BASE) + (pc_inc * LINE_RANGE) + OPCODE_BASE; in EmitSpecialOpcode() local
1432 void LineNumberProgramItem::EmitOpcode(Opcode opcode) in EmitOpcode()
/ark/js_runtime/ecmascript/compiler/
Dcircuit_builder.cpp56 GateRef CircuitBuilder::NewSelectorGate(OpCode opcode, MachineType machineType, GateRef control, in… in NewSelectorGate()
68 GateRef CircuitBuilder::NewSelectorGate(OpCode opcode, MachineType machineType, GateRef control, in NewSelectorGate()
340 GateRef CircuitBuilder::NewArithmeticGate(OpCode opcode, MachineType machineType, GateRef left, Gat… in NewArithmeticGate()
346 GateRef CircuitBuilder::NewNumberGate(OpCode opcode, GateRef value) in NewNumberGate()
351 GateRef CircuitBuilder::NewArithmeticGate(OpCode opcode, MachineType machineType, GateRef value) in NewArithmeticGate()
356 GateRef CircuitBuilder::NewArithmeticGate(OpCode opcode, GateRef value) in NewArithmeticGate()
361 GateRef CircuitBuilder::NewLogicGate(OpCode opcode, MachineType machineType, GateRef left, GateRef … in NewLogicGate()
367 GateRef CircuitBuilder::NewLogicGate(OpCode opcode, GateRef left, GateRef right) in NewLogicGate()
372 GateRef CircuitBuilder::NewLogicGate(OpCode opcode, MachineType machineType, GateRef value) in NewLogicGate()
458 OpCode opcode(OpCode::RUNTIME_CALL); in NewRuntimeCallGate() local
[all …]
Dcircuit.cpp61 GateRef Circuit::NewGate(OpCode opcode, MachineType bitValue, BitField bitfield, size_t numIns, con… in NewGate()
85 GateRef Circuit::NewGate(OpCode opcode, MachineType bitValue, BitField bitfield, const std::vector<… in NewGate()
92 GateRef Circuit::NewGate(OpCode opcode, BitField bitfield, size_t numIns, const GateRef inList[], G… in NewGate()
117 GateRef Circuit::NewGate(OpCode opcode, BitField bitfield, const std::vector<GateRef> &inList, Gate… in NewGate()
176 GateRef Circuit::GetCircuitRoot(OpCode opcode) in GetCircuitRoot()
348 void Circuit::SetOpCode(GateRef gate, OpCode opcode) in SetOpCode()
Dbytecode_circuit_builder.cpp50 auto opcode = static_cast<EcmaOpcode>(*pc); in CollectBytecodeBlockInfo() local
201 auto opcode = static_cast<EcmaOpcode>(*(bytecodeBlockInfos[i].pc)); in CollectTryCatchBlockInfo() local
599 auto opcode = static_cast<EcmaOpcode>(*pc); in GetBytecodeInfo() local
1721 bool BytecodeCircuitBuilder::IsJump(EcmaOpcode opcode) in IsJump()
1737 bool BytecodeCircuitBuilder::IsCondJump(EcmaOpcode opcode) in IsCondJump()
1750 bool BytecodeCircuitBuilder::IsMov(EcmaOpcode opcode) in IsMov()
1764 bool BytecodeCircuitBuilder::IsReturn(EcmaOpcode opcode) in IsReturn()
1775 bool BytecodeCircuitBuilder::IsThrow(EcmaOpcode opcode) in IsThrow()
1789 bool BytecodeCircuitBuilder::IsGeneral(EcmaOpcode opcode) in IsGeneral()
1794 bool BytecodeCircuitBuilder::IsSetConstant(EcmaOpcode opcode) in IsSetConstant()
Dgate.cpp648 size_t GetOpCodeNumIns(OpCode opcode, BitField bitfield) in GetOpCodeNumIns()
763 Gate::Gate(GateId id, OpCode opcode, MachineType bitValue, BitField bitfield, Gate *inList[], GateT… in Gate()
782 Gate::Gate(GateId id, OpCode opcode, BitField bitfield, Gate *inList[], GateType type, MarkCode mar… in Gate()
970 void Gate::SetOpCode(OpCode opcode) in SetOpCode()
Dgate_accessor.cpp54 void GateAccessor::SetOpCode(GateRef gate, OpCode::Op opcode) in SetOpCode()
Dinterpreter_stub-inl.h305 GateRef opcode = Load(StubMachineType::UINT8, newPc); in Dispatch() local
/ark/runtime_core/assembler/
Dassembly-ins.h35 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) opcode, argument
71 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) flags, argument
75 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) width, argument
79 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) def_idx, argument
83 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) use_idxs, argument
97 Opcode opcode = Opcode::INVALID; /* operation type */ member
/ark/js_runtime/ecmascript/jspandafile/
Ddebug_info_extractor.cpp52 auto opcode = ReadOpcode(); in Process() local
134 auto opcode = static_cast<Opcode>(*program_); in ReadOpcode() local
204 void HandleSpecialOpcode(LineNumberProgramItem::Opcode opcode) in HandleSpecialOpcode()
/ark/runtime_core/runtime/bridge/
Dbridge.cpp80 auto opcode = bc_inst.GetOpcode(); in InvokeInterpreter() local
/ark/runtime_core/libpandafile/tests/
Dbytecode_emitter_tests.cpp387 void JcmpBwd_V8_IMM8(Opcode opcode, std::function<void(BytecodeEmitter *, uint8_t, const Label &lab… in JcmpBwd_V8_IMM8()
408 void JcmpFwd_V8_IMM8(Opcode opcode, std::function<void(BytecodeEmitter *, uint8_t, const Label &lab… in JcmpFwd_V8_IMM8()
432 void JcmpBwd_V8_IMM16(Opcode opcode, std::function<void(BytecodeEmitter *, uint8_t, const Label &la… in JcmpBwd_V8_IMM16()
475 void JcmpFwd_V8_IMM16(Opcode opcode, std::function<void(BytecodeEmitter *, uint8_t, const Label &la… in JcmpFwd_V8_IMM16()
550 void Jcmpz_IMM8(Opcode opcode, std::function<void(BytecodeEmitter *, const Label &label)> emit_jcmp) in Jcmpz_IMM8()
564 void Jcmpz_IMM16(Opcode opcode, std::function<void(BytecodeEmitter *, const Label &label)> emit_jcm… in Jcmpz_IMM16()
736 void TestNoneFormat(Opcode opcode, std::function<void(BytecodeEmitter *)> emit) in TestNoneFormat()
/ark/js_runtime/ecmascript/class_linker/
Dpanda_file_translator.cpp263 auto opcode = static_cast<BytecodeInstruction::Opcode>(*pc); in FixOpcode() local
333 auto opcode = static_cast<EcmaOpcode>(*pc); in UpdateICOffset() local
476 … BytecodeInstruction::Opcode opcode = static_cast<BytecodeInstruction::Opcode>(bcIns.GetOpcode()); in TranslateBytecode() local
/ark/runtime_core/isa/
Disapi.rb83 def opcode method in Instruction
/ark/runtime_core/runtime/tooling/
Ddebugger.cpp554 auto opcode = inst.GetOpcode(); in HandlePropertyAccess() local
605 auto opcode = inst.GetOpcode(); in HandlePropertyModify() local
/ark/ts2abc/ts2panda/ts2abc/
Dts2abc.cpp54 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) {g_opCodeIndex++, panda::pand… argument
329 auto opcode = ins["o"].asInt(); in ParseInstructionOpCode() local
/ark/runtime_core/runtime/
Dmethod.cpp398 Opcode opcode; in GetLineNumFromBytecodeOffset() local
/ark/js_runtime/ecmascript/interpreter/
Dinterpreter-inl.h110 #define REAL_GOTO_DISPATCH_OPCODE(opcode) \ argument
699 uint8_t opcode = READ_INST_OP(); in RunInternal() local
3876 std::string GetEcmaOpcodeStr(EcmaOpcode opcode) in GetEcmaOpcodeStr()
/ark/js_runtime/ecmascript/
Druntime_trampolines.cpp1332 uint8_t opcode = currentPc[0]; in DEF_RUNTIME_TRAMPOLINES() local