Lines Matching refs:StartLoc
865 std::optional<SourceLocation> StartLoc = std::nullopt, in pushRegion()
871 if (StartLoc && !FalseCount) { in pushRegion()
872 MostRecentLocation = *StartLoc; in pushRegion()
877 assert((!StartLoc || StartLoc->isValid()) && "Start location is not valid"); in pushRegion()
884 if (StartLoc && StartLoc->isInvalid()) in pushRegion()
885 StartLoc = std::nullopt; in pushRegion()
890 StartLoc, EndLoc); in pushRegion()
896 std::optional<SourceLocation> StartLoc = std::nullopt, in pushRegion()
899 RegionStack.emplace_back(MCDCParameters{BitmapIdx, Conditions}, StartLoc, in pushRegion()
924 SourceLocation StartLoc = Region.getBeginLoc(); in popRegions() local
929 size_t StartDepth = locationDepth(StartLoc); in popRegions()
931 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions()
961 SourceLocation NestedLoc = getEndOfFileOrMacro(StartLoc); in popRegions()
962 assert(SM.isWrittenInSameFile(StartLoc, NestedLoc)); in popRegions()
964 if (!isBranch && !isRegionAlreadyAdded(StartLoc, NestedLoc)) in popRegions()
965 SourceRegions.emplace_back(Region.getCounter(), StartLoc, in popRegions()
968 StartLoc = getIncludeOrExpansionLoc(StartLoc); in popRegions()
969 if (StartLoc.isInvalid()) in popRegions()
975 Region.setStartLoc(StartLoc); in popRegions()
982 if (StartLoc == getStartOfFileOrMacro(StartLoc) && in popRegions()
1005 SourceLocation StartLoc = getStart(S); in propagateCounts() local
1007 size_t Index = pushRegion(TopCount, StartLoc, EndLoc); in propagateCounts()
1015 if (SM.isBeforeInTranslationUnit(StartLoc, S->getBeginLoc())) in propagateCounts()
1084 bool isRegionAlreadyAdded(SourceLocation StartLoc, SourceLocation EndLoc, in isRegionAlreadyAdded()
1088 return Region.getBeginLoc() == StartLoc && in isRegionAlreadyAdded()
1189 SourceLocation StartLoc = getStart(S); in extendRegion() local
1191 handleFileExit(StartLoc); in extendRegion()
1193 Region.setStartLoc(StartLoc); in extendRegion()
1261 void fillGapAreaWithCount(SourceLocation StartLoc, SourceLocation EndLoc, in fillGapAreaWithCount()
1263 if (StartLoc == EndLoc) in fillGapAreaWithCount()
1265 assert(SpellingRegion(SM, StartLoc, EndLoc).isInSourceOrder()); in fillGapAreaWithCount()
1266 handleFileExit(StartLoc); in fillGapAreaWithCount()
1267 size_t Index = pushRegion(Count, StartLoc, EndLoc); in fillGapAreaWithCount()
1317 void markSkipped(SourceLocation StartLoc, SourceLocation BeforeLoc) { in markSkipped()
1318 const auto Skipped = findAreaStartingFromTo(StartLoc, BeforeLoc); in markSkipped()