Searched refs:label_map (Results 1 - 5 of 5) sorted by relevance
/arkcompiler/runtime_core/abc2program/ |
H A D | program_dump.h | 69 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 D | dump_utils.cpp | 90 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 D | program_dump.cpp | 448 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 D | dump_utils.h | 82 static std::string GetMappedLabel(const std::string &label, const LabelMap &label_map);
|
/arkcompiler/runtime_core/abc2program/tests/cpp_sources/ |
H A D | hello_world_test.cpp | 916 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