• Home
  • Raw
  • Download

Lines Matching refs:Regions

325   void buildSegmentsImpl(ArrayRef<CountedRegion> Regions) {  in buildSegmentsImpl()  argument
326 for (const auto &Region : Regions) { in buildSegmentsImpl()
341 static void sortNestedRegions(MutableArrayRef<CountedRegion> Regions) { in sortNestedRegions() argument
342 std::sort(Regions.begin(), Regions.end(), [](const CountedRegion &LHS, in sortNestedRegions()
365 combineRegions(MutableArrayRef<CountedRegion> Regions) { in combineRegions() argument
366 if (Regions.empty()) in combineRegions()
367 return Regions; in combineRegions()
368 auto Active = Regions.begin(); in combineRegions()
369 auto End = Regions.end(); in combineRegions()
370 for (auto I = Regions.begin() + 1; I != End; ++I) { in combineRegions()
394 return Regions.drop_back(std::distance(++Active, End)); in combineRegions()
400 buildSegments(MutableArrayRef<CountedRegion> Regions) { in buildSegments() argument
404 sortNestedRegions(Regions); in buildSegments()
405 ArrayRef<CountedRegion> CombinedRegions = combineRegions(Regions); in buildSegments()
461 std::vector<coverage::CountedRegion> Regions; in getCoverageForFile() local
468 Regions.push_back(CR); in getCoverageForFile()
475 FileCoverage.Segments = SegmentBuilder::buildSegments(Regions); in getCoverageForFile()
507 std::vector<coverage::CountedRegion> Regions; in getCoverageForFunction() local
510 Regions.push_back(CR); in getCoverageForFunction()
516 FunctionCoverage.Segments = SegmentBuilder::buildSegments(Regions); in getCoverageForFunction()
525 std::vector<coverage::CountedRegion> Regions; in getCoverageForExpansion() local
528 Regions.push_back(CR); in getCoverageForExpansion()
535 ExpansionCoverage.Segments = SegmentBuilder::buildSegments(Regions); in getCoverageForExpansion()