Home
last modified time | relevance | path

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

/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/tools/llvm-cov/
DTestingSupport.cpp50 SectionRef ProfileNames, CoverageMapping; in convertForTestingMain() local
58 CoverageMapping = Section; in convertForTestingMain()
70 if (CoverageMapping.getContents(CoverageMappingData) || in convertForTestingMain()
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()
DCoverageReport.h25 std::unique_ptr<coverage::CoverageMapping> Coverage;
32 std::unique_ptr<coverage::CoverageMapping> Coverage) in CoverageReport()
DCoverageReport.cpp95 static void adjustColumnWidths(coverage::CoverageMapping *CM) { in adjustColumnWidths()
/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/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,
DCoverageMappingGen.cpp962 const std::string &CoverageMapping, bool IsUsed) { in addFunctionMappingRecord() argument
983 CoverageMappings.push_back(CoverageMapping); in addFunctionMappingRecord()
998 RawCoverageMappingReader Reader(CoverageMapping, FilenameRefs, Filenames, in addFunctionMappingRecord()
DCodeGenModule.h486 std::unique_ptr<CoverageMappingModuleGen> CoverageMapping; variable
543 return CoverageMapping.get(); in getCoverageMapping()
DCodeGenModule.cpp157 if (CodeGenOpts.CoverageMapping) in CodeGenModule()
158 CoverageMapping.reset(new CoverageMappingModuleGen(*this, *CoverageInfo)); in CodeGenModule()
405 if (CoverageMapping) in Release()
406 CoverageMapping->emit(); in Release()
3952 if (!CodeGenOpts.CoverageMapping) in AddDeferredUnusedCoverageMapping()
3975 if (!CodeGenOpts.CoverageMapping) in ClearUnusedCoverageMapping()
DCodeGenAction.cpp747 if (CI.getCodeGenOpts().CoverageMapping) { in CreateASTConsumer()
/external/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp108 std::unique_ptr<CoverageMapping> LoadedCoverage;
202 auto CoverageOrErr = CoverageMapping::load(CovReader, *ProfileReader); in loadCoverageMapping()
/external/clang/include/clang/Frontend/
DCodeGenOptions.def124 CODEGENOPT(CoverageMapping , 1, 0) ///< Generate coverage mapping regions to
/external/compiler-rt/lib/profile/
DInstrProfData.inc211 CoverageMapping.size()))
/external/llvm/include/llvm/ProfileData/
DInstrProfData.inc211 CoverageMapping.size()))
/external/clang/lib/Frontend/
DCompilerInvocation.cpp542 Opts.CoverageMapping = in ParseCodeGenArgs()