Home
last modified time | relevance | path

Searched refs:code_id (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/runtime_core/libpandafile/
Dcode_data_accessor-inl.h62 inline uint32_t CodeDataAccessor::GetNumVregs(const File &pf, File::EntityId code_id) in GetNumVregs() argument
65 auto sp = pf.GetSpanFromId(code_id); in GetNumVregs()
71 inline const uint8_t *CodeDataAccessor::GetInstructions(const File &pf, File::EntityId code_id, uin… in GetInstructions() argument
73 auto sp = pf.GetSpanFromId(code_id); in GetInstructions()
82 inline const uint8_t *CodeDataAccessor::GetInstructions(const File &pf, File::EntityId code_id) in GetInstructions() argument
84 auto sp = pf.GetSpanFromId(code_id); in GetInstructions()
Dcode_data_accessor.h111 CodeDataAccessor(const File &panda_file, File::EntityId code_id);
118 static uint32_t GetNumVregs(const File &pf, File::EntityId code_id);
120 static const uint8_t *GetInstructions(const File &pf, File::EntityId code_id, uint32_t *vregs);
122 static const uint8_t *GetInstructions(const File &pf, File::EntityId code_id);
Dcode_data_accessor.cpp37 CodeDataAccessor::CodeDataAccessor(const File &panda_file, File::EntityId code_id) in CodeDataAccessor() argument
38 : panda_file_(panda_file), code_id_(code_id), size_(0) in CodeDataAccessor()
Dfile_reader.cpp662 auto code_id = method_acc.GetCodeId(); in CreateMethodItem() local
663 if (code_id) { in CreateMethodItem()
664 CodeDataAccessor code_acc(*file_, code_id.value()); in CreateMethodItem()
/arkcompiler/runtime_core/disassembler/templates/
Dget_ins_info.cpp.erb23 void Disassembler::GetInsInfo(const panda_file::File::EntityId& code_id, MethodInfo* method_info /*…
27 panda_file::CodeDataAccessor code_accessor(*file_, code_id);
39 << code_id.GetOffset() + bc_ins.GetAddress() - BytecodeInstruction(ins_arr).GetAddress();
/arkcompiler/runtime_core/disassembler/
Ddisassembler.h88 panda_file::File::EntityId code_id) const;
90 panda_file::File::EntityId code_id) const;
116 void GetInsInfo(const panda_file::File::EntityId &code_id, MethodInfo *method_info) const;
Ddisassembler.cpp469 panda_file::File::EntityId code_id) const in GetExceptions()
471 …, DISASSEMBLER) << "[getting exceptions]\ncode id: " << code_id << " (0x" << std::hex << code_id <… in GetExceptions()
478 panda_file::CodeDataAccessor code_accessor(*file_, code_id); in GetExceptions()
1584 panda_file::File::EntityId code_id) in translateImmToLabel() argument
1601 … LOG(ERROR, DISASSEMBLER) << "> error encountered at " << code_id << " (0x" << std::hex << code_id in translateImmToLabel()
1607 … LOG(ERROR, DISASSEMBLER) << "> error encountered at " << code_id << " (0x" << std::hex << code_id in translateImmToLabel()
1614 panda_file::File::EntityId code_id) const in GetInstructions()
1616 panda_file::CodeDataAccessor code_accessor(*file_, code_id); in GetInstructions()
1626 LabelTable label_table = GetExceptions(method, method_id, code_id); in GetInstructions()
1632 … LOG(ERROR, DISASSEMBLER) << "> error encountered at " << code_id << " (0x" << std::hex << code_id in GetInstructions()
[all …]
/arkcompiler/runtime_core/libpandafile/tests/
Dfile_item_container_test.cpp445 auto code_id = data_accessor.GetCodeId(); in __anon1a961e180b02() local
446 EXPECT_TRUE(code_id.has_value()); in __anon1a961e180b02()
447 EXPECT_EQ(code_id.value().GetOffset(), code_item->GetOffset()); in __anon1a961e180b02()
449 CodeDataAccessor code_data_accessor(*panda_file, code_id.value()); in __anon1a961e180b02()