Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/lldb/examples/python/
H A Dpytracer.py135 def getCaller(self): member in FrameFancy
233 …print("call " + frame.getName() + " from " + frame.getCaller().getName() + " @ " + str(frame.getCa…
260 if frame.getName() == "__init__" and frame.getCaller().getName(
261 ) == "run_one_line" and frame.getCaller().getLineNumber() == 101:
264 if (frame.getCaller().getFileName() == ""):
272 strout += " from " + frame.getCaller().getName() + " @ " + \
273 str(frame.getCaller().getLineNumber()) + " args are " + str(frame.getArgumentInfo())
287 if (frame.getCaller().getFileName() == ""):
309 if (frame.getCaller().getFileName() == ""):
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DModuleInliner.cpp175 << NV("Caller", CB->getCaller()) in run()
206 Function &F = *Calls->front().first->getCaller(); in run()
220 while (!Calls->empty() && Calls->front().first->getCaller() == &F) { in run()
243 &FAM.getResult<BlockFrequencyAnalysis>(*(CB->getCaller())), in run()
247 InlineFunction(*CB, IFI, &FAM.getResult<AAManager>(*CB->getCaller())); in run()
296 return Call.first->getCaller() == &Callee; in run()
H A DInliner.cpp313 Function *Caller = CB.getCaller(); in inlineCallIfPossible()
415 << NV("Caller", CB->getCaller()) in inlineCallsImpl()
457 Function *Caller = CB.getCaller(); in inlineCallsImpl()
810 << NV("Caller", CB->getCaller()) in run()
848 Function &F = *Calls.front().first->getCaller(); in run()
867 while (!Calls.empty() && Calls.front().first->getCaller() == &F) { in run()
916 &FAM.getResult<BlockFrequencyAnalysis>(*(CB->getCaller())), in run()
920 InlineFunction(*CB, IFI, &FAM.getResult<AAManager>(*CB->getCaller())); in run()
988 return Call.first->getCaller() == &Callee; in run()
H A DInlineSimple.cpp53 const auto &BBs = CB.getCaller()->getBasicBlockList(); in getInlineCost()
59 OptimizationRemarkEmitter ORE(CB.getCaller()); in getInlineCost()
H A DSyntheticCountsPropagation.cpp108 Function *Caller = CB.getCaller(); in run()
H A DAlwaysInliner.cpp63 Function *Caller = CB->getCaller(); in run()
H A DPartialInlining.cpp777 Function *Caller = CB.getCaller(); in shouldPartialInline()
975 Function *Caller = CB->getCaller(); in computeCallsiteToProfCountMap()
1426 OptimizationRemarkEmitter CallerORE(CB->getCaller()); in tryPartialInline()
1434 << ore::NV("Caller", CB->getCaller()); in tryPartialInline()
H A DArgumentPromotion.cpp287 AttributeFuncs::updateMinLegalVectorWidthAttr(*CB.getCaller(), in doPromotion()
695 const Function *Caller = CB->getCaller(); in areTypesABICompatible()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInlineAdvisor.cpp133 Function &Caller = *CB.getCaller(); in getDefaultInlineAdvice()
169 FAM.getResult<OptimizationRemarkEmitterAnalysis>(*CB.getCaller())); in getAdviceImpl()
175 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()), in InlineAdvice()
376 Function *Caller = CB.getCaller(); in shouldInline()
610 bool Advice = CB.getCaller() != CB.getCalledFunction() && in getAdvice()
617 return FAM.getResult<OptimizationRemarkEmitterAnalysis>(*CB.getCaller()); in getCallerORE()
H A DMLInlineAdvisor.cpp231 Function *Caller = Advice.getCaller(); in onSuccessfulInlining()
286 auto &Caller = *CB.getCaller(); in getAdviceImpl()
387 if (!FAM.getResult<DominatorTreeAnalysis>(*CB.getCaller()) in getSkipAdviceIfUnreachableCallsite()
437 FPU.emplace(Advisor->getCachedFPI(*getCaller()), CB); in MLInlineAdvice()
H A DHeatUtils.cpp43 if (CI->getCaller() == (&callerFunction)) { in getNumOfCalls()
H A DReplayInlineAdvisor.cpp96 Function &Caller = *CB.getCaller(); in getAdviceImpl()
H A DProfileSummaryInfo.cpp371 return hasSampleProfile() && CB.getCaller()->hasProfileData(); in isColdCallSite()
H A DInlineCost.cpp1747 CallerBFI->getBlockFreq(&(Call.getCaller()->getEntryBlock())); in isColdCallSite()
1786 Function *Caller = Call.getCaller(); in updateThreshold()
2872 Function *Caller = Call.getCaller(); in getAttributeBasedInliningDecision()
2918 << "... (caller:" << Call.getCaller()->getName() in getInlineCost()
3116 << "... (caller:" << CI->getCaller()->getName() << ")\n"; in run()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCallGraphUpdater.cpp150 Function *Caller = OldCS.getCaller(); in replaceCallSite()
167 Function *Caller = CS.getCaller(); in removeCallSite()
/llvm-project-15.0.7/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
/llvm-project-15.0.7/mlir/lib/IR/
H A DLocation.cpp48 return callLoc.getCaller()->walk(walkFn); in walk()
H A DDiagnostics.cpp499 loc = callLoc->getCaller(); in emitDiagnostic()
503 loc = callLoc->getCaller(); in emitDiagnostic()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMLInlineAdvisor.h101 Function *getCaller() const { return Caller; } in getCaller() function
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DReturnValueChecker.cpp130 CallEventRef<> Call = CMgr.getCaller(SFC, State); in checkEndFunction()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DDebugTranslation.cpp146 const auto *callerLoc = translateLoc(callLoc.getCaller(), scope, inlinedAt); in translateLoc()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPropagateAttributes.cpp254 Function *Caller = CI->getCaller(); in process()

12