Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/lldb/examples/python/
H A Dpytracer.py134 def getCaller(self): member in FrameFancy
232 …print("call " + frame.getName() + " from " + frame.getCaller().getName() + " @ " + str(frame.getCa…
259 if frame.getName() == "__init__" and frame.getCaller().getName(
260 ) == "run_one_line" and frame.getCaller().getLineNumber() == 101:
263 if (frame.getCaller().getFileName() == ""):
271 strout += " from " + frame.getCaller().getName() + " @ " + \
272 str(frame.getCaller().getLineNumber()) + " args are " + str(frame.getArgumentInfo())
286 if (frame.getCaller().getFileName() == ""):
308 if (frame.getCaller().getFileName() == ""):
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DModuleInliner.cpp163 << NV("Caller", CB->getCaller()) in run()
188 Function &F = *CB->getCaller(); in run()
217 &FAM.getResult<BlockFrequencyAnalysis>(*(CB->getCaller())), in run()
222 &FAM.getResult<AAManager>(*CB->getCaller())); in run()
267 return Call.first->getCaller() == &Callee; in run()
H A DInlineSimple.cpp53 const auto &BBs = *CB.getCaller(); in getInlineCost()
59 OptimizationRemarkEmitter ORE(CB.getCaller()); in getInlineCost()
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()
849 Function &F = *Calls[I].first->getCaller(); in run()
866 for (; I < (int)Calls.size() && Calls[I].first->getCaller() == &F; ++I) { in run()
915 &FAM.getResult<BlockFrequencyAnalysis>(*(CB->getCaller())), in run()
920 &FAM.getResult<AAManager>(*CB->getCaller())); in run()
987 return Call.first->getCaller() == &Callee; in run()
H A DSyntheticCountsPropagation.cpp108 Function *Caller = CB.getCaller(); in run()
H A DAlwaysInliner.cpp63 Function *Caller = CB->getCaller(); in run()
H A DPartialInlining.cpp776 Function *Caller = CB.getCaller(); in shouldPartialInline()
975 Function *Caller = CB->getCaller(); in computeCallsiteToProfCountMap()
1422 OptimizationRemarkEmitter CallerORE(CB->getCaller()); in tryPartialInline()
1430 << 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()
H A DOpenMPOpt.cpp1142 Function *OutlinedFn = MergableCIs.front()->getCaller(); in mergeParallelRegions()
1340 << CI->getCaller()->getName() << "\n"); in deleteParallelRegions()
1584 Function *F = RuntimeCall.getCaller(); in splitTargetDataBeginRTC()
1758 assert(CI->getCaller() == &F && "Unexpected call!"); in deduplicateRuntimeCalls()
3346 if (CB->getCaller() != F) in updateImpl()
3994 Kernel = CB->getCaller(); in changeToSPMDMode()
4759 *this, IRPosition::function(*CB.getCaller()), DepClassTy::OPTIONAL); in updateImpl()
4761 *this, IRPosition::function(*CB.getCaller()), DepClassTy::OPTIONAL); in updateImpl()
5172 A.isRunOn(const_cast<Function *>(CB->getCaller())); in registerAAs()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DInlineAdvisor.cpp135 Function &Caller = *CB.getCaller(); in getDefaultInlineAdvice()
171 FAM.getResult<OptimizationRemarkEmitterAnalysis>(*CB.getCaller())); in getAdviceImpl()
177 : 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.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.cpp45 if (CI->getCaller() == (&callerFunction)) { in getNumOfCalls()
H A DReplayInlineAdvisor.cpp96 Function &Caller = *CB.getCaller(); in getAdviceImpl()
H A DInlineOrder.cpp49 Function &Caller = *CB.getCaller(); in getInlineCostWrapper()
H A DProfileSummaryInfo.cpp374 return hasSampleProfile() && CB.getCaller()->hasProfileData(); in isColdCallSite()
H A DInlineCost.cpp1794 CallerBFI->getBlockFreq(&(Call.getCaller()->getEntryBlock())); in isColdCallSite()
1833 Function *Caller = Call.getCaller(); in updateThreshold()
2929 Function *Caller = Call.getCaller(); in getAttributeBasedInliningDecision()
2975 << "... (caller:" << Call.getCaller()->getName() in getInlineCost()
3174 << "... (caller:" << CI->getCaller()->getName() << ")\n"; in run()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCallGraphUpdater.cpp150 Function *Caller = OldCS.getCaller(); in replaceCallSite()
167 Function *Caller = CS.getCaller(); in removeCallSite()
H A DCallPromotionUtils.cpp563 Module *M = CB.getCaller()->getParent(); in tryPromoteCall()
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DFrame.h33 virtual Frame *getCaller() const = 0;
H A DInterpFrame.h57 Frame *getCaller() const override;
H A DState.cpp130 for (Frame *F = Top; F != Bottom; F = F->getCaller(), ++CallIdx) { in addCallStack()
H A DInterpFrame.cpp169 Frame *InterpFrame::getCaller() const { in getCaller() function in InterpFrame
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DMLInlineAdvisor.h105 Function *getCaller() const { return Caller; } in getCaller() function
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DReturnValueChecker.cpp131 CallEventRef<> Call = CMgr.getCaller(SFC, State); in checkEndFunction()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUPropagateAttributes.cpp254 Function *Caller = CI->getCaller(); in process()

12