Lines Matching refs:Coverage
100 const CoverageMapping &Coverage);
116 const CoverageMapping &Coverage);
120 createSourceFileView(StringRef SourceFile, const CoverageMapping &Coverage);
127 void remapPathNames(const CoverageMapping &Coverage);
130 void removeUnmappedInputs(const CoverageMapping &Coverage);
133 void demangleSymbols(const CoverageMapping &Coverage);
136 void writeSourceFileView(StringRef SourceFile, CoverageMapping *Coverage,
310 const CoverageMapping &Coverage) { in attachExpansionSubViews() argument
314 auto ExpansionCoverage = Coverage.getCoverageForExpansion(Expansion); in attachExpansionSubViews()
326 attachExpansionSubViews(*SubView, SubViewExpansions, Coverage); in attachExpansionSubViews()
393 const CoverageMapping &Coverage) { in createFunctionView() argument
394 auto FunctionCoverage = Coverage.getCoverageForFunction(Function); in createFunctionView()
407 attachExpansionSubViews(*View, Expansions, Coverage); in createFunctionView()
418 const CoverageMapping &Coverage) { in createSourceFileView() argument
422 auto FileCoverage = Coverage.getCoverageForFile(SourceFile); in createSourceFileView()
431 attachExpansionSubViews(*View, Expansions, Coverage); in createSourceFileView()
439 for (const auto &Group : Coverage.getInstantiationGroups(SourceFile)) { in createSourceFileView()
450 auto SubViewCoverage = Coverage.getCoverageForFunction(*Function); in createSourceFileView()
456 attachExpansionSubViews(*SubView, SubViewExpansions, Coverage); in createSourceFileView()
498 auto Coverage = std::move(CoverageOrErr.get()); in load() local
499 unsigned Mismatched = Coverage->getMismatchedCount(); in load()
504 for (const auto &HashMismatch : Coverage->getHashMismatches()) in load()
512 remapPathNames(*Coverage); in load()
515 removeUnmappedInputs(*Coverage); in load()
517 demangleSymbols(*Coverage); in load()
519 return Coverage; in load()
522 void CodeCoverageTool::remapPathNames(const CoverageMapping &Coverage) { in remapPathNames() argument
543 for (StringRef Filename : Coverage.getUniqueSourceFiles()) { in remapPathNames()
572 void CodeCoverageTool::removeUnmappedInputs(const CoverageMapping &Coverage) { in removeUnmappedInputs() argument
573 std::vector<StringRef> CoveredFiles = Coverage.getUniqueSourceFiles(); in removeUnmappedInputs()
582 void CodeCoverageTool::demangleSymbols(const CoverageMapping &Coverage) { in demangleSymbols() argument
598 for (const auto &Function : Coverage.getCoveredFunctions()) { in demangleSymbols()
653 for (const auto &Function : Coverage.getCoveredFunctions()) in demangleSymbols()
660 CoverageMapping *Coverage, in writeSourceFileView() argument
663 auto View = createSourceFileView(SourceFile, *Coverage); in writeSourceFileView()
1150 auto Coverage = load(); in doShow() local
1151 if (!Coverage) in doShow()
1158 for (StringRef Filename : Coverage->getUniqueSourceFiles()) { in doShow()
1165 if (Error E = Printer->createIndexFile(SourceFiles, *Coverage, Filters)) { in doShow()
1176 for (const auto &Function : Coverage->getCoveredFunctions(SourceFile)) in doShow()
1177 if (Filters.matches(*Coverage, Function)) in doShow()
1194 auto FunctionView = createFunctionView(*Function, *Coverage); in doShow()
1224 writeSourceFileView(SourceFile, Coverage.get(), Printer.get(), in doShow()
1231 Coverage.get(), Printer.get(), ShowFilenames); in doShow()
1262 auto Coverage = load(); in doReport() local
1263 if (!Coverage) in doReport()
1266 CoverageReport Report(ViewOpts, *Coverage); in doReport()
1322 auto Coverage = load(); in doExport() local
1323 if (!Coverage) { in doExport()
1333 std::make_unique<CoverageExporterJson>(*Coverage, ViewOpts, outs()); in doExport()
1341 std::make_unique<CoverageExporterLcov>(*Coverage, ViewOpts, outs()); in doExport()