Searched refs:InstrProfCorrelator (Results 1 – 9 of 9) sorted by relevance
| /src/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfCorrelator.h | 32 class InstrProfCorrelator { 38 static llvm::Expected<std::unique_ptr<InstrProfCorrelator>> 70 virtual ~InstrProfCorrelator() = default; 92 InstrProfCorrelator(InstrProfCorrelatorKind K, std::unique_ptr<Context> Ctx) in InstrProfCorrelator() function 117 static llvm::Expected<std::unique_ptr<InstrProfCorrelator>> 126 class InstrProfCorrelatorImpl : public InstrProfCorrelator { 128 InstrProfCorrelatorImpl(std::unique_ptr<InstrProfCorrelator::Context> Ctx); 129 static bool classof(const InstrProfCorrelator *C); 141 get(std::unique_ptr<InstrProfCorrelator::Context> Ctx, 150 InstrProfCorrelator::CorrelationData *Data = nullptr) = 0; [all …]
|
| H A D | InstrProfReader.h | 202 const InstrProfCorrelator *Correlator = nullptr, 207 const InstrProfCorrelator *Correlator = nullptr, 353 const InstrProfCorrelator *Correlator, in RawInstrProfReader()
|
| /src/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | InstrProfCorrelator.cpp | 51 const char *InstrProfCorrelator::FunctionNameAttributeName = "Function Name"; 52 const char *InstrProfCorrelator::CFGHashAttributeName = "CFG Hash"; 53 const char *InstrProfCorrelator::NumCountersAttributeName = "Num Counters"; 55 llvm::Expected<std::unique_ptr<InstrProfCorrelator::Context>> 56 InstrProfCorrelator::Context::get(std::unique_ptr<MemoryBuffer> Buffer, in get() 63 if (FileKind == InstrProfCorrelator::BINARY) { in get() 93 llvm::Expected<std::unique_ptr<InstrProfCorrelator>> 94 InstrProfCorrelator::get(StringRef Filename, ProfCorrelatorKind FileKind) { in get() 128 llvm::Expected<std::unique_ptr<InstrProfCorrelator>> 129 InstrProfCorrelator::get(std::unique_ptr<MemoryBuffer> Buffer, in get() [all …]
|
| H A D | InstrProfReader.cpp | 155 const InstrProfCorrelator *Correlator, in create() 167 const InstrProfCorrelator *Correlator, in create()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 79 cl::opt<InstrProfCorrelator::ProfCorrelatorKind> ProfileCorrelate( 82 cl::init(InstrProfCorrelator::NONE), 83 cl::values(clEnumValN(InstrProfCorrelator::NONE, "", 85 clEnumValN(InstrProfCorrelator::DEBUG_INFO, "debug-info", 87 clEnumValN(InstrProfCorrelator::BINARY, "binary", 1039 !DebugInfoCorrelate && ProfileCorrelate == InstrProfCorrelator::NONE && in lowerValueProfileInst() 1591 ProfileCorrelate == InstrProfCorrelator::DEBUG_INFO) && in setupProfileSection() 1698 ProfileCorrelate == InstrProfCorrelator::DEBUG_INFO) { in getOrCreateRegionCounters() 1704 MDString::get(Ctx, InstrProfCorrelator::FunctionNameAttributeName), in getOrCreateRegionCounters() 1708 MDString::get(Ctx, InstrProfCorrelator::CFGHashAttributeName), in getOrCreateRegionCounters() [all …]
|
| H A D | PGOInstrumentation.cpp | 338 extern cl::opt<InstrProfCorrelator::ProfCorrelatorKind> ProfileCorrelate; 403 if (DebugInfoCorrelate || ProfileCorrelate == InstrProfCorrelator::DEBUG_INFO) in createIRLevelProfileFlagVar()
|
| /src/contrib/llvm-project/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 49 using ProfCorrelatorKind = InstrProfCorrelator::ProfCorrelatorKind; 654 const InstrProfCorrelator *Correlator, in loadInput() 930 std::unique_ptr<InstrProfCorrelator> Correlator; in mergeInstrProfile() 931 if (CorrelateKind != InstrProfCorrelator::NONE) { in mergeInstrProfile() 932 if (auto Err = InstrProfCorrelator::get(CorrelateFilename, CorrelateKind) in mergeInstrProfile() 3218 std::unique_ptr<InstrProfCorrelator> Correlator; in showDebugInfoCorrelation() 3220 InstrProfCorrelator::get(Filename, InstrProfCorrelator::DEBUG_INFO) in showDebugInfoCorrelation()
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | BackendUtil.cpp | 122 extern cl::opt<InstrProfCorrelator::ProfCorrelatorKind> ProfileCorrelate; 129 return DebugInfoCorrelate || ProfileCorrelate != InstrProfCorrelator::NONE in getDefaultProfileGenName()
|
| /src/lib/clang/libllvm/ |
| H A D | Makefile | 1081 SRCS_MIN+= ProfileData/InstrProfCorrelator.cpp
|