Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp124 Function *TargetFunction; member
127 PromotionCandidate(Function *F, uint64_t C) : TargetFunction(F), Count(C) {} in PromotionCandidate()
214 Function *TargetFunction = Symtab->getFunction(Target); in getPromotionCandidatesForCallSite() local
215 if (TargetFunction == nullptr || TargetFunction->isDeclaration()) { in getPromotionCandidatesForCallSite()
226 if (!isLegalToPromote(CB, TargetFunction, &Reason)) { in getPromotionCandidatesForCallSite()
232 << NV("TargetFunction", TargetFunction) << " with count of " in getPromotionCandidatesForCallSite()
238 Ret.push_back(PromotionCandidate(TargetFunction, Count)); in getPromotionCandidatesForCallSite()
286 pgo::promoteIndirectCall(CB, C.TargetFunction, Count, TotalCount, SamplePGO, in tryToPromote()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h1622 Function **TargetFunction = nullptr);