Lines Matching refs:Region
220 for (const auto &Region : Record.MappingRegions) { in load() local
221 ErrorOr<int64_t> ExecutionCount = Ctx.evaluate(Region.Count); in load()
224 Function.pushRegion(Region, *ExecutionCount); in load()
292 const CountedRegion &Region) { in startSegment() argument
303 if (Region.Kind != coverage::CounterMappingRegion::SkippedRegion) { in startSegment()
304 DEBUG(dbgs() << " with count " << Region.ExecutionCount); in startSegment()
305 Segments.back().setCount(Region.ExecutionCount); in startSegment()
311 void startSegment(const CountedRegion &Region) { in startSegment() argument
312 startSegment(Region.LineStart, Region.ColumnStart, true, Region); in startSegment()
331 for (const auto &Region : Regions) { in buildSegments() local
334 ActiveRegions.back()->endLoc() <= Region.startLoc()) in buildSegments()
336 if (PrevRegion && PrevRegion->startLoc() == Region.startLoc() && in buildSegments()
337 PrevRegion->endLoc() == Region.endLoc()) { in buildSegments()
338 if (Region.Kind == coverage::CounterMappingRegion::CodeRegion) in buildSegments()
339 Segments.back().addCount(Region.ExecutionCount); in buildSegments()
342 ActiveRegions.push_back(&Region); in buildSegments()
343 startSegment(Region); in buildSegments()
345 PrevRegion = &Region; in buildSegments()