Lines Matching refs:CR
1201 for (const auto &CR : enumerate(Regions)) { in buildSegmentsImpl() local
1202 auto CurStartLoc = CR.value().startLoc(); in buildSegmentsImpl()
1216 bool GapRegion = CR.value().Kind == CounterMappingRegion::GapRegion; in buildSegmentsImpl()
1219 if (CurStartLoc == CR.value().endLoc()) { in buildSegmentsImpl()
1223 (CR.index() + 1) == Regions.size() || in buildSegmentsImpl()
1224 CR.value().Kind == CounterMappingRegion::SkippedRegion; in buildSegmentsImpl()
1225 startSegment(ActiveRegions.empty() ? CR.value() : *ActiveRegions.back(), in buildSegmentsImpl()
1233 if (CR.index() + 1 == Regions.size() || in buildSegmentsImpl()
1234 CurStartLoc != Regions[CR.index() + 1].startLoc()) { in buildSegmentsImpl()
1237 startSegment(CR.value(), CurStartLoc, !GapRegion); in buildSegmentsImpl()
1241 ActiveRegions.push_back(&CR.value()); in buildSegmentsImpl()
1323 for (const auto &CR : CombinedRegions) in buildSegments()
1324 dbgs() << " " << CR.LineStart << ":" << CR.ColumnStart << " -> " in buildSegments()
1325 << CR.LineEnd << ":" << CR.ColumnEnd in buildSegments()
1326 << " (count=" << CR.ExecutionCount << ")\n"; in buildSegments()
1374 for (const auto &CR : Function.CountedRegions) in findMainViewFileID() local
1375 if (CR.Kind == CounterMappingRegion::ExpansionRegion) in findMainViewFileID()
1376 IsNotExpandedFile[CR.ExpandedFileID] = false; in findMainViewFileID()
1410 for (const auto &CR : Function.CountedRegions) in getCoverageForFile() local
1411 if (FileIDs.test(CR.FileID)) { in getCoverageForFile()
1412 Regions.push_back(CR); in getCoverageForFile()
1413 if (MainFileID && isExpansion(CR, *MainFileID)) in getCoverageForFile()
1414 FileCoverage.Expansions.emplace_back(CR, Function); in getCoverageForFile()
1417 for (const auto &CR : Function.CountedBranchRegions) in getCoverageForFile() local
1418 if (FileIDs.test(CR.FileID) && (CR.FileID == CR.ExpandedFileID)) in getCoverageForFile()
1419 FileCoverage.BranchRegions.push_back(CR); in getCoverageForFile()
1465 for (const auto &CR : Function.CountedRegions) in getCoverageForFunction() local
1466 if (CR.FileID == *MainFileID) { in getCoverageForFunction()
1467 Regions.push_back(CR); in getCoverageForFunction()
1468 if (isExpansion(CR, *MainFileID)) in getCoverageForFunction()
1469 FunctionCoverage.Expansions.emplace_back(CR, Function); in getCoverageForFunction()
1472 for (const auto &CR : Function.CountedBranchRegions) in getCoverageForFunction() local
1473 if (CR.FileID == *MainFileID) in getCoverageForFunction()
1474 FunctionCoverage.BranchRegions.push_back(CR); in getCoverageForFunction()
1493 for (const auto &CR : Expansion.Function.CountedRegions) in getCoverageForExpansion() local
1494 if (CR.FileID == Expansion.FileID) { in getCoverageForExpansion()
1495 Regions.push_back(CR); in getCoverageForExpansion()
1496 if (isExpansion(CR, Expansion.FileID)) in getCoverageForExpansion()
1497 ExpansionCoverage.Expansions.emplace_back(CR, Expansion.Function); in getCoverageForExpansion()
1499 for (const auto &CR : Expansion.Function.CountedBranchRegions) in getCoverageForExpansion() local
1501 if (CR.FileID == Expansion.FileID) in getCoverageForExpansion()
1502 ExpansionCoverage.BranchRegions.push_back(CR); in getCoverageForExpansion()