Lines Matching refs:Region

231     for (const auto &Region : SourceRegions) {  in gatherFileIDs()  local
232 SourceLocation Loc = Region.getBeginLoc(); in gatherFileIDs()
298 auto Region = CounterMappingRegion::makeSkipped( in gatherSkippedRegions() local
302 if (Region.LineStart >= FileLineRanges[*CovFileID].first && in gatherSkippedRegions()
303 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions()
304 MappingRegions.push_back(Region); in gatherSkippedRegions()
311 for (const auto &Region : SourceRegions) { in emitSourceRegions() local
312 assert(Region.hasEndLoc() && "incomplete region"); in emitSourceRegions()
314 SourceLocation LocStart = Region.getBeginLoc(); in emitSourceRegions()
326 SourceLocation LocEnd = Region.getEndLoc(); in emitSourceRegions()
341 if (Region.isGap()) { in emitSourceRegions()
343 Region.getCounter(), *CovFileID, SR.LineStart, SR.ColumnStart, in emitSourceRegions()
347 Region.getCounter(), *CovFileID, SR.LineStart, SR.ColumnStart, in emitSourceRegions()
572 SourceMappingRegion &Region = RegionStack.back(); in popRegions() local
573 if (Region.hasStartLoc()) { in popRegions()
574 SourceLocation StartLoc = Region.getBeginLoc(); in popRegions()
575 SourceLocation EndLoc = Region.hasEndLoc() in popRegions()
576 ? Region.getEndLoc() in popRegions()
590 SourceRegions.emplace_back(Region.getCounter(), NestedLoc, EndLoc); in popRegions()
604 SourceRegions.emplace_back(Region.getCounter(), StartLoc, NestedLoc); in popRegions()
612 Region.setStartLoc(StartLoc); in popRegions()
613 Region.setEndLoc(EndLoc); in popRegions()
622 assert(SM.isWrittenInSameFile(Region.getBeginLoc(), EndLoc)); in popRegions()
623 assert(SpellingRegion(SM, Region).isInSourceOrder()); in popRegions()
624 SourceRegions.push_back(Region); in popRegions()
638 } else if (Region.isDeferred()) { in popRegions()
684 [&](const SourceMappingRegion &Region) { in isRegionAlreadyAdded() argument
685 return Region.getBeginLoc() == StartLoc && in isRegionAlreadyAdded()
686 Region.getEndLoc() == EndLoc; in isRegionAlreadyAdded()
776 SourceMappingRegion &Region = getRegion(); in extendRegion() local
780 if (!Region.hasStartLoc()) in extendRegion()
781 Region.setStartLoc(StartLoc); in extendRegion()
783 completeDeferred(Region.getCounter(), StartLoc); in extendRegion()
789 SourceMappingRegion &Region = getRegion(); in terminateRegion() local
791 if (!Region.hasEndLoc()) in terminateRegion()
792 Region.setEndLoc(EndLoc); in terminateRegion()