Home
last modified time | relevance | path

Searched refs:getCaller (Results 1 – 25 of 46) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DModuleInliner.cpp158 << NV("Caller", CB->getCaller()) in run()
183 Function &F = *CB->getCaller(); in run()
212 &FAM.getResult<BlockFrequencyAnalysis>(*(CB->getCaller())), in run()
217 &FAM.getResult<AAManager>(*CB->getCaller())); in run()
262 return Call.first->getCaller() == &Callee; in run()
H A DInliner.cpp267 << NV("Caller", CB->getCaller()) in run()
306 Function &F = *Calls[I].first->getCaller(); in run()
323 for (; I < (int)Calls.size() && Calls[I].first->getCaller() == &F; ++I) { in run()
375 &FAM.getResult<BlockFrequencyAnalysis>(*(CB->getCaller())), in run()
380 &FAM.getResult<AAManager>(*CB->getCaller())); in run()
447 return Call.first->getCaller() == &Callee; in run()
H A DSyntheticCountsPropagation.cpp108 Function *Caller = CB.getCaller(); in run()
H A DAlwaysInliner.cpp60 Function *Caller = CB->getCaller(); in AlwaysInlineImpl()
H A DPartialInlining.cpp729 Function *Caller = CB.getCaller(); in shouldPartialInline()
928 Function *Caller = CB->getCaller(); in computeCallsiteToProfCountMap()
1376 OptimizationRemarkEmitter CallerORE(CB->getCaller()); in tryPartialInline()
1384 << ore::NV("Caller", CB->getCaller()); in tryPartialInline()
H A DArgumentPromotion.cpp283 AttributeFuncs::updateMinLegalVectorWidthAttr(*CB.getCaller(), in doPromotion()
689 const Function *Caller = CB->getCaller(); in areTypesABICompatible()
H A DOpenMPOpt.cpp1249 Function *OutlinedFn = MergableCIs.front()->getCaller(); in mergeParallelRegions()
1447 << CI->getCaller()->getName() << "\n"); in deleteParallelRegions()
1722 Function *F = RuntimeCall.getCaller(); in splitTargetDataBeginRTC()
1886 assert(CI->getCaller() == &F && "Unexpected call!"); in deduplicateRuntimeCalls()
3571 if (CB->getCaller() != F) in updateImpl()
4259 Kernel = CB->getCaller(); in changeToSPMDMode()
5090 *this, IRPosition::function(*CB.getCaller()), DepClassTy::OPTIONAL); in updateImpl()
5092 *this, IRPosition::function(*CB.getCaller()), DepClassTy::OPTIONAL); in updateImpl()
5550 A.isRunOn(const_cast<Function *>(CB->getCaller())); in registerAAs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp136 Function &Caller = *CB.getCaller(); in getDefaultInlineAdvice()
172 FAM.getResult<OptimizationRemarkEmitterAnalysis>(*CB.getCaller())); in getAdviceImpl()
178 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()), in InlineAdvice()
384 Function *Caller = CB.getCaller(); in shouldInline()
618 bool Advice = CB.getCaller() != CB.getCalledFunction() && in getAdvice()
625 return FAM.getResult<OptimizationRemarkEmitterAnalysis>(*CB.getCaller()); in getCallerORE()
H A DMLInlineAdvisor.cpp273 Function *Caller = Advice.getCaller(); in onSuccessfulInlining()
328 auto &Caller = *CB.getCaller(); in getAdviceImpl()
433 if (!FAM.getResult<DominatorTreeAnalysis>(*CB.getCaller()) in getSkipAdviceIfUnreachableCallsite()
489 FPU.emplace(Advisor->getCachedFPI(*getCaller()), CB); in MLInlineAdvice()
H A DHeatUtils.cpp45 if (CI->getCaller() == (&callerFunction)) { in getNumOfCalls()
H A DReplayInlineAdvisor.cpp96 Function &Caller = *CB.getCaller(); in getAdviceImpl()
H A DProfileSummaryInfo.cpp214 return hasSampleProfile() && CB.getCaller()->hasProfileData(); in isColdCallSite()
H A DInlineCost.cpp698 addCost(TTI.getInlineCallPenalty(CandidateCall.getCaller(), Call, in onLoweredCall()
1868 CallerBFI->getBlockFreq(&(Call.getCaller()->getEntryBlock())); in isColdCallSite()
1908 Function *Caller = Call.getCaller(); in updateThreshold()
2922 Cost += TTI.getInlineCallPenalty(Call.getCaller(), Call, CallPenalty); in getCallsiteCost()
3018 Function *Caller = Call.getCaller(); in getAttributeBasedInliningDecision()
3064 << "... (caller:" << Call.getCaller()->getName() in getInlineCost()
3263 << "... (caller:" << CI->getCaller()->getName() << ")\n"; in run()
H A DInlineOrder.cpp48 Function &Caller = *CB.getCaller(); in getInlineCostWrapper()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallGraphUpdater.cpp152 Function *Caller = OldCS.getCaller(); in replaceCallSite()
169 Function *Caller = CS.getCaller(); in removeCallSite()
H A DCallPromotionUtils.cpp564 Module *M = CB.getCaller()->getParent(); in tryPromoteCall()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DFrame.h33 virtual Frame *getCaller() const = 0;
H A DInterpFrame.h56 Frame *getCaller() const override;
H A DState.cpp131 for (const Frame *F = Top; F != Bottom; F = F->getCaller(), ++CallIdx) { in addCallStack()
H A DInterpFrame.cpp186 Frame *InterpFrame::getCaller() const { in getCaller() function in InterpFrame
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMLInlineAdvisor.h107 Function *getCaller() const { return Caller; } in getCaller() function
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DReturnValueChecker.cpp131 CallEventRef<> Call = CMgr.getCaller(SFC, State); in checkEndFunction()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp520 const CallEventRef<> CallEvent::getCaller() const { in getCaller() function in CallEvent
530 return CEMgr.getCaller(CallStackFrameContext, State); in getCaller()
534 if (const CallEventRef<> Caller = getCaller()) in isCalledFromSystemHeader()
1425 CallEventManager::getCaller(const StackFrameContext *CalleeCtx, in getCaller() function in CallEventManager
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h454 const CallEventRef<> getCaller() const;
1341 CallEventRef<> getCaller(const StackFrameContext *CalleeCtx,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h1500 Function *getCaller();
1501 const Function *getCaller() const {
1502 return const_cast<CallBase *>(this)->getCaller();

12