Home
last modified time | relevance | path

Searched refs:InstrProfCorrelator (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfCorrelator.h35 class InstrProfCorrelator {
41 LLVM_ABI static llvm::Expected<std::unique_ptr<InstrProfCorrelator>>
75 virtual ~InstrProfCorrelator() = default;
97 InstrProfCorrelator(InstrProfCorrelatorKind K, std::unique_ptr<Context> Ctx) in InstrProfCorrelator() function
122 static llvm::Expected<std::unique_ptr<InstrProfCorrelator>>
131 class InstrProfCorrelatorImpl : public InstrProfCorrelator {
133 InstrProfCorrelatorImpl(std::unique_ptr<InstrProfCorrelator::Context> Ctx);
134 static bool classof(const InstrProfCorrelator *C);
146 get(std::unique_ptr<InstrProfCorrelator::Context> Ctx,
155 InstrProfCorrelator::CorrelationData *Data = nullptr) = 0;
[all …]
H A DInstrProfReader.h209 const InstrProfCorrelator *Correlator = nullptr,
211 const InstrProfCorrelator::ProfCorrelatorKind BIDFetcherCorrelatorKind =
212 InstrProfCorrelator::ProfCorrelatorKind::NONE,
217 const InstrProfCorrelator *Correlator = nullptr,
219 const InstrProfCorrelator::ProfCorrelatorKind BIDFetcherCorrelatorKind =
220 InstrProfCorrelator::ProfCorrelatorKind::NONE,
339 std::unique_ptr<InstrProfCorrelator> BIDFetcherCorrelator;
342 InstrProfCorrelator::ProfCorrelatorKind BIDFetcherCorrelatorKind;
380 const InstrProfCorrelator *Correlator, in RawInstrProfReader()
382 const InstrProfCorrelator::ProfCorrelatorKind BIDFetcherCorrelatorKind, in RawInstrProfReader()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp51 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()
152 llvm::Expected<std::unique_ptr<InstrProfCorrelator>>
153 InstrProfCorrelator::get(std::unique_ptr<MemoryBuffer> Buffer, in get()
[all …]
H A DInstrProfReader.cpp158 const InstrProfCorrelator *Correlator, in create()
160 const InstrProfCorrelator::ProfCorrelatorKind BIDFetcherCorrelatorKind, in create()
171 std::unique_ptr<MemoryBuffer> Buffer, const InstrProfCorrelator *Correlator, in create()
173 const InstrProfCorrelator::ProfCorrelatorKind BIDFetcherCorrelatorKind, in create()
652 if (auto E = InstrProfCorrelator::get("", BIDFetcherCorrelatorKind, in readHeader()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Driver/
H A DCodeGenOptions.cpp16 extern llvm::cl::opt<llvm::InstrProfCorrelator::ProfCorrelatorKind>
68 llvm::ProfileCorrelate != InstrProfCorrelator::NONE in getDefaultProfileGenName()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp80 LLVM_ABI cl::opt<InstrProfCorrelator::ProfCorrelatorKind> ProfileCorrelate(
83 cl::init(InstrProfCorrelator::NONE),
84 cl::values(clEnumValN(InstrProfCorrelator::NONE, "",
86 clEnumValN(InstrProfCorrelator::DEBUG_INFO, "debug-info",
88 clEnumValN(InstrProfCorrelator::BINARY, "binary",
1050 !DebugInfoCorrelate && ProfileCorrelate == InstrProfCorrelator::NONE && in lowerValueProfileInst()
1588 ProfileCorrelate == InstrProfCorrelator::DEBUG_INFO) && in setupProfileSection()
1695 ProfileCorrelate == InstrProfCorrelator::DEBUG_INFO) { in getOrCreateRegionCounters()
1701 MDString::get(Ctx, InstrProfCorrelator::FunctionNameAttributeName), in getOrCreateRegionCounters()
1705 MDString::get(Ctx, InstrProfCorrelator::CFGHashAttributeName), in getOrCreateRegionCounters()
[all …]
H A DPGOInstrumentation.cpp363 LLVM_ABI extern cl::opt<InstrProfCorrelator::ProfCorrelatorKind>
461 if (DebugInfoCorrelate || ProfileCorrelate == InstrProfCorrelator::DEBUG_INFO) in createIRLevelProfileFlagVar()
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp53 using ProfCorrelatorKind = InstrProfCorrelator::ProfCorrelatorKind;
148 cl::init(InstrProfCorrelator::NONE),
149 cl::values(clEnumValN(InstrProfCorrelator::NONE, "",
151 clEnumValN(InstrProfCorrelator::DEBUG_INFO, "debug-info",
153 clEnumValN(InstrProfCorrelator::BINARY, "binary",
696 const InstrProfCorrelator *Correlator, const StringRef ProfiledBinary, in loadInput()
998 std::unique_ptr<InstrProfCorrelator> Correlator; in mergeInstrProfile()
999 if (CorrelateKind != InstrProfCorrelator::NONE) { in mergeInstrProfile()
1000 if (auto Err = InstrProfCorrelator::get(CorrelateFilename, CorrelateKind) in mergeInstrProfile()
3343 std::unique_ptr<InstrProfCorrelator> Correlator; in showDebugInfoCorrelation()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp121 LLVM_ABI extern cl::opt<InstrProfCorrelator::ProfCorrelatorKind>
/freebsd/lib/clang/libllvm/
H A DMakefile1162 SRCS_MIN+= ProfileData/InstrProfCorrelator.cpp