Home
last modified time | relevance | path

Searched refs:ActiveRegions (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegion.cpp40 if (ActiveRegions.empty()) { in beginRegion()
45 ActiveRegions[Description] = 0; in beginRegion()
50 auto It = ActiveRegions.find(Description); in beginRegion()
51 if (It != ActiveRegions.end()) { in beginRegion()
71 ActiveRegions[Description] = Regions.size(); in beginRegion()
81 if (ActiveRegions.size() == 1) { in endRegion()
82 auto It = ActiveRegions.begin(); in endRegion()
84 ActiveRegions.erase(It); in endRegion()
89 if (ActiveRegions.empty() && Regions.size() == 1 && in endRegion()
96 auto It = ActiveRegions.find(Description); in endRegion()
[all …]
H A DCodeRegion.h155 llvm::StringMap<unsigned> ActiveRegions; variable
186 return ActiveRegions.contains(Description); in isRegionActive()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp1104 SmallVector<const CountedRegion *, 8> ActiveRegions; member in __anondf0c3b9d0b11::SegmentBuilder
1151 auto CompletedRegionsIt = ActiveRegions.begin() + FirstCompletedRegion; in completeRegionsUntil()
1152 std::stable_sort(CompletedRegionsIt, ActiveRegions.end(), in completeRegionsUntil()
1158 for (unsigned I = FirstCompletedRegion + 1, E = ActiveRegions.size(); I < E; in completeRegionsUntil()
1160 const auto *CompletedRegion = ActiveRegions[I]; in completeRegionsUntil()
1164 const auto *PrevCompletedRegion = ActiveRegions[I - 1]; in completeRegionsUntil()
1178 if (CompletedRegion->endLoc() == ActiveRegions[J]->endLoc()) in completeRegionsUntil()
1179 CompletedRegion = ActiveRegions[J]; in completeRegionsUntil()
1184 auto Last = ActiveRegions.back(); in completeRegionsUntil()
1188 startSegment(*ActiveRegions[FirstCompletedRegion - 1], Last->endLoc(), in completeRegionsUntil()
[all …]