Home
last modified time | relevance | path

Searched refs:FunctionCoverage (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/llvm/tools/llvm-cov/
DCoverageSummaryInfo.h177 FunctionCoverageInfo FunctionCoverage; member
181 : Name(Name), RegionCoverage(), LineCoverage(), FunctionCoverage(), in FileCoverageSummary()
187 FunctionCoverage += RHS.FunctionCoverage;
195 FunctionCoverage.addFunction(/*Covered=*/Function.ExecutionCount > 0); in addFunction()
DCoverageReport.cpp177 determineCoveragePercentageColor(File.FunctionCoverage); in render()
203 (unsigned)File.FunctionCoverage.getNumFunctions()); in render()
205 (unsigned)(File.FunctionCoverage.getNumFunctions() - in render()
206 File.FunctionCoverage.getExecuted())); in render()
207 if (File.FunctionCoverage.getNumFunctions()) in render()
210 File.FunctionCoverage.getPercentCovered()) in render()
429 if (FCS.FunctionCoverage.getNumFunctions()) in renderFileReports()
440 if (!FCS.FunctionCoverage.getNumFunctions()) in renderFileReports()
DCoverageExporterLcov.cpp47 OS << "FNF:" << Summary.FunctionCoverage.getNumFunctions() << '\n' in renderFunctionSummary()
48 << "FNH:" << Summary.FunctionCoverage.getExecuted() << '\n'; in renderFunctionSummary()
DCoverageExporterJson.cpp111 {{"count", int64_t(Summary.FunctionCoverage.getNumFunctions())}, in renderSummary()
112 {"covered", int64_t(Summary.FunctionCoverage.getExecuted())}, in renderSummary()
113 {"percent", Summary.FunctionCoverage.getPercentCovered()}})}, in renderSummary()
DSourceCoverageViewHTML.cpp367 AddCoverageTripleToColumn(FCS.FunctionCoverage.getExecuted(), in emitFileSummary()
368 FCS.FunctionCoverage.getNumFunctions(), in emitFileSummary()
369 FCS.FunctionCoverage.getPercentCovered()); in emitFileSummary()
432 if (FileReports[I].FunctionCoverage.getNumFunctions()) in createIndexFile()
449 if (!FileReports[I].FunctionCoverage.getNumFunctions()) { in createIndexFile()
DCodeCoverage.cpp283 auto FunctionCoverage = Coverage.getCoverageForFunction(Function); in createFunctionView() local
284 if (FunctionCoverage.empty()) in createFunctionView()
286 auto SourceBuffer = getSourceFile(FunctionCoverage.getFilename()); in createFunctionView()
290 auto Expansions = FunctionCoverage.getExpansions(); in createFunctionView()
293 std::move(FunctionCoverage)); in createFunctionView()
/external/llvm/tools/llvm-cov/
DCoverageSummaryInfo.h149 FunctionCoverageInfo FunctionCoverage; member
156 FunctionCoverage.addFunction(/*Covered=*/Function.ExecutionCount > 0); in addFunction()
DCodeCoverage.cpp197 auto FunctionCoverage = Coverage.getCoverageForFunction(Function); in createFunctionView() local
198 if (FunctionCoverage.empty()) in createFunctionView()
200 auto SourceBuffer = getSourceFile(FunctionCoverage.getFilename()); in createFunctionView()
204 auto Expansions = FunctionCoverage.getExpansions(); in createFunctionView()
206 ViewOpts, std::move(FunctionCoverage)); in createFunctionView()
/external/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp506 CoverageData FunctionCoverage(Function.Filenames[*MainFileID]); in getCoverageForFunction() local
512 FunctionCoverage.Expansions.emplace_back(CR, Function); in getCoverageForFunction()
516 FunctionCoverage.Segments = SegmentBuilder::buildSegments(Regions); in getCoverageForFunction()
518 return FunctionCoverage; in getCoverageForFunction()
/external/llvm-project/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp714 CoverageData FunctionCoverage(Function.Filenames[*MainFileID]); in getCoverageForFunction() local
720 FunctionCoverage.Expansions.emplace_back(CR, Function); in getCoverageForFunction()
725 FunctionCoverage.Segments = SegmentBuilder::buildSegments(Regions); in getCoverageForFunction()
727 return FunctionCoverage; in getCoverageForFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp705 CoverageData FunctionCoverage(Function.Filenames[*MainFileID]); in getCoverageForFunction() local
711 FunctionCoverage.Expansions.emplace_back(CR, Function); in getCoverageForFunction()
716 FunctionCoverage.Segments = SegmentBuilder::buildSegments(Regions); in getCoverageForFunction()
718 return FunctionCoverage; in getCoverageForFunction()