Lines Matching refs:Coverage
100 const CoverageMapping &Coverage);
113 const CoverageMapping &Coverage);
117 createSourceFileView(StringRef SourceFile, const CoverageMapping &Coverage);
124 void remapPathNames(const CoverageMapping &Coverage);
127 void removeUnmappedInputs(const CoverageMapping &Coverage);
130 void demangleSymbols(const CoverageMapping &Coverage);
133 void writeSourceFileView(StringRef SourceFile, CoverageMapping *Coverage,
307 const CoverageMapping &Coverage) { in attachExpansionSubViews() argument
311 auto ExpansionCoverage = Coverage.getCoverageForExpansion(Expansion); in attachExpansionSubViews()
323 attachExpansionSubViews(*SubView, SubViewExpansions, Coverage); in attachExpansionSubViews()
371 const CoverageMapping &Coverage) { in createFunctionView() argument
372 auto FunctionCoverage = Coverage.getCoverageForFunction(Function); in createFunctionView()
385 attachExpansionSubViews(*View, Expansions, Coverage); in createFunctionView()
394 const CoverageMapping &Coverage) { in createSourceFileView() argument
398 auto FileCoverage = Coverage.getCoverageForFile(SourceFile); in createSourceFileView()
407 attachExpansionSubViews(*View, Expansions, Coverage); in createSourceFileView()
413 for (const auto &Group : Coverage.getInstantiationGroups(SourceFile)) { in createSourceFileView()
424 auto SubViewCoverage = Coverage.getCoverageForFunction(*Function); in createSourceFileView()
430 attachExpansionSubViews(*SubView, SubViewExpansions, Coverage); in createSourceFileView()
470 auto Coverage = std::move(CoverageOrErr.get()); in load() local
471 unsigned Mismatched = Coverage->getMismatchedCount(); in load()
476 for (const auto &HashMismatch : Coverage->getHashMismatches()) in load()
484 remapPathNames(*Coverage); in load()
487 removeUnmappedInputs(*Coverage); in load()
489 demangleSymbols(*Coverage); in load()
491 return Coverage; in load()
494 void CodeCoverageTool::remapPathNames(const CoverageMapping &Coverage) { in remapPathNames() argument
515 for (StringRef Filename : Coverage.getUniqueSourceFiles()) { in remapPathNames()
544 void CodeCoverageTool::removeUnmappedInputs(const CoverageMapping &Coverage) { in removeUnmappedInputs() argument
545 std::vector<StringRef> CoveredFiles = Coverage.getUniqueSourceFiles(); in removeUnmappedInputs()
554 void CodeCoverageTool::demangleSymbols(const CoverageMapping &Coverage) { in demangleSymbols() argument
570 for (const auto &Function : Coverage.getCoveredFunctions()) { in demangleSymbols()
625 for (const auto &Function : Coverage.getCoveredFunctions()) in demangleSymbols()
632 CoverageMapping *Coverage, in writeSourceFileView() argument
635 auto View = createSourceFileView(SourceFile, *Coverage); in writeSourceFileView()
1122 auto Coverage = load(); in doShow() local
1123 if (!Coverage) in doShow()
1130 for (StringRef Filename : Coverage->getUniqueSourceFiles()) { in doShow()
1137 if (Error E = Printer->createIndexFile(SourceFiles, *Coverage, Filters)) { in doShow()
1148 for (const auto &Function : Coverage->getCoveredFunctions(SourceFile)) in doShow()
1149 if (Filters.matches(*Coverage, Function)) in doShow()
1166 auto FunctionView = createFunctionView(*Function, *Coverage); in doShow()
1196 writeSourceFileView(SourceFile, Coverage.get(), Printer.get(), in doShow()
1203 Coverage.get(), Printer.get(), ShowFilenames); in doShow()
1234 auto Coverage = load(); in doReport() local
1235 if (!Coverage) in doReport()
1238 CoverageReport Report(ViewOpts, *Coverage); in doReport()
1294 auto Coverage = load(); in doExport() local
1295 if (!Coverage) { in doExport()
1305 std::make_unique<CoverageExporterJson>(*Coverage, ViewOpts, outs()); in doExport()
1313 std::make_unique<CoverageExporterLcov>(*Coverage, ViewOpts, outs()); in doExport()