Searched refs:bc_ins (Results 1 – 5 of 5) sorted by relevance
/arkcompiler/runtime_core/disassembler/templates/ |
D | get_ins_info.cpp.erb | 32 auto bc_ins = BytecodeInstruction(ins_arr); 33 auto bc_ins_last = bc_ins.JumpTo(ins_sz); 35 while (bc_ins.GetAddress() != bc_ins_last.GetAddress()) { 39 << code_id.GetOffset() + bc_ins.GetAddress() - BytecodeInstruction(ins_arr).GetAddress(); 42 BytecodeInstruction::Format format = bc_ins.GetFormat(); 56 const uint8_t* pc = bc_ins.GetAddress(); 57 const size_t sz = bc_ins.GetSize(); 71 bc_ins = bc_ins.GetNext();
|
D | bc_ins_to_pandasm_ins.cpp.erb | 20 pandasm::Ins Disassembler::BytecodeInstructionToPandasmInstruction(BytecodeInstruction bc_ins, 24 ins.opcode = BytecodeOpcodeToPandasmOpcode(bc_ins.GetOpcode()); 26 const BytecodeInstruction::Format format = bc_ins.GetFormat(); 38 …ins.imms.push_back(static_cast<int64_t>(bc_ins.GetImm<BytecodeInstruction::Format::<%=i.format.pre… 40 …ins.imms.push_back(bc_ins.GetImm<BytecodeInstruction::Format::<%=i.format.pretty.upcase%>, <%=imm_… 45 ins.regs.push_back(bc_ins.GetVReg(<%=reg_count%>)); 48 ins.ids.push_back(IDToString(bc_ins, method_id, <%=id_count%>)); 63 if (bc_ins.HasId(format, 0)) { 64 auto idx = bc_ins.GetId().AsIndex();
|
/arkcompiler/runtime_core/disassembler/ |
D | disassembler.cpp | 480 const auto bc_ins = BytecodeInstruction(code_accessor.GetInstructions()); in GetExceptions() local 481 const auto bc_ins_last = bc_ins.JumpTo(code_accessor.GetCodeSize()); in GetExceptions() 487 … if (!LocateTryBlock(bc_ins, bc_ins_last, try_block, &catch_block_pa, &label_table, try_idx)) { in GetExceptions() 500 … if (!LocateCatchBlock(bc_ins, bc_ins_last, catch_block, &catch_block_pa, &label_table, try_idx, in GetExceptions() 535 bool Disassembler::LocateTryBlock(const BytecodeInstruction &bc_ins, const BytecodeInstruction &bc_… in LocateTryBlock() argument 540 const auto try_begin_bc_ins = bc_ins.JumpTo(try_block.GetStartPc()); in LocateTryBlock() 541 const auto try_end_bc_ins = bc_ins.JumpTo(try_block.GetStartPc() + try_block.GetLength()); in LocateTryBlock() 543 const size_t try_begin_idx = getBytecodeInstructionNumber(bc_ins, try_begin_bc_ins); in LocateTryBlock() 544 const size_t try_end_idx = getBytecodeInstructionNumber(bc_ins, try_end_bc_ins); in LocateTryBlock() 588 bool Disassembler::LocateCatchBlock(const BytecodeInstruction &bc_ins, const BytecodeInstruction &b… in LocateCatchBlock() argument [all …]
|
D | disassembler.h | 91 bool LocateTryBlock(const BytecodeInstruction &bc_ins, const BytecodeInstruction &bc_ins_last, 94 bool LocateCatchBlock(const BytecodeInstruction &bc_ins, const BytecodeInstruction &bc_ins_last, 152 pandasm::Ins BytecodeInstructionToPandasmInstruction(BytecodeInstruction bc_ins, 155 …std::string IDToString(BytecodeInstruction bc_ins, panda_file::File::EntityId method_id, size_t id…
|
/arkcompiler/runtime_core/assembler/tests/ |
D | emitter_test.cpp | 791 auto bc_ins = BytecodeInstruction(ins_arr); in TEST() local 792 const auto bc_ins_last = bc_ins.JumpTo(ins_sz); in TEST() 794 while (bc_ins.GetAddress() != bc_ins_last.GetAddress()) { in TEST() 795 const auto arg_method_idx = bc_ins.GetId().AsIndex(); in TEST() 804 bc_ins = bc_ins.GetNext(); in TEST()
|