HomeSort by: relevance | last modified time | path
    Searched refs:Coverage (Results 1 - 20 of 20) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
CoverageExporter.h 1 //===- CoverageExporter.h - Code coverage exporter ------------------------===//
9 // This class defines a code coverage exporter interface.
19 #include "llvm/ProfileData/Coverage/CoverageMapping.h"
23 /// Exports the code coverage information.
27 const coverage::CoverageMapping &Coverage;
35 CoverageExporter(const coverage::CoverageMapping &CoverageMapping,
37 : Coverage(CoverageMapping), Options(Options), OS(OS) {}
CoverageReport.h 1 //===- CoverageReport.h - Code coverage report ----------------------------===//
9 // This class implements rendering of a code coverage report.
22 /// Displays the code coverage report.
25 const coverage::CoverageMapping &Coverage;
33 const coverage::CoverageMapping &Coverage)
34 : Options(Options), Coverage(Coverage) {}
41 prepareFileReports(const coverage::CoverageMapping &Coverage
    [all...]
CoverageExporterLcov.cpp 1 //===- CoverageExporterLcov.cpp - Code coverage export --------------------===//
9 // This file implements export of code coverage data to lcov trace file format.
15 // The trace file code coverage export follows the following format (see also
57 const iterator_range<coverage::FunctionRecordIterator> &Functions) {
67 const coverage::CoverageData &FileCoverage) {
68 coverage::LineCoverageIterator LCI{FileCoverage, 1};
69 coverage::LineCoverageIterator LCIEnd = LCI.getEnd();
71 const coverage::LineCoverageStats &LCS = *LCI;
78 std::vector<llvm::coverage::CountedRegion>
79 collectNestedBranches(const coverage::CoverageMapping &Coverage
    [all...]
CoverageExporterJson.cpp 1 //===- CoverageExporterJson.cpp - Code coverage export --------------------===//
9 // This file implements export of code coverage data to JSON.
15 // The json code coverage export follows the following format
19 // -- Files: array => List of objects describing coverage for files
20 // -- File: dict => Coverage for a single file
32 // -- Summary: dict => Object summarizing the coverage for this file
33 // -- LineCoverage: dict => Object summarizing line coverage
34 // -- FunctionCoverage: dict => Object summarizing function coverage
35 // -- RegionCoverage: dict => Object summarizing region coverage
36 // -- BranchCoverage: dict => Object summarizing branch coverage
    [all...]
CodeCoverage.cpp 1 //===- CodeCoverage.cpp - Coverage tool based on profiling instrumentation-===//
10 // report coverage information using the profiling instrumentation and code
11 // coverage mapping.
26 #include "llvm/ProfileData/Coverage/CoverageMapping.h"
47 using namespace coverage;
49 void exportCoverageDataToJson(const coverage::CoverageMapping &CoverageMapping,
54 /// The implementation of the coverage tool.
95 const CoverageMapping &Coverage);
106 const CoverageMapping &Coverage);
110 createSourceFileView(StringRef SourceFile, const CoverageMapping &Coverage);
    [all...]
CoverageReport.cpp 1 //===- CoverageReport.cpp - Code coverage report -------------------------===//
9 // This class implements rendering of a code coverage report.
111 /// Return the color which correponds to the coverage percentage of a
314 auto Functions = Coverage.getCoveredFunctions(Filename);
343 auto Function = FunctionCoverageSummary::get(Coverage, F);
359 const coverage::CoverageMapping *Coverage,
362 for (const auto &Group : Coverage->getInstantiationGroups(Filename)) {
364 for (const coverage::FunctionRecord *F : Group.getInstantiations()) {
365 if (!Filters->matches(*Coverage, *F)
    [all...]
SourceCoverageViewText.h 1 //===- SourceCoverageViewText.h - A text-based code coverage view ---------===//
9 /// \file This file defines the interface to the text-based coverage renderer.
20 using namespace coverage;
22 /// A coverage printer for text output.
31 const CoverageMapping &Coverage,
38 /// A code coverage view which supports text-based rendering.
SourceCoverageViewHTML.h 1 //===- SourceCoverageViewHTML.h - A html code coverage view ---------------===//
9 /// \file This file defines the interface to the html coverage renderer.
20 using namespace coverage;
24 /// A coverage printer for html output.
33 const coverage::CoverageMapping &Coverage,
47 /// A code coverage view which supports html-based rendering.
93 coverage::CoverageData &&CoverageInfo)
SourceCoverageViewText.cpp 1 //===- SourceCoverageViewText.cpp - A text-based code coverage view -------===//
9 /// \file This file implements the text-based coverage renderer.
32 ArrayRef<std::string> SourceFiles, const CoverageMapping &Coverage,
40 CoverageReport Report(Opts, Coverage);
SourceCoverageView.h 1 //===- SourceCoverageView.h - Code coverage view for source code ----------===//
9 /// \file This class implements rendering for code coverage of source code.
18 #include "llvm/ProfileData/Coverage/CoverageMapping.h"
24 using namespace coverage;
112 /// Return the sub-directory name for file coverage reports.
113 static StringRef getCoverageDir() { return "coverage"; }
124 /// Create a file to print a coverage view into.
128 /// Close a file which has been used to print a coverage view.
133 const CoverageMapping &Coverage,
139 /// A code coverage view of a source file or function
    [all...]
SourceCoverageViewHTML.cpp 1 //===- SourceCoverageViewHTML.cpp - A html code coverage view -------------===//
9 /// \file This file implements the html coverage renderer.
309 Columns.emplace_back(tag("td", "Function Coverage", "column-entry-bold"));
312 tag("td", "Instantiation Coverage", "column-entry-bold"));
313 Columns.emplace_back(tag("td", "Line Coverage", "column-entry-bold"));
315 Columns.emplace_back(tag("td", "Region Coverage", "column-entry-bold"));
317 Columns.emplace_back(tag("td", "Branch Coverage", "column-entry-bold"));
333 /// Render a file coverage summary (\p FCS) in a table row. If \p IsTotals is
340 // Format a coverage triple and add the result to the list of columns.
395 ArrayRef<std::string> SourceFiles, const CoverageMapping &Coverage,
    [all...]
  /src/external/apache2/llvm/lib/libLLVMProfileDataCoverage/
Makefile 7 .PATH: ${LLVM_SRCDIR}/lib/ProfileData/Coverage
  /src/external/apache2/llvm/dist/llvm/tools/sancov/
sancov.cpp 9 // coverage.
73 clEnumValN(PrintAction, "print", "Print coverage addresses"),
74 clEnumValN(PrintCovPointsAction, "print-coverage-pcs",
75 "Print coverage instrumentation points addresses."),
80 clEnumValN(StatsAction, "print-coverage-stats",
81 "Print coverage statistics."),
83 "REMOVED. Use -symbolize & coverage-report-server.py."),
132 // Contents of .sancov file: list of coverage point addresses that were
145 // Coverage point has an opaque Id and corresponds to multiple source locations.
154 // coverage points
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
SampleProfileLoaderBaseImpl.h 181 /// Profile coverage tracker.
850 // If coverage checking was requested, compute it now.
855 unsigned Coverage = CoverageTracker.computeCoverage(Used, Total);
856 if (Coverage < SampleProfileRecordCoverage) {
860 Twine(Coverage) + "%) were applied",
868 unsigned Coverage = CoverageTracker.computeCoverage(Used, Total);
869 if (Coverage < SampleProfileSampleCoverage) {
873 Twine(Coverage) + "%) were applied",
  /src/external/apache2/llvm/dist/llvm/lib/ProfileData/Coverage/
CoverageMapping.cpp 1 //===- CoverageMapping.cpp - Code coverage mapping support ----------------===//
10 // code coverage.
14 #include "llvm/ProfileData/Coverage/CoverageMapping.h"
22 #include "llvm/ProfileData/Coverage/CoverageMappingReader.h"
43 using namespace coverage;
45 #define DEBUG_TYPE "coverage-mapping"
261 // This coverage record is a zero region for a function that's unused in
262 // some TU, but used in a different TU. Ignore it. The coverage maps from the
295 // up queries for coverage info in a file.
313 IndexedInstrProfReader &ProfileReader, CoverageMapping &Coverage) {
    [all...]
CoverageMappingReader.cpp 1 //===- CoverageMappingReader.cpp - Code coverage mapping reader -----------===//
9 // This file contains support for reading coverage mapping data for
10 // instrumentation based coverage.
14 #include "llvm/ProfileData/Coverage/CoverageMappingReader.h"
41 using namespace coverage;
44 #define DEBUG_TYPE "coverage-mapping"
46 STATISTIC(CovMapNumRecords, "The # of coverage function records");
47 STATISTIC(CovMapNumUsedRecords, "The # of used coverage function records");
418 // A dummy coverage mapping data consists of just one region with zero count.
495 /// The interface to read coverage mapping function records for a module
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
DwarfExpression.cpp 144 SmallBitVector Coverage(RegSize, false);
160 if (Offset < MaxSize && CurSubReg.test(Coverage)) {
161 // Emit a piece for any gap in the coverage.
172 Coverage.set(Offset, Offset + Size);
  /src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/Coverage/
CoverageMappingReader.h 1 //===- CoverageMappingReader.h - Code coverage mapping reader ---*- C++ -*-===//
9 // This file contains support for reading coverage mapping data for
10 // instrumentation based coverage.
19 #include "llvm/ProfileData/Coverage/CoverageMapping.h"
30 namespace coverage { namespace in namespace:llvm
34 /// Coverage mapping information for a single function.
43 /// A file format agnostic iterator over coverage mapping data.
68 llvm_unreachable("Unexpected error in coverage mapping iterator");
108 /// Base class for the raw coverage mapping and filenames data readers.
121 /// Checks if the given coverage mapping data is exported fo
    [all...]
CoverageMapping.h 1 //===- CoverageMapping.h - Code coverage mapping support --------*- C++ -*-===//
9 // Code coverage mapping data is generated by clang and read by
10 // llvm-cov to show code coverage statistics for a file.
46 namespace coverage { namespace in namespace:llvm
341 /// Code coverage information for a single function.
415 /// Coverage information for a macro expansion or #included file.
419 /// expansions whose coverage can be looked up independently.
425 /// Coverage for the expansion.
526 /// Coverage information to be processed or displayed.
528 /// This represents the coverage of an entire file, expansion, or function. I
    [all...]
  /src/external/gpl3/autoconf/dist/
maint.mk 1382 # Code Coverage
1384 init-coverage:
1388 COVERAGE_CCOPTS ?= "-g --coverage"
1389 COVERAGE_OUT ?= doc/coverage
1391 build-coverage:
1398 gen-coverage:
1404 coverage: init-coverage build-coverage gen-coverage
    [all...]

Completed in 59 milliseconds