/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 186 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()
|
D | CoverageMappingReader.cpp | 411 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 …]
|
D | CMakeLists.txt | 2 CoverageMapping.cpp
|
/external/llvm/tools/llvm-cov/ |
D | TestingSupport.cpp | 50 SectionRef ProfileNames, CoverageMapping; in convertForTestingMain() local 58 CoverageMapping = Section; in convertForTestingMain() 70 if (CoverageMapping.getContents(CoverageMappingData) || in convertForTestingMain()
|
D | CodeCoverage.cpp | 70 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()
|
D | CoverageReport.h | 25 std::unique_ptr<coverage::CoverageMapping> Coverage; 32 std::unique_ptr<coverage::CoverageMapping> Coverage) in CoverageReport()
|
D | CoverageReport.cpp | 95 static void adjustColumnWidths(coverage::CoverageMapping *CM) { in adjustColumnWidths()
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMappingReader.h | 156 StringRef CoverageMapping; member 161 uint64_t FunctionHash, StringRef CoverageMapping, in ProfileMappingRecord() 164 FunctionHash(FunctionHash), CoverageMapping(CoverageMapping), in ProfileMappingRecord()
|
D | CoverageMapping.h | 79 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/ |
D | CodeGenPGO.cpp | 636 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()
|
D | CoverageMappingGen.h | 74 const std::string &CoverageMapping,
|
D | CoverageMappingGen.cpp | 962 const std::string &CoverageMapping, bool IsUsed) { in addFunctionMappingRecord() argument 983 CoverageMappings.push_back(CoverageMapping); in addFunctionMappingRecord() 998 RawCoverageMappingReader Reader(CoverageMapping, FilenameRefs, Filenames, in addFunctionMappingRecord()
|
D | CodeGenModule.h | 486 std::unique_ptr<CoverageMappingModuleGen> CoverageMapping; variable 543 return CoverageMapping.get(); in getCoverageMapping()
|
D | CodeGenModule.cpp | 157 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()
|
D | CodeGenAction.cpp | 747 if (CI.getCodeGenOpts().CoverageMapping) { in CreateASTConsumer()
|
/external/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 108 std::unique_ptr<CoverageMapping> LoadedCoverage; 202 auto CoverageOrErr = CoverageMapping::load(CovReader, *ProfileReader); in loadCoverageMapping()
|
/external/clang/include/clang/Frontend/ |
D | CodeGenOptions.def | 124 CODEGENOPT(CoverageMapping , 1, 0) ///< Generate coverage mapping regions to
|
/external/compiler-rt/lib/profile/ |
D | InstrProfData.inc | 211 CoverageMapping.size()))
|
/external/llvm/include/llvm/ProfileData/ |
D | InstrProfData.inc | 211 CoverageMapping.size()))
|
/external/clang/lib/Frontend/ |
D | CompilerInvocation.cpp | 542 Opts.CoverageMapping = in ParseCodeGenArgs()
|