Home
last modified time | relevance | path

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

/external/llvm/lib/ProfileData/
DCoverageMapping.cpp184 ErrorOr<std::unique_ptr<CoverageMapping>>
185 CoverageMapping::load(CoverageMappingReader &CoverageReader, in load()
187 auto Coverage = std::unique_ptr<CoverageMapping>(new CoverageMapping()); in load()
229 ErrorOr<std::unique_ptr<CoverageMapping>>
230 CoverageMapping::load(StringRef ObjectFilename, StringRef ProfileFilename, in load()
347 std::vector<StringRef> CoverageMapping::getUniqueSourceFiles() const { in getUniqueSourceFiles()
408 CoverageData CoverageMapping::getCoverageForFile(StringRef Filename) { in getCoverageForFile()
433 CoverageMapping::getInstantiations(StringRef Filename) { in getInstantiations()
453 CoverageMapping::getCoverageForFunction(const FunctionRecord &Function) { in getCoverageForFunction()
475 CoverageMapping::getCoverageForExpansion(const ExpansionRecord &Expansion) { in getCoverageForExpansion()
DCoverageMappingReader.cpp397 StringRef &CoverageMapping, in loadTestingFormat() argument
423 CoverageMapping = Data.substr(ProfileNamesSize); in loadTestingFormat()
440 StringRef &CoverageMapping, uint8_t &BytesInAddress, in loadBinaryFormat() argument
479 if (std::error_code EC = CoverageSection->getContents(CoverageMapping)) in loadBinaryFormat()
536 R.CoverageMapping, in readNextRecord()
DCMakeLists.txt5 CoverageMapping.cpp
DAndroid.mk4 CoverageMapping.cpp \
/external/llvm/tools/llvm-cov/
DTestingSupport.cpp52 SectionRef ProfileNames, CoverageMapping; in convertForTestingMain() local
60 CoverageMapping = Section; in convertForTestingMain()
72 if (CoverageMapping.getContents(CoverageMappingData) || in convertForTestingMain()
DCodeCoverage.cpp60 CoverageMapping &Coverage);
64 createFunctionView(const FunctionRecord &Function, CoverageMapping &Coverage);
68 createSourceFileView(StringRef SourceFile, CoverageMapping &Coverage);
71 std::unique_ptr<CoverageMapping> load();
126 CoverageMapping &Coverage) { in attachExpansionSubViews()
147 CoverageMapping &Coverage) { in createFunctionView()
165 CoverageMapping &Coverage) { in createSourceFileView()
208 std::unique_ptr<CoverageMapping> CodeCoverageTool::load() { in load()
211 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/
DCoverageMappingReader.h146 StringRef CoverageMapping; member
151 uint64_t FunctionHash, StringRef CoverageMapping, in ProfileMappingRecord()
154 FunctionHash(FunctionHash), CoverageMapping(CoverageMapping), in ProfileMappingRecord()
DCoverageMapping.h35 class CoverageMapping; variable
372 friend class CoverageMapping; variable
398 class CoverageMapping {
402 CoverageMapping() : MismatchedFunctionCount(0) {} in CoverageMapping() function
406 static ErrorOr<std::unique_ptr<CoverageMapping>>
411 static ErrorOr<std::unique_ptr<CoverageMapping>>
DInstrProfData.inc164 CoverageMapping.size()))
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp630 if (CGM.getCodeGenOpts().CoverageMapping) in assignRegionCounters()
664 std::string CoverageMapping; in emitCounterRegionMapping() local
665 llvm::raw_string_ostream OS(CoverageMapping); in emitCounterRegionMapping()
672 if (CoverageMapping.empty()) in emitCounterRegionMapping()
676 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping()
689 std::string CoverageMapping; in emitEmptyCounterMapping() local
690 llvm::raw_string_ostream OS(CoverageMapping); in emitEmptyCounterMapping()
697 if (CoverageMapping.empty()) in emitEmptyCounterMapping()
702 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitEmptyCounterMapping()
DCoverageMappingGen.h73 const std::string &CoverageMapping);
DCoverageMappingGen.cpp914 uint64_t FuncHash, const std::string &CoverageMapping) { in addFunctionMappingRecord() argument
932 CoverageMappings += CoverageMapping; in addFunctionMappingRecord()
947 RawCoverageMappingReader Reader(CoverageMapping, FilenameRefs, Filenames, in addFunctionMappingRecord()
DCodeGenModule.h480 std::unique_ptr<CoverageMappingModuleGen> CoverageMapping; variable
537 return CoverageMapping.get(); in getCoverageMapping()
DCodeGenModule.cpp164 if (CodeGenOpts.CoverageMapping) in CodeGenModule()
165 CoverageMapping.reset(new CoverageMappingModuleGen(*this, *CoverageInfo)); in CodeGenModule()
388 if (CoverageMapping) in Release()
389 CoverageMapping->emit(); in Release()
3641 if (!CodeGenOpts.CoverageMapping) in AddDeferredUnusedCoverageMapping()
3664 if (!CodeGenOpts.CoverageMapping) in ClearUnusedCoverageMapping()
DCodeGenAction.cpp715 if (CI.getCodeGenOpts().CoverageMapping) { in CreateASTConsumer()
/external/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp91 std::unique_ptr<CoverageMapping> LoadedCoverage;
151 auto CoverageOrErr = CoverageMapping::load(CovReader, *ProfileReader); in loadCoverageMapping()
/external/clang/include/clang/Frontend/
DCodeGenOptions.def108 CODEGENOPT(CoverageMapping , 1, 0) ///< Generate coverage mapping regions to
/external/compiler-rt/lib/profile/
DInstrProfData.inc164 CoverageMapping.size()))
/external/clang/lib/Frontend/
DCompilerInvocation.cpp457 Opts.CoverageMapping = in ParseCodeGenArgs()