Home
last modified time | relevance | path

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

12

/freebsd/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.cpp273 << NV("Caller", CB->getCaller()) in run()
315 Function &F = *Calls[I].first->getCaller(); in run()
332 for (; I < (int)Calls.size() && Calls[I].first->getCaller() == &F; ++I) { in run()
384 &FAM.getResult<BlockFrequencyAnalysis>(*(CB->getCaller())), in run()
389 &FAM.getResult<AAManager>(*CB->getCaller())); in run()
456 return Call.first->getCaller() == &Callee; in run()
H A DSyntheticCountsPropagation.cpp108 Function *Caller = CB.getCaller(); in run()
H A DAlwaysInliner.cpp59 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.cpp285 AttributeFuncs::updateMinLegalVectorWidthAttr(*CB.getCaller(), in doPromotion()
746 const Function *Caller = CB->getCaller(); in areTypesABICompatible()
H A DOpenMPOpt.cpp1250 Function *OutlinedFn = MergableCIs.front()->getCaller(); in mergeParallelRegions()
1449 << CI->getCaller()->getName() << "\n"); in deleteParallelRegions()
1722 Function *F = RuntimeCall.getCaller(); in splitTargetDataBeginRTC()
1886 assert(CI->getCaller() == &F && "Unexpected call!"); in deduplicateRuntimeCalls()
3570 if (CB->getCaller() != F) in updateImpl()
4260 Kernel = CB->getCaller(); in changeToSPMDMode()
5091 *this, IRPosition::function(*CB.getCaller()), DepClassTy::OPTIONAL); in updateImpl()
5093 *this, IRPosition::function(*CB.getCaller()), DepClassTy::OPTIONAL); in updateImpl()
5551 A.isRunOn(const_cast<Function *>(CB->getCaller())); in registerAAs()
H A DAttributor.cpp2853 return !FnMap.lookup(CB->getCaller()); in internalizeFunctions()
3144 AttributeFuncs::updateMinLegalVectorWidthAttr(*NewCB->getCaller(), in rewriteFunctionSignatures()
3878 auto *CallerF = CB->getCaller(); in runAttributorOnFunctions()
3898 Functions.count(const_cast<Function *>(CB->getCaller())); in runAttributorOnFunctions()
3960 Functions.count(const_cast<Function *>(CB->getCaller())); in runAttributorLightOnFunctions()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp137 Function &Caller = *CB.getCaller(); in getDefaultInlineAdvice()
173 FAM.getResult<OptimizationRemarkEmitterAnalysis>(*CB.getCaller())); in getAdviceImpl()
179 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()), in InlineAdvice()
385 Function *Caller = CB.getCaller(); in shouldInline()
619 bool Advice = CB.getCaller() != CB.getCalledFunction() && in getAdvice()
626 return FAM.getResult<OptimizationRemarkEmitterAnalysis>(*CB.getCaller()); in getCallerORE()
H A DMLInlineAdvisor.cpp285 Function *Caller = Advice.getCaller(); in onSuccessfulInlining()
346 auto &Caller = *CB.getCaller(); in getAdviceImpl()
460 if (!FAM.getResult<DominatorTreeAnalysis>(*CB.getCaller()) in getSkipAdviceIfUnreachableCallsite()
518 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 isHotCallSite()
H A DInlineCost.cpp698 addCost(TTI.getInlineCallPenalty(CandidateCall.getCaller(), Call, in onLoweredCall()
1878 CallerBFI->getBlockFreq(&(Call.getCaller()->getEntryBlock())); in isColdCallSite()
1918 Function *Caller = Call.getCaller(); in updateThreshold()
2927 Cost += TTI.getInlineCallPenalty(Call.getCaller(), Call, CallPenalty); in getCallsiteCost()
3023 Function *Caller = Call.getCaller(); in getAttributeBasedInliningDecision()
3069 << "... (caller:" << Call.getCaller()->getName() in getInlineCost()
3268 << "... (caller:" << CI->getCaller()->getName() << ")\n"; in run()
H A DInlineOrder.cpp48 Function &Caller = *CB.getCaller(); in getInlineCostWrapper()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMLInlineAdvisor.h110 Function *getCaller() const { return Caller; } in getCaller() function
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpFrame.h55 Frame *getCaller() const override;
H A DState.cpp131 for (const Frame *F = Top; F != Bottom; F = F->getCaller(), ++CallIdx) { in addCallStack()
H A DInterpFrame.cpp194 Frame *InterpFrame::getCaller() const { in getCaller() function in InterpFrame
/freebsd/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()
1428 CallEventManager::getCaller(const StackFrameContext *CalleeCtx, in getCaller() function in CallEventManager
H A DBugReporterVisitors.cpp483 BR.getStateManager().getCallEventManager().getCaller(SCtx, State); in VisitNode()
1171 CallEventRef<> Call = CallMgr.getCaller(CalleeSFC, State); in visitNodeMaybeUnsuppress()
1665 CallEventRef<> Call = CallMgr.getCaller(CE->getCalleeContext(), in VisitNode()
3413 CallEventRef<> Call = CEMgr.getCaller(CEnter->getCalleeContext(), State); in VisitNode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp598 Module *M = CB.getCaller()->getParent(); in tryPromoteCall()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h455 const CallEventRef<> getCaller() const;
1413 CallEventRef<> getCaller(const StackFrameContext *CalleeCtx,
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h1484 Function *getCaller();
1485 const Function *getCaller() const {
1486 return const_cast<CallBase *>(this)->getCaller();
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DPathDiagnostic.h594 const Decl *getCaller() const { return Caller; } in getCaller() function

12