Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DModuleInliner.cpp169 << NV("Caller", CB->getCaller()) in run()
204 Function &F = *CB->getCaller(); in run()
233 &FAM.getResult<BlockFrequencyAnalysis>(*(CB->getCaller())), in run()
238 &FAM.getResult<AAManager>(*CB->getCaller())); in run()
285 return Call.first->getCaller() == &Callee; in run()
H A DInliner.cpp271 << NV("Caller", CB->getCaller()) in run()
313 Function &F = *Calls[I].first->getCaller(); in run()
330 for (; I < (int)Calls.size() && Calls[I].first->getCaller() == &F; ++I) { in run()
382 &FAM.getResult<BlockFrequencyAnalysis>(*(CB->getCaller())), in run()
387 &FAM.getResult<AAManager>(*CB->getCaller()), true, nullptr, in run()
388 &FAM.getResult<OptimizationRemarkEmitterAnalysis>(*CB->getCaller())); in run()
458 return Call.first->getCaller() == &Callee; in run()
H A DAlwaysInliner.cpp59 Function *Caller = CB->getCaller(); in AlwaysInlineImpl()
H A DPartialInlining.cpp724 Function *Caller = CB.getCaller(); in shouldPartialInline()
920 Function *Caller = CB->getCaller(); in computeCallsiteToProfCountMap()
1364 OptimizationRemarkEmitter CallerORE(CB->getCaller()); in tryPartialInline()
1372 << ore::NV("Caller", CB->getCaller()); in tryPartialInline()
H A DArgumentPromotion.cpp300 AttributeFuncs::updateMinLegalVectorWidthAttr(*CB.getCaller(), in doPromotion()
784 const Function *Caller = CB->getCaller(); in areTypesABICompatible()
H A DOpenMPOpt.cpp1266 Function *OutlinedFn = MergableCIs.front()->getCaller(); in mergeParallelRegions()
1465 << CI->getCaller()->getName() << "\n"); in deleteParallelRegions()
1724 Function *F = RuntimeCall.getCaller(); in splitTargetDataBeginRTC()
1888 assert(CI->getCaller() == &F && "Unexpected call!"); in deduplicateRuntimeCalls()
3573 if (CB->getCaller() != F) in updateImpl()
4262 Kernel = CB->getCaller(); in changeToSPMDMode()
5093 *this, IRPosition::function(*CB.getCaller()), DepClassTy::OPTIONAL); in updateImpl()
5095 *this, IRPosition::function(*CB.getCaller()), DepClassTy::OPTIONAL); in updateImpl()
5552 A.isRunOn(const_cast<Function *>(CB->getCaller())); in registerAAs()
H A DAttributor.cpp2842 return !FnMap.lookup(CB->getCaller()); in internalizeFunctions()
3123 AttributeFuncs::updateMinLegalVectorWidthAttr(*NewCB->getCaller(), in rewriteFunctionSignatures()
3868 auto *CallerF = CB->getCaller(); in runAttributorOnFunctions()
3888 Functions.count(const_cast<Function *>(CB->getCaller())); in runAttributorOnFunctions()
3950 Functions.count(const_cast<Function *>(CB->getCaller())); in runAttributorLightOnFunctions()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp146 Function &Caller = *CB.getCaller(); in getDefaultInlineAdvice()
187 FAM.getResult<OptimizationRemarkEmitterAnalysis>(*CB.getCaller())); in getAdviceImpl()
193 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()), in InlineAdvice()
420 Function *Caller = CB.getCaller(); in shouldInline()
654 bool Advice = CB.getCaller() != CB.getCalledFunction() && in getAdvice()
661 return FAM.getResult<OptimizationRemarkEmitterAnalysis>(*CB.getCaller()); in getCallerORE()
H A DMLInlineAdvisor.cpp299 Function *Caller = Advice.getCaller(); in onSuccessfulInlining()
358 auto &Caller = *CB.getCaller(); in getAdviceImpl()
487 if (!FAM.getResult<DominatorTreeAnalysis>(*CB.getCaller()) in getSkipAdviceIfUnreachableCallsite()
545 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.cpp218 return hasSampleProfile() && CB.getCaller()->hasProfileData(); in isColdCallSite()
H A DInlineCost.cpp754 addCost(TTI.getInlineCallPenalty(CandidateCall.getCaller(), Call, in onLoweredCall()
1770 if (CandidateCall.getCaller() != &F) in simplifyCmpInstForRecCall()
2040 CallerBFI->getBlockFreq(&(Call.getCaller()->getEntryBlock())); in isColdCallSite()
2080 Function *Caller = Call.getCaller(); in updateThreshold()
3125 Cost += TTI.getInlineCallPenalty(Call.getCaller(), Call, CallPenalty); in getCallsiteCost()
3225 Function *Caller = Call.getCaller(); in getAttributeBasedInliningDecision()
3276 << "... (caller:" << Call.getCaller()->getName() in getInlineCost()
3480 << "... (caller:" << CB->getCaller()->getName() << ")\n"; in run()
H A DInlineOrder.cpp48 Function &Caller = *CB.getCaller(); in getInlineCostWrapper()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DFrame.h33 virtual Frame *getCaller() const = 0;
H A DInterpFrame.h62 Frame *getCaller() const override;
H A DState.cpp132 for (const Frame *F = Top; F != Bottom; F = F->getCaller(), ++CallIdx) { in addCallStack()
H A DInterpFrame.cpp188 Frame *InterpFrame::getCaller() const { in getCaller() function in InterpFrame
/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/StaticAnalyzer/Core/
H A DCallEvent.cpp519 const CallEventRef<> CallEvent::getCaller() const { in getCaller() function in CallEvent
529 return CEMgr.getCaller(CallStackFrameContext, State); in getCaller()
533 if (const CallEventRef<> Caller = getCaller()) in isCalledFromSystemHeader()
1448 CallEventManager::getCaller(const StackFrameContext *CalleeCtx, in getCaller() function in CallEventManager
H A DBugReporterVisitors.cpp479 BR.getStateManager().getCallEventManager().getCaller(SCtx, State); in VisitNode()
1078 CallEventRef<> Call = CallMgr.getCaller(CalleeSFC, State); in visitNodeMaybeUnsuppress()
1617 CallEventRef<> Call = CallMgr.getCaller(CE->getCalleeContext(), in VisitNode()
3370 CallEventRef<> Call = CEMgr.getCaller(CEnter->getCalleeContext(), State); in VisitNode()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h455 const CallEventRef<> getCaller() const;
1420 CallEventRef<> getCaller(const StackFrameContext *CalleeCtx,
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h1367 LLVM_ABI Function *getCaller();
1368 const Function *getCaller() const {
1369 return const_cast<CallBase *>(this)->getCaller();
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp687 Module *M = CB.getCaller()->getParent(); in tryPromoteCall()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DPathDiagnostic.h594 const Decl *getCaller() const { return Caller; } in getCaller() function

12