Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DInliner.cpp249 Function *Caller = CB.getCaller(); in inlineCallIfPossible()
351 << NV("Caller", CB->getCaller()) in inlineCallsImpl()
393 Function *Caller = CB.getCaller(); in inlineCallsImpl()
739 << NV("Caller", CB->getCaller()) in run()
774 Function &F = *Calls[I].first->getCaller(); in run()
791 for (; I < (int)Calls.size() && Calls[I].first->getCaller() == &F; ++I) { in run()
828 &FAM.getResult<BlockFrequencyAnalysis>(*(CB->getCaller())), in run()
832 InlineFunction(*CB, IFI, &FAM.getResult<AAManager>(*CB->getCaller())); in run()
882 return Call.first->getCaller() == &Callee; in run()
H A DInlineSimple.cpp59 const auto &BBs = CB.getCaller()->getBasicBlockList(); in getInlineCost()
65 OptimizationRemarkEmitter ORE(CB.getCaller()); in getInlineCost()
H A DAlwaysInliner.cpp67 Function *Caller = CB->getCaller(); in run()
81 &FAM.getResult<BlockFrequencyAnalysis>(*(CB->getCaller())), in run()
H A DSyntheticCountsPropagation.cpp114 Function *Caller = CB.getCaller(); in run()
H A DPartialInlining.cpp783 Function *Caller = CB.getCaller(); in shouldPartialInline()
978 Function *Caller = CB->getCaller(); in computeCallsiteToProfCountMap()
1425 OptimizationRemarkEmitter CallerORE(CB->getCaller()); in tryPartialInline()
1433 << ore::NV("Caller", CB->getCaller()); in tryPartialInline()
H A DOpenMPOpt.cpp839 Function *OutlinedFn = MergableCIs.front()->getCaller(); in mergeParallelRegions()
1050 << CI->getCaller()->getName() << "\n"); in deleteParallelRegions()
1054 << ore::NV("OpenMPParallelDelete", CI->getCaller()->getName()) in deleteParallelRegions()
1301 auto *F = RuntimeCall.getCaller(); in splitTargetDataBeginRTC()
1453 assert(CI->getCaller() == &F && "Unexpected call!"); in deduplicateRuntimeCalls()
H A DAttributor.cpp1278 if (!Functions.count(CB->getCaller())) in cleanupIR()
2364 auto *CallerF = CB->getCaller(); in runAttributorOnFunctions()
2384 Functions.count(const_cast<Function *>(CB->getCaller())); in runAttributorOnFunctions()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInlineAdvisor.cpp77 Function &Caller = *CB.getCaller(); in getDefaultInlineAdvice()
112 FAM.getResult<OptimizationRemarkEmitterAnalysis>(*CB.getCaller())); in getAdviceImpl()
118 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()), in InlineAdvice()
329 Function *Caller = CB.getCaller(); in shouldInline()
505 bool Advice = CB.getCaller() != CB.getCalledFunction() && in getAdvice()
512 return FAM.getResult<OptimizationRemarkEmitterAnalysis>(*CB.getCaller()); in getCallerORE()
H A DHeatUtils.cpp44 if (CI->getCaller() == (&callerFunction)) { in getNumOfCalls()
H A DMLInlineAdvisor.cpp133 Function *Caller = Advice.getCaller(); in onSuccessfulInlining()
176 auto &Caller = *CB.getCaller(); in getAdviceImpl()
H A DReplayInlineAdvisor.cpp63 Function &Caller = *CB.getCaller(); in getAdviceImpl()
H A DInlineCost.cpp1437 CallerBFI->getBlockFreq(&(Call.getCaller()->getEntryBlock())); in isColdCallSite()
1476 Function *Caller = Call.getCaller(); in updateThreshold()
2548 Function *Caller = Call.getCaller(); in getAttributeBasedInliningDecision()
2603 << "... (caller:" << Call.getCaller()->getName() in getInlineCost()
2800 << "... (caller:" << CI->getCaller()->getName() << ")\n"; in run()
H A DProfileSummaryInfo.cpp372 return hasSampleProfile() && CB.getCaller()->hasProfileData(); in isColdCallSite()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCallGraphUpdater.cpp148 Function *Caller = OldCS.getCaller(); in replaceCallSite()
165 Function *Caller = CS.getCaller(); in removeCallSite()
H A DCallPromotionUtils.cpp538 Module *M = CB.getCaller()->getParent(); in tryPromoteCall()
H A DInlineFunction.cpp1273 AssumptionCache *AC = &IFI.GetAssumptionCache(*CB.getCaller()); in AddAlignmentAssumptions()
1274 auto &DL = CB.getCaller()->getParent()->getDataLayout(); in AddAlignmentAssumptions()
1286 DT.recalculate(*CB.getCaller()); in AddAlignmentAssumptions()
1312 const Function *Caller = CB.getCaller(); in UpdateCallGraphAfterInlining()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DFrame.h33 virtual Frame *getCaller() const = 0;
H A DInterpFrame.h51 Frame *getCaller() const override;
H A DState.cpp130 for (Frame *F = Top; F != Bottom; F = F->getCaller(), ++CallIdx) { in addCallStack()
H A DInterpFrame.cpp139 Frame *InterpFrame::getCaller() const { in getCaller() function in InterpFrame
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DMLInlineAdvisor.h91 Function *getCaller() const { return Caller; } in getCaller() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DReturnValueChecker.cpp129 CallEventRef<> Call = CMgr.getCaller(SFC, State); in checkEndFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUPropagateAttributes.cpp254 Function *Caller = CI->getCaller(); in process()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInstrTypes.h1412 Function *getCaller();
1413 const Function *getCaller() const {
1414 return const_cast<CallBase *>(this)->getCaller();
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp579 BR.getStateManager().getCallEventManager().getCaller(SCtx, State); in VisitNode()
1173 CallEventRef<> Call = CallMgr.getCaller(CalleeSFC, State); in visitNodeMaybeUnsuppress()
1462 CallEventRef<> Call = CallMgr.getCaller(CE->getCalleeContext(), in VisitNode()
2902 CallEventRef<> Call = CEMgr.getCaller(CEnter->getCalleeContext(), State); in VisitNode()

12