Lines Matching refs:Segments
369 std::vector<CoverageSegment> &Segments; member in __anon1e1f61940311::SegmentBuilder
372 SegmentBuilder(std::vector<CoverageSegment> &Segments) : Segments(Segments) {} in SegmentBuilder() argument
384 if (!Segments.empty() && !IsRegionEntry && !EmitSkippedRegion) { in startSegment()
385 const auto &Last = Segments.back(); in startSegment()
392 Segments.emplace_back(StartLoc.first, StartLoc.second, in startSegment()
396 Segments.emplace_back(StartLoc.first, StartLoc.second, IsRegionEntry); in startSegment()
399 const auto &Last = Segments.back(); in startSegment()
575 std::vector<CoverageSegment> Segments; in buildSegments() local
576 SegmentBuilder Builder(Segments); in buildSegments()
592 for (unsigned I = 1, E = Segments.size(); I < E; ++I) { in buildSegments()
593 const auto &L = Segments[I - 1]; in buildSegments()
594 const auto &R = Segments[I]; in buildSegments()
605 return Segments; in buildSegments()
678 FileCoverage.Segments = SegmentBuilder::buildSegments(Regions); in getCoverageForFile()
725 FunctionCoverage.Segments = SegmentBuilder::buildSegments(Regions); in getCoverageForFunction()
744 ExpansionCoverage.Segments = SegmentBuilder::buildSegments(Regions); in getCoverageForExpansion()
793 if (Segments.size()) in operator ++()
794 WrappedSegment = Segments.back(); in operator ++()
795 Segments.clear(); in operator ++()
797 Segments.push_back(&*Next++); in operator ++()
798 Stats = LineCoverageStats(Segments, WrappedSegment, Line); in operator ++()