Lines Matching defs:ActiveRegions
1104 SmallVector<const CountedRegion *, 8> ActiveRegions;
1151 auto CompletedRegionsIt = ActiveRegions.begin() + FirstCompletedRegion;
1152 std::stable_sort(CompletedRegionsIt, ActiveRegions.end(),
1158 for (unsigned I = FirstCompletedRegion + 1, E = ActiveRegions.size(); I < E;
1160 const auto *CompletedRegion = ActiveRegions[I];
1164 const auto *PrevCompletedRegion = ActiveRegions[I - 1];
1178 if (CompletedRegion->endLoc() == ActiveRegions[J]->endLoc())
1179 CompletedRegion = ActiveRegions[J];
1184 auto Last = ActiveRegions.back();
1188 startSegment(*ActiveRegions[FirstCompletedRegion - 1], Last->endLoc(),
1197 ActiveRegions.erase(CompletedRegionsIt, ActiveRegions.end());
1206 std::stable_partition(ActiveRegions.begin(), ActiveRegions.end(),
1210 if (CompletedRegions != ActiveRegions.end()) {
1212 std::distance(ActiveRegions.begin(), CompletedRegions);
1225 startSegment(ActiveRegions.empty() ? CR.value() : *ActiveRegions.back(),
1229 if (Skipped && !ActiveRegions.empty())
1230 startSegment(*ActiveRegions.back(), CurStartLoc, false);
1241 ActiveRegions.push_back(&CR.value());
1245 if (!ActiveRegions.empty())