Lines Matching refs:Region
203 for (const auto &Region : Record.MappingRegions) { in load() local
204 ErrorOr<int64_t> ExecutionCount = Ctx.evaluate(Region.Count); in load()
207 Function.pushRegion(Region, *ExecutionCount); in load()
275 const CountedRegion &Region) { in startSegment() argument
286 if (Region.Kind != coverage::CounterMappingRegion::SkippedRegion) { in startSegment()
287 DEBUG(dbgs() << " with count " << Region.ExecutionCount); in startSegment()
288 Segments.back().setCount(Region.ExecutionCount); in startSegment()
294 void startSegment(const CountedRegion &Region) { in startSegment() argument
295 startSegment(Region.LineStart, Region.ColumnStart, true, Region); in startSegment()
314 for (const auto &Region : Regions) { in buildSegments() local
317 ActiveRegions.back()->endLoc() <= Region.startLoc()) in buildSegments()
319 if (PrevRegion && PrevRegion->startLoc() == Region.startLoc() && in buildSegments()
320 PrevRegion->endLoc() == Region.endLoc()) { in buildSegments()
321 if (Region.Kind == coverage::CounterMappingRegion::CodeRegion) in buildSegments()
322 Segments.back().addCount(Region.ExecutionCount); in buildSegments()
325 ActiveRegions.push_back(&Region); in buildSegments()
326 startSegment(Region); in buildSegments()
328 PrevRegion = &Region; in buildSegments()