Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp321 SmallVector<const CountedRegion *, 8> ActiveRegions; member in __anon5b6853600211::SegmentBuilder
368 auto CompletedRegionsIt = ActiveRegions.begin() + FirstCompletedRegion; in completeRegionsUntil()
369 std::stable_sort(CompletedRegionsIt, ActiveRegions.end(), in completeRegionsUntil()
375 for (unsigned I = FirstCompletedRegion + 1, E = ActiveRegions.size(); I < E; in completeRegionsUntil()
377 const auto *CompletedRegion = ActiveRegions[I]; in completeRegionsUntil()
381 const auto *PrevCompletedRegion = ActiveRegions[I - 1]; in completeRegionsUntil()
395 if (CompletedRegion->endLoc() == ActiveRegions[J]->endLoc()) in completeRegionsUntil()
396 CompletedRegion = ActiveRegions[J]; in completeRegionsUntil()
401 auto Last = ActiveRegions.back(); in completeRegionsUntil()
405 startSegment(*ActiveRegions[FirstCompletedRegion - 1], Last->endLoc(), in completeRegionsUntil()
[all …]
/external/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp281 SmallVector<const CountedRegion *, 8> ActiveRegions; member in __anon61554c080211::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()