Lines Matching refs:Region
212 for (const auto &Region : Record.MappingRegions) { in load() local
213 ErrorOr<int64_t> ExecutionCount = Ctx.evaluate(Region.Count); in load()
216 Function.pushRegion(Region, *ExecutionCount); in load()
284 const CountedRegion &Region) { in startSegment() argument
295 if (Region.Kind != coverage::CounterMappingRegion::SkippedRegion) { in startSegment()
296 DEBUG(dbgs() << " with count " << Region.ExecutionCount); in startSegment()
297 Segments.back().setCount(Region.ExecutionCount); in startSegment()
303 void startSegment(const CountedRegion &Region) { in startSegment() argument
304 startSegment(Region.LineStart, Region.ColumnStart, true, Region); in startSegment()
323 for (const auto &Region : Regions) { in buildSegments() local
326 ActiveRegions.back()->endLoc() <= Region.startLoc()) in buildSegments()
328 if (PrevRegion && PrevRegion->startLoc() == Region.startLoc() && in buildSegments()
329 PrevRegion->endLoc() == Region.endLoc()) { in buildSegments()
330 if (Region.Kind == coverage::CounterMappingRegion::CodeRegion) in buildSegments()
331 Segments.back().addCount(Region.ExecutionCount); in buildSegments()
334 ActiveRegions.push_back(&Region); in buildSegments()
335 startSegment(Region); in buildSegments()
337 PrevRegion = &Region; in buildSegments()