Lines Matching refs:Coverage
70 CoverageMapping &Coverage);
74 createFunctionView(const FunctionRecord &Function, CoverageMapping &Coverage);
78 createSourceFileView(StringRef SourceFile, CoverageMapping &Coverage);
174 CoverageMapping &Coverage) { in attachExpansionSubViews() argument
178 auto ExpansionCoverage = Coverage.getCoverageForExpansion(Expansion); in attachExpansionSubViews()
189 attachExpansionSubViews(*SubView, SubViewExpansions, Coverage); in attachExpansionSubViews()
196 CoverageMapping &Coverage) { in createFunctionView() argument
197 auto FunctionCoverage = Coverage.getCoverageForFunction(Function); in createFunctionView()
207 attachExpansionSubViews(*View, Expansions, Coverage); in createFunctionView()
214 CoverageMapping &Coverage) { in createSourceFileView() argument
218 auto FileCoverage = Coverage.getCoverageForFile(SourceFile); in createSourceFileView()
225 attachExpansionSubViews(*View, Expansions, Coverage); in createSourceFileView()
227 for (auto Function : Coverage.getInstantiations(SourceFile)) { in createSourceFileView()
228 auto SubViewCoverage = Coverage.getCoverageForFunction(*Function); in createSourceFileView()
233 attachExpansionSubViews(*SubView, SubViewExpansions, Coverage); in createSourceFileView()
268 auto Coverage = std::move(CoverageOrErr.get()); in load() local
269 unsigned Mismatched = Coverage->getMismatchedCount(); in load()
277 auto CoveredFiles = Coverage.get()->getUniqueSourceFiles(); in load()
289 return Coverage; in load()
498 auto Coverage = load(); in show() local
499 if (!Coverage) in show()
513 for (const auto &Function : Coverage->getCoveredFunctions()) { in show()
517 auto mainView = createFunctionView(Function, *Coverage); in show()
537 for (StringRef Filename : Coverage->getUniqueSourceFiles()) in show()
555 Pool.async([this, &SourceFile, &Coverage, &Printer, ShowFilenames] { in show()
556 auto View = createSourceFileView(SourceFile, *Coverage); in show()
591 auto Coverage = load(); in report() local
592 if (!Coverage) in report()
595 CoverageReport Report(ViewOpts, std::move(Coverage)); in report()