Lines Matching refs:StartLoc

586   size_t pushRegion(Counter Count, Optional<SourceLocation> StartLoc = None,  in pushRegion()
590 if (StartLoc && !FalseCount) { in pushRegion()
591 MostRecentLocation = *StartLoc; in pushRegion()
594 RegionStack.emplace_back(Count, FalseCount, StartLoc, EndLoc); in pushRegion()
617 SourceLocation StartLoc = Region.getBeginLoc(); in popRegions() local
622 size_t StartDepth = locationDepth(StartLoc); in popRegions()
624 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions()
654 SourceLocation NestedLoc = getEndOfFileOrMacro(StartLoc); in popRegions()
655 assert(SM.isWrittenInSameFile(StartLoc, NestedLoc)); in popRegions()
657 if (!isBranch && !isRegionAlreadyAdded(StartLoc, NestedLoc)) in popRegions()
658 SourceRegions.emplace_back(Region.getCounter(), StartLoc, in popRegions()
661 StartLoc = getIncludeOrExpansionLoc(StartLoc); in popRegions()
662 if (StartLoc.isInvalid()) in popRegions()
668 Region.setStartLoc(StartLoc); in popRegions()
675 if (StartLoc == getStartOfFileOrMacro(StartLoc) && in popRegions()
698 SourceLocation StartLoc = getStart(S); in propagateCounts() local
700 size_t Index = pushRegion(TopCount, StartLoc, EndLoc); in propagateCounts()
708 if (SM.isBeforeInTranslationUnit(StartLoc, S->getBeginLoc())) in propagateCounts()
761 bool isRegionAlreadyAdded(SourceLocation StartLoc, SourceLocation EndLoc, in isRegionAlreadyAdded()
765 return Region.getBeginLoc() == StartLoc && in isRegionAlreadyAdded()
862 SourceLocation StartLoc = getStart(S); in extendRegion() local
864 handleFileExit(StartLoc); in extendRegion()
866 Region.setStartLoc(StartLoc); in extendRegion()
928 void fillGapAreaWithCount(SourceLocation StartLoc, SourceLocation EndLoc, in fillGapAreaWithCount()
930 if (StartLoc == EndLoc) in fillGapAreaWithCount()
932 assert(SpellingRegion(SM, StartLoc, EndLoc).isInSourceOrder()); in fillGapAreaWithCount()
933 handleFileExit(StartLoc); in fillGapAreaWithCount()
934 size_t Index = pushRegion(Count, StartLoc, EndLoc); in fillGapAreaWithCount()