Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp331 Function *const TargetFunction; member
344 PromotionCandidate(Function *F, uint64_t C) : TargetFunction(F), Count(C) {} in PromotionCandidate()
479 Function *TargetFunction = Symtab->getFunction(Target); in getPromotionCandidatesForCallSite() local
480 if (TargetFunction == nullptr || TargetFunction->isDeclaration()) { in getPromotionCandidatesForCallSite()
491 if (!isLegalToPromote(CB, TargetFunction, &Reason)) { in getPromotionCandidatesForCallSite()
497 << NV("TargetFunction", TargetFunction) << " with count of " in getPromotionCandidatesForCallSite()
503 Ret.push_back(PromotionCandidate(TargetFunction, Count)); in getPromotionCandidatesForCallSite()
560 CalleeIndexMap[Candidates[I].TargetFunction] = I; in computeVTableInfos()
651 pgo::promoteIndirectCall(CB, C.TargetFunction, FuncCount, TotalCount, in tryToPromoteWithFuncCmp()
740 CB, VPtr, Candidate.TargetFunction, Candidate.AddressPoints, in tryToPromoteWithVTableCmp()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp5543 Function *TargetFunction = Symtab->getFunction(Candidate.Value); in performICP() local
5544 if (TargetFunction == nullptr || in performICP()
5550 TargetFunction->isDeclaration())) { in performICP()
5564 if (!isLegalToPromote(*CB, TargetFunction, &Reason)) { in performICP()
5568 << ore::NV("TargetFunction", TargetFunction) in performICP()
5575 assert(!isMemProfClone(*TargetFunction)); in performICP()
5589 pgo::promoteIndirectCall(*CBClone, TargetFunction, Candidate.Count, in performICP()
5591 auto *TargetToUse = TargetFunction; in performICP()
5597 getMemProfFuncName(TargetFunction->getName(), in performICP()
5599 TargetFunction->getFunctionType()) in performICP()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h1725 SDValue Op, Function **TargetFunction = nullptr);