Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfCorrelator.h32 class InstrProfCorrelator {
38 static llvm::Expected<std::unique_ptr<InstrProfCorrelator>>
70 virtual ~InstrProfCorrelator() = default;
117 static llvm::Expected<std::unique_ptr<InstrProfCorrelator>>
126 class InstrProfCorrelatorImpl : public InstrProfCorrelator {
129 static bool classof(const InstrProfCorrelator *C);
141 get(std::unique_ptr<InstrProfCorrelator::Context> Ctx,
150 InstrProfCorrelator::CorrelationData *Data = nullptr) = 0;
168 : InstrProfCorrelator(Kind, std::move(Ctx)){};
221 InstrProfCorrelator::CorrelationData *Data = nullptr) override;
[all …]
H A DInstrProfReader.h202 const InstrProfCorrelator *Correlator = nullptr,
207 const InstrProfCorrelator *Correlator = nullptr,
349 const InstrProfCorrelator *Correlator, in RawInstrProfReader()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp55 llvm::Expected<std::unique_ptr<InstrProfCorrelator::Context>>
63 if (FileKind == InstrProfCorrelator::BINARY) { in get()
93 llvm::Expected<std::unique_ptr<InstrProfCorrelator>>
128 llvm::Expected<std::unique_ptr<InstrProfCorrelator>>
129 InstrProfCorrelator::get(std::unique_ptr<MemoryBuffer> Buffer, in get()
151 std::optional<size_t> InstrProfCorrelator::getDataSize() const { in getDataSize()
164 std::unique_ptr<InstrProfCorrelator::Context> Ctx) in InstrProfCorrelatorImpl()
169 std::unique_ptr<InstrProfCorrelator::Context> Ctx) in InstrProfCorrelatorImpl()
186 std::unique_ptr<InstrProfCorrelator::Context> Ctx, in get()
245 InstrProfCorrelator::CorrelationData Data; in dumpYaml()
[all …]
H A DInstrProfReader.cpp158 const InstrProfCorrelator *Correlator, in create()
170 const InstrProfCorrelator *Correlator, in create()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp75 cl::opt<InstrProfCorrelator::ProfCorrelatorKind> ProfileCorrelate(
78 cl::init(InstrProfCorrelator::NONE),
79 cl::values(clEnumValN(InstrProfCorrelator::NONE, "",
81 clEnumValN(InstrProfCorrelator::DEBUG_INFO, "debug-info",
83 clEnumValN(InstrProfCorrelator::BINARY, "binary",
1235 ProfileCorrelate == InstrProfCorrelator::DEBUG_INFO) && in setupProfileSection()
1358 ProfileCorrelate == InstrProfCorrelator::DEBUG_INFO) { in getOrCreateRegionCounters()
1368 MDString::get(Ctx, InstrProfCorrelator::CFGHashAttributeName), in getOrCreateRegionCounters()
1372 MDString::get(Ctx, InstrProfCorrelator::NumCountersAttributeName), in getOrCreateRegionCounters()
1507 if (ProfileCorrelate == InstrProfCorrelator::BINARY) { in createDataVariable()
[all …]
H A DPGOInstrumentation.cpp330 extern cl::opt<InstrProfCorrelator::ProfCorrelatorKind> ProfileCorrelate;
381 if (DebugInfoCorrelate || ProfileCorrelate == InstrProfCorrelator::DEBUG_INFO) in createIRLevelProfileFlagVar()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp49 using ProfCorrelatorKind = InstrProfCorrelator::ProfCorrelatorKind;
616 const InstrProfCorrelator *Correlator, in loadInput()
872 std::unique_ptr<InstrProfCorrelator> Correlator; in mergeInstrProfile()
873 if (CorrelateKind != InstrProfCorrelator::NONE) { in mergeInstrProfile()
874 if (auto Err = InstrProfCorrelator::get(CorrelateFilename, CorrelateKind) in mergeInstrProfile()
3143 std::unique_ptr<InstrProfCorrelator> Correlator; in showDebugInfoCorrelation()
3145 InstrProfCorrelator::get(Filename, InstrProfCorrelator::DEBUG_INFO) in showDebugInfoCorrelation()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp106 extern cl::opt<InstrProfCorrelator::ProfCorrelatorKind> ProfileCorrelate;
118 return DebugInfoCorrelate || ProfileCorrelate != InstrProfCorrelator::NONE in getDefaultProfileGenName()
/freebsd-14.2/lib/clang/libllvm/
H A DMakefile1054 SRCS_MIN+= ProfileData/InstrProfCorrelator.cpp