Lines Matching refs:Region
50 SourceMappingRegion(SourceMappingRegion &&Region) in SourceMappingRegion() argument
51 : Count(std::move(Region.Count)), LocStart(std::move(Region.LocStart)), in SourceMappingRegion()
52 LocEnd(std::move(Region.LocEnd)) {} in SourceMappingRegion()
163 for (const auto &Region : SourceRegions) { in gatherFileIDs() local
164 SourceLocation Loc = Region.getStartLoc(); in gatherFileIDs()
236 auto Region = CounterMappingRegion::makeSkipped( in gatherSkippedRegions() local
240 if (Region.LineStart >= FileLineRanges[*CovFileID].first && in gatherSkippedRegions()
241 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions()
242 MappingRegions.push_back(Region); in gatherSkippedRegions()
249 for (const auto &Region : SourceRegions) { in emitSourceRegions() local
250 assert(Region.hasEndLoc() && "incomplete region"); in emitSourceRegions()
252 SourceLocation LocStart = Region.getStartLoc(); in emitSourceRegions()
260 SourceLocation LocEnd = Region.getEndLoc(); in emitSourceRegions()
272 Region.getCounter(), *CovFileID, LineStart, ColumnStart, LineEnd, in emitSourceRegions()
396 SourceMappingRegion &Region = RegionStack.back(); in popRegions() local
397 if (Region.hasStartLoc()) { in popRegions()
398 SourceLocation StartLoc = Region.getStartLoc(); in popRegions()
399 SourceLocation EndLoc = Region.hasEndLoc() in popRegions()
400 ? Region.getEndLoc() in popRegions()
408 SourceRegions.emplace_back(Region.getCounter(), NestedLoc, EndLoc); in popRegions()
414 Region.setEndLoc(EndLoc); in popRegions()
423 assert(SM.isWrittenInSameFile(Region.getStartLoc(), EndLoc)); in popRegions()
424 SourceRegions.push_back(std::move(Region)); in popRegions()
530 SourceMappingRegion &Region = getRegion(); in extendRegion() local
534 if (!Region.hasStartLoc()) in extendRegion()
535 Region.setStartLoc(StartLoc); in extendRegion()
541 SourceMappingRegion &Region = getRegion(); in terminateRegion() local
542 if (!Region.hasEndLoc()) in terminateRegion()
543 Region.setEndLoc(getEnd(S)); in terminateRegion()