Lines Matching defs:ActiveRegions
1132 SmallVector<const CountedRegion *, 8> ActiveRegions;
1179 auto CompletedRegionsIt = ActiveRegions.begin() + FirstCompletedRegion;
1180 std::stable_sort(CompletedRegionsIt, ActiveRegions.end(),
1186 for (unsigned I = FirstCompletedRegion + 1, E = ActiveRegions.size(); I < E;
1188 const auto *CompletedRegion = ActiveRegions[I];
1192 const auto *PrevCompletedRegion = ActiveRegions[I - 1];
1206 if (CompletedRegion->endLoc() == ActiveRegions[J]->endLoc())
1207 CompletedRegion = ActiveRegions[J];
1212 auto Last = ActiveRegions.back();
1216 startSegment(*ActiveRegions[FirstCompletedRegion - 1], Last->endLoc(),
1225 ActiveRegions.erase(CompletedRegionsIt, ActiveRegions.end());
1234 std::stable_partition(ActiveRegions.begin(), ActiveRegions.end(),
1238 if (CompletedRegions != ActiveRegions.end()) {
1240 std::distance(ActiveRegions.begin(), CompletedRegions);
1253 startSegment(ActiveRegions.empty() ? CR.value() : *ActiveRegions.back(),
1257 if (Skipped && !ActiveRegions.empty())
1258 startSegment(*ActiveRegions.back(), CurStartLoc, false);
1269 ActiveRegions.push_back(&CR.value());
1273 if (!ActiveRegions.empty())