Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DInliner.cpp281 Function *Caller = CS.getCaller(); in InlineCallIfPossible()
427 Function *Caller = CS.getCaller(); in shouldInline()
581 << NV("Caller", CS.getCaller()) in inlineCallsImpl()
621 Function *Caller = CS.getCaller(); in inlineCallsImpl()
937 << NV("Caller", CS.getCaller()) in run()
973 Function &F = *Calls[i].first.getCaller(); in run()
1017 for (; i < (int)Calls.size() && Calls[i].first.getCaller() == &F; ++i) { in run()
1061 &FAM.getResult<BlockFrequencyAnalysis>(*(CS.getCaller())), in run()
1115 return Call.first.getCaller() == &Callee; in run()
H A DInlineSimple.cpp60 const auto &BBs = CS.getCaller()->getBasicBlockList(); in getInlineCost()
66 OptimizationRemarkEmitter ORE(CS.getCaller()); in getInlineCost()
H A DSyntheticCountsPropagation.cpp116 Function *Caller = CS.getCaller(); in run()
H A DPartialInlining.cpp764 Function *Caller = CS.getCaller(); in shouldPartialInline()
935 Function *Caller = CS.getCaller(); in computeCallsiteToProfCountMap()
1376 OptimizationRemarkEmitter CallerORE(CS.getCaller()); in tryPartialInline()
1384 << ore::NV("Caller", CS.getCaller()); in tryPartialInline()
H A DWholeProgramDevirt.cpp287 Function *F = CS.getCaller(); in emitRemark()
909 Attribute FSAttr = CS.getCaller()->getFnAttribute("target-features"); in applyICallBranchFunnel()
H A DArgumentPromotion.cpp819 const Function *Caller = CS.getCaller(); in areFunctionArgsABICompatible()
H A DGlobalOpt.cpp2152 CallerBFI.getBlockFreq(&(CS.getCaller()->getEntryBlock())); in isColdCallSite()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUInline.cpp107 Function *Caller = CS.getCaller(); in getInlineThreshold()
172 Function *Caller = CS.getCaller(); in getInlineCost()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DStatepoint.h156 FunTy *getCaller() const { return getCallSite().getCaller(); } in getCaller() function
H A DCallSite.h267 FunTy *getCaller() const { return (*this)->getParent()->getParent(); } in getCaller() function
640 !NullPointerIsDefined(getCaller(), in isReturnNonNull()
H A DInstrTypes.h1197 Function *getCaller();
1198 const Function *getCaller() const {
1199 return const_cast<CallBase *>(this)->getCaller();
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp276 return hasSampleProfile() && CS.getCaller()->hasProfileData(); in isColdCallSite()
H A DInlineCost.cpp816 CallerBFI->getBlockFreq(&(CS.getCaller()->getEntryBlock())); in isColdCallSite()
855 Function *Caller = CS.getCaller(); in updateThreshold()
2033 Function *Caller = CS.getCaller(); in getInlineCost()
H A DConstantFolding.cpp1677 const Function *Caller = CS.getParent() ? CS.getCaller() : nullptr; in ConstantFoldScalarCall()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1153 AssumptionCache *AC = &(*IFI.GetAssumptionCache)(*CS.getCaller()); in AddAlignmentAssumptions()
1154 auto &DL = CS.getCaller()->getParent()->getDataLayout(); in AddAlignmentAssumptions()
1166 DT.recalculate(*CS.getCaller()); in AddAlignmentAssumptions()
1192 const Function *Caller = CS.getCaller(); in UpdateCallGraphAfterInlining()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp324 BR.getStateManager().getCallEventManager().getCaller(SCtx, State); in VisitNode()
975 CallEventRef<> Call = CallMgr.getCaller(StackFrame, State); in visitNodeMaybeUnsuppress()
1244 CallEventRef<> Call = CallMgr.getCaller(CE->getCalleeContext(), in VisitNode()
2333 CallEventRef<> Call = CEMgr.getCaller(CEnter->getCalleeContext(), State); in VisitNode()
H A DExprEngineCallAndReturn.cpp223 CallEventRef<> Call = CEMgr.getCaller(calleeCtx, state); in processCallExit()
H A DCallEvent.cpp1363 CallEventManager::getCaller(const StackFrameContext *CalleeCtx, in getCaller() function in CallEventManager
H A DPathDiagnostic.cpp199 DeclWithIssue = CP->getCaller(); in resetDiagnosticLocationToMainFile()
H A DBugReporter.cpp265 bool CallerIsImplicit = hasImplicitBody(Call->getCaller()); in adjustCallLocations()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp306 CallEventRef<> Call = CEMgr.getCaller(N->getStackFrame(), N->getState()); in annotateConsumedSummaryMismatch()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DPathDiagnostic.h612 const Decl *getCaller() const { return Caller; } in getCaller() function
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h1143 getCaller(const StackFrameContext *CalleeCtx, ProgramStateRef State);
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1337 const DataLayout &DL = CS.getCaller()->getParent()->getDataLayout(); in processByValArgument()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DInstructions.cpp258 Function *CallBase::getCaller() { return getParent()->getParent(); } in getCaller() function in CallBase
281 !NullPointerIsDefined(getCaller(), in isReturnNonNull()

12