Home
last modified time | relevance | path

Searched refs:label_map (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/runtime_core/abc2program/
H A Dprogram_dump.h69 void UpdateLabels4DumpIns(std::vector<pandasm::Ins*> &dump_ins, const LabelMap &label_map) const;
71 const LabelMap &label_map) const;
72 std::string GetMappedLabel(const std::string &label, const LabelMap &label_map) const;
H A Ddump_utils.cpp90 std::string PandasmDumperUtils::GetMappedLabel(const std::string &label, const LabelMap &label_map) in GetMappedLabel() argument
92 auto it = label_map.find(label); in GetMappedLabel()
93 if (it != label_map.end()) { in GetMappedLabel()
H A Dprogram_dump.cpp448 void PandasmProgramDumper::UpdateLabels4DumpIns(std::vector<pandasm::Ins*> &dump_ins, const LabelMap &label_map) const in UpdateLabels4DumpIns()
452 UpdateLabels4DumpInsAtIndex(i, dump_ins, label_map); in UpdateLabels4DumpIns()
457 const LabelMap &label_map) const in UpdateLabels4DumpInsAtIndex()
460 std::string mapped_label = PandasmDumperUtils::GetMappedLabel(curr_ins->label, label_map); in UpdateLabels4DumpInsAtIndex()
465 mapped_label = PandasmDumperUtils::GetMappedLabel(curr_ins->ids[0], label_map); in UpdateLabels4DumpInsAtIndex()
H A Ddump_utils.h82 static std::string GetMappedLabel(const std::string &label, const LabelMap &label_map);
/arkcompiler/runtime_core/abc2program/tests/cpp_sources/
H A Dhello_world_test.cpp916 LabelMap label_map = {{"first_label", "first_mapped_label"}, {"second_label", "second_mapped_label"}}; in HWTEST_F() local
920 std::string result_found = test.GetMappedLabel(label1, label_map); in HWTEST_F()
921 std::string result_null = test.GetMappedLabel(label2, label_map); in HWTEST_F()

Completed in 5 milliseconds