Searched refs:ActiveRegions (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 369 SmallVector<const CountedRegion *, 8> ActiveRegions; member in __anon0db6e5a60311::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 __anon9606aa440211::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()
|