Home
last modified time | relevance | path

Searched refs:TargetFunction (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp184 Function *TargetFunction; member
187 PromotionCandidate(Function *F, uint64_t C) : TargetFunction(F), Count(C) {} in PromotionCandidate()
274 Function *TargetFunction = Symtab->getFunction(Target); in getPromotionCandidatesForCallSite() local
275 if (TargetFunction == nullptr || TargetFunction->isDeclaration()) { in getPromotionCandidatesForCallSite()
286 if (!isLegalToPromote(CB, TargetFunction, &Reason)) { in getPromotionCandidatesForCallSite()
292 << NV("TargetFunction", TargetFunction) << " with count of " in getPromotionCandidatesForCallSite()
298 Ret.push_back(PromotionCandidate(TargetFunction, Count)); in getPromotionCandidatesForCallSite()
346 pgo::promoteIndirectCall(CB, C.TargetFunction, Count, TotalCount, SamplePGO, in tryToPromote()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h1366 Function **TargetFunction = nullptr);