Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCtxProfAnalysis.h23 class CtxProfAnalysis; variable
31 friend class CtxProfAnalysis; variable
115 auto PAC = PA.getChecker<CtxProfAnalysis>(); in invalidate()
120 class CtxProfAnalysis : public AnalysisInfoMixin<CtxProfAnalysis> {
125 LLVM_ABI explicit CtxProfAnalysis(
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCtxProfAnalysis.cpp268 if (const auto *Inst = CtxProfAnalysis::getSelectInstrumentation( in allNonColdSelectsHaveProfile()
319 if (auto *Ins = CtxProfAnalysis::getBBInstrumentation( in ProfileAnnotatorImpl()
383 auto *Step = CtxProfAnalysis::getSelectInstrumentation(SI); in getSelectInstrProfile()
448 AnalysisKey CtxProfAnalysis::Key;
450 CtxProfAnalysis::CtxProfAnalysis(std::optional<StringRef> Profile) in CtxProfAnalysis() function in CtxProfAnalysis
459 PGOContextualProfile CtxProfAnalysis::run(Module &M, in run()
562 CtxProfAnalysis::Result &C = MAM.getResult<CtxProfAnalysis>(M); in run()
594 InstrProfCallsite *CtxProfAnalysis::getCallsiteInstrumentation(CallBase &CB) { in getCallsiteInstrumentation()
607 InstrProfIncrementInst *CtxProfAnalysis::getBBInstrumentation(BasicBlock &BB) { in getBBInstrumentation()
616 CtxProfAnalysis::getSelectInstrumentation(SelectInst &SI) { in getSelectInstrumentation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOCtxProfFlattening.cpp124 void annotateIndirectCalls(Module &M, const CtxProfAnalysis::Result &CtxProf) { in annotateIndirectCalls()
138 if (auto *Ins = CtxProfAnalysis::getCallsiteInstrumentation(*CB)) in annotateIndirectCalls()
161 auto &CtxProf = MAM.getResult<CtxProfAnalysis>(M); in run()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp585 auto *CSInstr = CtxProfAnalysis::getCallsiteInstrumentation(CB); in promoteCallWithIfThenElse()
601 assert((CtxProfAnalysis::getBBInstrumentation(IndirectBB) == nullptr) && in promoteCallWithIfThenElse()
603 assert((CtxProfAnalysis::getBBInstrumentation(DirectBB) == nullptr) && in promoteCallWithIfThenElse()
610 CtxProfAnalysis::getBBInstrumentation(Caller.getEntryBlock()); in promoteCallWithIfThenElse()
H A DInlineFunction.cpp2297 auto *BBID = CtxProfAnalysis::getBBInstrumentation(*BB); in remapIndices()
2383 auto *CallsiteIDIns = CtxProfAnalysis::getCallsiteInstrumentation(CB); in InlineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DModuleInliner.cpp124 auto &CtxProf = MAM.getResult<CtxProfAnalysis>(M); in run()
176 CtxProfAnalysis::collectIndirectCallPromotionList(*CB, CtxProf, in run()
H A DElimAvailExtern.cpp161 auto *CtxProf = MAM.getCachedResult<CtxProfAnalysis>(M); in run()
/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DPassRegistry.def23 MODULE_ANALYSIS("ctx-prof-analysis", CtxProfAnalysis())
/freebsd/lib/clang/libllvm/
H A DMakefile96 SRCS_MIN+= Analysis/CtxProfAnalysis.cpp