Searched refs:ActiveRegions (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/llvm/tools/llvm-mca/ |
D | CodeRegion.cpp | 33 if (ActiveRegions.empty()) { in beginRegion() 38 ActiveRegions[Description] = 0; in beginRegion() 43 auto It = ActiveRegions.find(Description); in beginRegion() 44 if (It != ActiveRegions.end()) { in beginRegion() 64 ActiveRegions[Description] = Regions.size(); in beginRegion() 75 if (ActiveRegions.size() == 1) { in endRegion() 76 auto It = ActiveRegions.begin(); in endRegion() 78 ActiveRegions.erase(It); in endRegion() 83 if (ActiveRegions.empty() && Regions.size() == 1 && in endRegion() 90 auto It = ActiveRegions.find(Description); in endRegion() [all …]
|
D | CodeRegion.h | 92 llvm::StringMap<unsigned> ActiveRegions; variable
|
/external/llvm-project/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 370 SmallVector<const CountedRegion *, 8> ActiveRegions; member in __anona6e1de8d0311::SegmentBuilder 417 auto CompletedRegionsIt = ActiveRegions.begin() + FirstCompletedRegion; in completeRegionsUntil() 418 std::stable_sort(CompletedRegionsIt, ActiveRegions.end(), in completeRegionsUntil() 424 for (unsigned I = FirstCompletedRegion + 1, E = ActiveRegions.size(); I < E; in completeRegionsUntil() 426 const auto *CompletedRegion = ActiveRegions[I]; in completeRegionsUntil() 430 const auto *PrevCompletedRegion = ActiveRegions[I - 1]; in completeRegionsUntil() 444 if (CompletedRegion->endLoc() == ActiveRegions[J]->endLoc()) in completeRegionsUntil() 445 CompletedRegion = ActiveRegions[J]; in completeRegionsUntil() 450 auto Last = ActiveRegions.back(); in completeRegionsUntil() 454 startSegment(*ActiveRegions[FirstCompletedRegion - 1], Last->endLoc(), in completeRegionsUntil() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 369 SmallVector<const CountedRegion *, 8> ActiveRegions; member in __anon158f91a10311::SegmentBuilder 416 auto CompletedRegionsIt = ActiveRegions.begin() + FirstCompletedRegion; in completeRegionsUntil() 417 std::stable_sort(CompletedRegionsIt, ActiveRegions.end(), in completeRegionsUntil() 423 for (unsigned I = FirstCompletedRegion + 1, E = ActiveRegions.size(); I < E; in completeRegionsUntil() 425 const auto *CompletedRegion = ActiveRegions[I]; in completeRegionsUntil() 429 const auto *PrevCompletedRegion = ActiveRegions[I - 1]; in completeRegionsUntil() 443 if (CompletedRegion->endLoc() == ActiveRegions[J]->endLoc()) in completeRegionsUntil() 444 CompletedRegion = ActiveRegions[J]; in completeRegionsUntil() 449 auto Last = ActiveRegions.back(); in completeRegionsUntil() 453 startSegment(*ActiveRegions[FirstCompletedRegion - 1], Last->endLoc(), in completeRegionsUntil() [all …]
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 281 SmallVector<const CountedRegion *, 8> ActiveRegions; member in __anonce8fef7f0211::SegmentBuilder 316 const CountedRegion *Active = ActiveRegions.back(); in popRegion() 318 ActiveRegions.pop_back(); in popRegion() 319 if (ActiveRegions.empty()) in popRegion() 322 startSegment(Line, Col, false, *ActiveRegions.back()); in popRegion() 328 while (!ActiveRegions.empty() && in buildSegmentsImpl() 329 ActiveRegions.back()->endLoc() <= Region.startLoc()) in buildSegmentsImpl() 332 ActiveRegions.push_back(&Region); in buildSegmentsImpl() 336 while (!ActiveRegions.empty()) in buildSegmentsImpl()
|