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()
168 for (const auto &Region : SourceRegions) { in gatherFileIDs() local
169 SourceLocation Loc = Region.getStartLoc(); in gatherFileIDs()
241 auto Region = CounterMappingRegion::makeSkipped( in gatherSkippedRegions() local
245 if (Region.LineStart >= FileLineRanges[*CovFileID].first && in gatherSkippedRegions()
246 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions()
247 MappingRegions.push_back(Region); in gatherSkippedRegions()
254 for (const auto &Region : SourceRegions) { in emitSourceRegions() local
255 assert(Region.hasEndLoc() && "incomplete region"); in emitSourceRegions()
257 SourceLocation LocStart = Region.getStartLoc(); in emitSourceRegions()
265 SourceLocation LocEnd = Region.getEndLoc(); in emitSourceRegions()
277 Region.getCounter(), *CovFileID, LineStart, ColumnStart, LineEnd, in emitSourceRegions()
401 SourceMappingRegion &Region = RegionStack.back(); in popRegions() local
402 if (Region.hasStartLoc()) { in popRegions()
403 SourceLocation StartLoc = Region.getStartLoc(); in popRegions()
404 SourceLocation EndLoc = Region.hasEndLoc() in popRegions()
405 ? Region.getEndLoc() in popRegions()
413 SourceRegions.emplace_back(Region.getCounter(), NestedLoc, EndLoc); in popRegions()
419 Region.setEndLoc(EndLoc); in popRegions()
428 assert(SM.isWrittenInSameFile(Region.getStartLoc(), EndLoc)); in popRegions()
429 SourceRegions.push_back(std::move(Region)); in popRegions()
539 SourceMappingRegion &Region = getRegion(); in extendRegion() local
543 if (!Region.hasStartLoc()) in extendRegion()
544 Region.setStartLoc(StartLoc); in extendRegion()
550 SourceMappingRegion &Region = getRegion(); in terminateRegion() local
551 if (!Region.hasEndLoc()) in terminateRegion()
552 Region.setEndLoc(getEnd(S)); in terminateRegion()