Lines Matching refs:location_map

86 void AddMemberLocationRanges(RangeMap &location_map, uint64_t offset,  in AddMemberLocationRanges()  argument
100 uint32_t base_idx = location_map.FindEntryIndexThatContainsOrFollows(base); in AddMemberLocationRanges()
101 while (auto *entry = location_map.GetMutableEntryAtIndex(base_idx)) { in AddMemberLocationRanges()
138 location_map.Append(entry); in AddMemberLocationRanges()
140 location_map.Sort(); in AddMemberLocationRanges()
143 void AddDwarfRange(RangeMap &location_map, const DWARFExpression &expr, in AddDwarfRange() argument
151 uint32_t base_idx = location_map.FindEntryIndexThatContains(base); in AddDwarfRange()
152 uint32_t end_idx = location_map.FindEntryIndexThatContains(end - 1); in AddDwarfRange()
155 auto *entry = location_map.GetMutableEntryAtIndex(base_idx); in AddDwarfRange()
168 base_idx = location_map.FindEntryIndexThatContainsOrFollows(base); in AddDwarfRange()
169 if (auto *entry = location_map.GetMutableEntryAtIndex(base_idx)) { in AddDwarfRange()
175 end_idx = location_map.FindEntryIndexThatContainsOrFollows(end - 1); in AddDwarfRange()
176 if (auto *entry = location_map.GetMutableEntryAtIndex(end_idx)) { in AddDwarfRange()
186 end_idx = location_map.GetSize(); in AddDwarfRange()
188 location_map.Erase(base_idx, end_idx); in AddDwarfRange()
193 location_map.Append(entry); in AddDwarfRange()
194 location_map.Sort(); in AddDwarfRange()
779 RangeMap location_map; in GetVariableLocationInfo() local
823 AddDwarfRange(location_map, expr, raw_ranges); in GetVariableLocationInfo()
839 AddDwarfRange(location_map, expr, raw_ranges); in GetVariableLocationInfo()
868 AddDwarfRange(location_map, expr, raw_ranges); in GetVariableLocationInfo()
887 AddMemberLocationRanges(location_map, loc.Hdr.OffsetInParent, in GetVariableLocationInfo()
905 for (const auto &entry : location_map) { in GetVariableLocationInfo()