Lines Matching refs:StartLoc

949                     std::optional<SourceLocation> StartLoc = std::nullopt,  in pushRegion()
954 if (StartLoc && !FalseCount) { in pushRegion()
955 MostRecentLocation = *StartLoc; in pushRegion()
960 assert((!StartLoc || StartLoc->isValid()) && "Start location is not valid"); in pushRegion()
967 if (StartLoc && StartLoc->isInvalid()) in pushRegion()
968 StartLoc = std::nullopt; in pushRegion()
971 RegionStack.emplace_back(Count, FalseCount, BranchParams, StartLoc, EndLoc); in pushRegion()
977 std::optional<SourceLocation> StartLoc = std::nullopt, in pushRegion()
980 RegionStack.emplace_back(DecisionParams, StartLoc, EndLoc); in pushRegion()
1004 SourceLocation StartLoc = Region.getBeginLoc(); in popRegions() local
1009 size_t StartDepth = locationDepth(StartLoc); in popRegions()
1011 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions()
1041 SourceLocation NestedLoc = getEndOfFileOrMacro(StartLoc); in popRegions()
1042 assert(SM.isWrittenInSameFile(StartLoc, NestedLoc)); in popRegions()
1044 if (!isBranch && !isRegionAlreadyAdded(StartLoc, NestedLoc)) in popRegions()
1045 SourceRegions.emplace_back(Region.getCounter(), StartLoc, in popRegions()
1048 StartLoc = getIncludeOrExpansionLoc(StartLoc); in popRegions()
1049 if (StartLoc.isInvalid()) in popRegions()
1055 Region.setStartLoc(StartLoc); in popRegions()
1062 if (StartLoc == getStartOfFileOrMacro(StartLoc) && in popRegions()
1085 SourceLocation StartLoc = getStart(S); in propagateCounts() local
1087 size_t Index = pushRegion(TopCount, StartLoc, EndLoc); in propagateCounts()
1095 if (SM.isBeforeInTranslationUnit(StartLoc, S->getBeginLoc())) in propagateCounts()
1166 bool isRegionAlreadyAdded(SourceLocation StartLoc, SourceLocation EndLoc, in isRegionAlreadyAdded()
1170 return Region.getBeginLoc() == StartLoc && in isRegionAlreadyAdded()
1268 SourceLocation StartLoc = getStart(S); in extendRegion() local
1270 handleFileExit(StartLoc); in extendRegion()
1272 Region.setStartLoc(StartLoc); in extendRegion()
1340 void fillGapAreaWithCount(SourceLocation StartLoc, SourceLocation EndLoc, in fillGapAreaWithCount()
1342 if (StartLoc == EndLoc) in fillGapAreaWithCount()
1344 assert(SpellingRegion(SM, StartLoc, EndLoc).isInSourceOrder()); in fillGapAreaWithCount()
1345 handleFileExit(StartLoc); in fillGapAreaWithCount()
1346 size_t Index = pushRegion(Count, StartLoc, EndLoc); in fillGapAreaWithCount()
1396 void markSkipped(SourceLocation StartLoc, SourceLocation BeforeLoc) { in markSkipped()
1397 const auto Skipped = findAreaStartingFromTo(StartLoc, BeforeLoc); in markSkipped()