Home
last modified time | relevance | path

Searched refs:CoverageMapping (Results 1 – 25 of 43) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DCoverageFilters.cpp21 const coverage::CoverageMapping &, in matches() argument
28 const coverage::CoverageMapping &, in matches() argument
38 const coverage::CoverageMapping &, in matches() argument
44 const coverage::CoverageMapping &CM, in matches()
51 const coverage::CoverageMapping &CM, in matches()
61 bool CoverageFilters::matches(const coverage::CoverageMapping &CM, in matches()
79 const coverage::CoverageMapping &CM, in matches()
DCoverageFilters.h31 virtual bool matches(const coverage::CoverageMapping &CM, in matches()
49 bool matches(const coverage::CoverageMapping &CM,
60 bool matches(const coverage::CoverageMapping &CM,
75 bool matches(const coverage::CoverageMapping &CM,
112 bool matches(const coverage::CoverageMapping &CM,
124 bool matches(const coverage::CoverageMapping &CM,
141 bool matches(const coverage::CoverageMapping &CM,
152 bool matches(const coverage::CoverageMapping &CM,
DCoverageExporter.h28 const coverage::CoverageMapping &Coverage;
36 CoverageExporter(const coverage::CoverageMapping &CoverageMapping, in CoverageExporter() argument
38 : Coverage(CoverageMapping), Options(Options), OS(OS) {} in CoverageExporter()
DCoverageReport.h26 const coverage::CoverageMapping &Coverage;
34 const coverage::CoverageMapping &Coverage) in CoverageReport()
42 prepareFileReports(const coverage::CoverageMapping &Coverage,
49 const coverage::CoverageMapping *Coverage,
DCodeCoverage.cpp47 void exportCoverageDataToJson(const coverage::CoverageMapping &CoverageMapping,
87 const CoverageMapping &Coverage);
92 const CoverageMapping &Coverage);
96 createSourceFileView(StringRef SourceFile, const CoverageMapping &Coverage);
99 std::unique_ptr<CoverageMapping> load();
103 void remapPathNames(const CoverageMapping &Coverage);
106 void removeUnmappedInputs(const CoverageMapping &Coverage);
109 void demangleSymbols(const CoverageMapping &Coverage);
112 void writeSourceFileView(StringRef SourceFile, CoverageMapping *Coverage,
252 const CoverageMapping &Coverage) { in attachExpansionSubViews()
[all …]
DTestingSupport.cpp50 SectionRef ProfileNames, CoverageMapping; in convertForTestingMain() local
61 CoverageMapping = Section; in convertForTestingMain()
73 if (CoverageMapping.getContents(CoverageMappingData) || in convertForTestingMain()
DCoverageExporterJson.h100 CoverageExporterJson(const coverage::CoverageMapping &CoverageMapping,
DCoverageExporterJson.cpp56 const coverage::CoverageMapping &CoverageMapping, in CoverageExporterJson() argument
58 : CoverageExporter(CoverageMapping, Options, OS) { in CoverageExporterJson()
DCoverageSummaryInfo.cpp21 FunctionCoverageSummary::get(const CoverageMapping &CM, in get()
DSourceCoverageViewText.h32 const CoverageMapping &Coverage,
/external/llvm/tools/llvm-cov/
DTestingSupport.cpp50 SectionRef ProfileNames, CoverageMapping; in convertForTestingMain() local
58 CoverageMapping = Section; in convertForTestingMain()
70 if (CoverageMapping.getContents(CoverageMappingData) || in convertForTestingMain()
DCoverageReport.h25 std::unique_ptr<coverage::CoverageMapping> Coverage;
32 std::unique_ptr<coverage::CoverageMapping> Coverage) in CoverageReport()
DCodeCoverage.cpp70 CoverageMapping &Coverage);
74 createFunctionView(const FunctionRecord &Function, CoverageMapping &Coverage);
78 createSourceFileView(StringRef SourceFile, CoverageMapping &Coverage);
81 std::unique_ptr<CoverageMapping> load();
174 CoverageMapping &Coverage) { in attachExpansionSubViews()
196 CoverageMapping &Coverage) { in createFunctionView()
214 CoverageMapping &Coverage) { in createSourceFileView()
258 std::unique_ptr<CoverageMapping> CodeCoverageTool::load() { in load()
261 auto CoverageOrErr = CoverageMapping::load(ObjectFilename, PGOFilename, in load()
/external/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp186 Expected<std::unique_ptr<CoverageMapping>>
187 CoverageMapping::load(CoverageMappingReader &CoverageReader, in load()
189 auto Coverage = std::unique_ptr<CoverageMapping>(new CoverageMapping()); in load()
236 Expected<std::unique_ptr<CoverageMapping>>
237 CoverageMapping::load(StringRef ObjectFilename, StringRef ProfileFilename, in load()
413 std::vector<StringRef> CoverageMapping::getUniqueSourceFiles() const { in getUniqueSourceFiles()
459 CoverageData CoverageMapping::getCoverageForFile(StringRef Filename) const { in getCoverageForFile()
481 CoverageMapping::getInstantiations(StringRef Filename) { in getInstantiations()
501 CoverageMapping::getCoverageForFunction(const FunctionRecord &Function) { in getCoverageForFunction()
522 CoverageMapping::getCoverageForExpansion(const ExpansionRecord &Expansion) { in getCoverageForExpansion()
DCoverageMappingReader.cpp411 OldRecord.FunctionHash, OldRecord.CoverageMapping); in insertFunctionRecordIfNeeded()
423 OldRecord.CoverageMapping = Mapping; in insertFunctionRecordIfNeeded()
544 StringRef &CoverageMapping, in loadTestingFormat() argument
571 CoverageMapping = Data.substr(ProfileNamesSize); in loadTestingFormat()
573 if (CoverageMapping.size() < 1) in loadTestingFormat()
575 size_t Pad = alignmentAdjustment(CoverageMapping.data(), 8); in loadTestingFormat()
576 if (CoverageMapping.size() < Pad) in loadTestingFormat()
578 CoverageMapping = CoverageMapping.substr(Pad); in loadTestingFormat()
595 StringRef &CoverageMapping, in loadBinaryFormat() argument
635 if (auto EC = CoverageSection->getContents(CoverageMapping)) in loadBinaryFormat()
[all …]
DCMakeLists.txt2 CoverageMapping.cpp
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMappingReader.h156 StringRef CoverageMapping; member
161 uint64_t FunctionHash, StringRef CoverageMapping, in ProfileMappingRecord()
164 FunctionHash(FunctionHash), CoverageMapping(CoverageMapping), in ProfileMappingRecord()
DCoverageMapping.h79 class CoverageMapping; variable
407 friend class CoverageMapping; variable
433 class CoverageMapping {
437 CoverageMapping() : MismatchedFunctionCount(0) {} in CoverageMapping() function
441 static Expected<std::unique_ptr<CoverageMapping>>
446 static Expected<std::unique_ptr<CoverageMapping>>
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp198 Error CoverageMapping::loadFunctionRecord( in loadFunctionRecord()
252 Expected<std::unique_ptr<CoverageMapping>> CoverageMapping::load( in load()
255 auto Coverage = std::unique_ptr<CoverageMapping>(new CoverageMapping()); in load()
270 Expected<std::unique_ptr<CoverageMapping>>
271 CoverageMapping::load(ArrayRef<StringRef> ObjectFilenames, in load()
555 std::vector<StringRef> CoverageMapping::getUniqueSourceFiles() const { in getUniqueSourceFiles()
601 CoverageData CoverageMapping::getCoverageForFile(StringRef Filename) const { in getCoverageForFile()
623 CoverageMapping::getInstantiationGroups(StringRef Filename) const { in getInstantiationGroups()
643 CoverageMapping::getCoverageForFunction(const FunctionRecord &Function) const { in getCoverageForFunction()
664 CoverageData CoverageMapping::getCoverageForExpansion( in getCoverageForExpansion()
DCoverageMappingReader.cpp437 OldRecord.FunctionHash, OldRecord.CoverageMapping); in insertFunctionRecordIfNeeded()
449 OldRecord.CoverageMapping = Mapping; in insertFunctionRecordIfNeeded()
581 StringRef &CoverageMapping, in loadTestingFormat() argument
608 CoverageMapping = Data.substr(ProfileNamesSize); in loadTestingFormat()
610 if (CoverageMapping.empty()) in loadTestingFormat()
612 size_t Pad = alignmentAdjustment(CoverageMapping.data(), 8); in loadTestingFormat()
613 if (CoverageMapping.size() < Pad) in loadTestingFormat()
615 CoverageMapping = CoverageMapping.substr(Pad); in loadTestingFormat()
632 StringRef &CoverageMapping, in loadBinaryFormat() argument
676 if (auto EC = CoverageSection->getContents(CoverageMapping)) in loadBinaryFormat()
[all …]
DCMakeLists.txt2 CoverageMapping.cpp
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMappingReader.h180 StringRef CoverageMapping; member
185 uint64_t FunctionHash, StringRef CoverageMapping, in ProfileMappingRecord()
188 FunctionHash(FunctionHash), CoverageMapping(CoverageMapping), in ProfileMappingRecord()
DCoverageMapping.h418 friend class CoverageMapping; variable
475 friend class CoverageMapping; variable
509 class CoverageMapping {
515 CoverageMapping() = default;
522 CoverageMapping(const CoverageMapping &) = delete;
523 CoverageMapping &operator=(const CoverageMapping &) = delete;
526 static Expected<std::unique_ptr<CoverageMapping>>
532 static Expected<std::unique_ptr<CoverageMapping>>
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp636 if (CGM.getCodeGenOpts().CoverageMapping) in assignRegionCounters()
676 std::string CoverageMapping; in emitCounterRegionMapping() local
677 llvm::raw_string_ostream OS(CoverageMapping); in emitCounterRegionMapping()
684 if (CoverageMapping.empty()) in emitCounterRegionMapping()
688 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping()
697 std::string CoverageMapping; in emitEmptyCounterMapping() local
698 llvm::raw_string_ostream OS(CoverageMapping); in emitEmptyCounterMapping()
705 if (CoverageMapping.empty()) in emitEmptyCounterMapping()
710 FuncNameVar, FuncName, FunctionHash, CoverageMapping, false); in emitEmptyCounterMapping()
DCoverageMappingGen.h74 const std::string &CoverageMapping,

12