Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/IPO/
DInliner.cpp85 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible()
214 Function *Callee = CS.getCalledFunction(); in getInlineThreshold()
279 if (!CS2 || CS2.getCalledFunction() != Caller) { in shouldInline()
374 if (CS.getCalledFunction() && CS.getCalledFunction()->isDeclaration()) in runOnSCC()
391 if (Function *F = CallSites[i].first.getCalledFunction()) in runOnSCC()
411 Function *Callee = CS.getCalledFunction(); in runOnSCC()
DInlineAlways.cpp81 if (&F == CS.getCalledFunction()) in isInlineViable()
108 Function *Callee = CS.getCalledFunction(); in getInlineCost()
DFunctionAttrs.cpp130 if (CS.getCalledFunction() && SCCNodes.count(CS.getCalledFunction())) in AddReadAttrs()
285 Function *F = CS.getCalledFunction(); in captured()
525 if (CS.getCalledFunction() && in IsFunctionMallocLike()
526 SCCNodes.count(CS.getCalledFunction())) in IsFunctionMallocLike()
DPruneEH.cpp118 } else if (Function *Callee = CI->getCalledFunction()) { in runOnSCC()
/external/llvm/lib/Transforms/Utils/
DLowerExpectIntrinsic.cpp64 Function *Fn = CI->getCalledFunction(); in HandleSwitchExpect()
114 Function *Fn = CI->getCalledFunction(); in HandleIfExpect()
163 Function *Fn = CI->getCalledFunction(); in runOnFunction()
DInlineFunction.cpp274 const Function *Callee = CS.getCalledFunction(); in UpdateCallGraphAfterInlining()
313 if (Function *F = CallSite(NewCall).getCalledFunction()) { in UpdateCallGraphAfterInlining()
498 const Function *CalledFunc = CS.getCalledFunction(); in InlineFunction()
/external/llvm/lib/Analysis/
DCodeMetrics.cpp114 if (const Function *F = CS.getCalledFunction()) { in analyzeBasicBlock()
129 if (!isa<IntrinsicInst>(II) && !callIsSmall(CS.getCalledFunction())) { in analyzeBasicBlock()
DMemoryBuiltins.cpp37 Function *Callee = CI->getCalledFunction(); in isMallocCall()
192 Function *Callee = CI->getCalledFunction(); in isFreeCall()
DProfileVerifierPass.cpp182 FType *F = CI->getCalledFunction(); in exitReachable()
291 FType *F = CI->getCalledFunction(); in recurseBasicBlock()
304 FType *F = CI->getCalledFunction(); in recurseBasicBlock()
DLibCallAliasAnalysis.cpp127 if (const Function *F = CS.getCalledFunction()) { in getModRefInfo()
DInlineCost.cpp657 if (Function *F = CS.getCalledFunction()) { in visitCallSite()
834 if (F.hasLocalLinkage() && F.hasOneUse() && &F == CS.getCalledFunction()) in analyzeCall()
996 return getInlineCost(CS, CS.getCalledFunction(), Threshold); in getInlineCost()
DBasicAliasAnalysis.cpp815 CS.getCalledFunction() && in getModRefInfo()
816 CS.getCalledFunction()->getName() == "memset_pattern16") { in getModRefInfo()
817 const Function *MS = CS.getCalledFunction(); in getModRefInfo()
DAliasAnalysis.cpp201 if (const Function *F = CS.getCalledFunction()) in getModRefBehavior()
/external/llvm/lib/Analysis/IPA/
DCallGraphSCCPass.cpp262 if (ExistingNode->getFunction() == CS.getCalledFunction()) in RefreshCallGraph()
270 if (CheckingMode && CS.getCalledFunction() && in RefreshCallGraph()
280 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph()
304 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph()
DGlobalsModRef.cpp143 if (const Function* F = CS.getCalledFunction()) in getModRefBehavior()
335 Function *F = CI->getCalledFunction(); in AnalyzeIndirectGlobalMemory()
473 Function *Callee = Intrinsic->getCalledFunction(); in AnalyzeCallGraph()
562 if (const Function *F = CS.getCalledFunction()) in getModRefInfo()
DCallGraph.cpp145 const Function *Callee = CS.getCalledFunction(); in addToCallGraph()
/external/llvm/include/llvm/
DIntrinsicInst.h44 return (Intrinsic::ID)getCalledFunction()->getIntrinsicID(); in getIntrinsicID()
50 if (const Function *CF = I->getCalledFunction()) in classof()
/external/llvm/include/llvm/Analysis/
DCallGraph.h263 !CS.getCalledFunction() || in addCalledFunction()
264 !CS.getCalledFunction()->isIntrinsic()); in addCalledFunction()
/external/llvm/lib/CodeGen/
DShadowStackGC.cpp135 if (!CI->getCalledFunction() || in Next()
136 !CI->getCalledFunction()->getIntrinsicID()) in Next()
333 if (Function *F = CI->getCalledFunction()) in CollectRoots()
DGCStrategy.cpp244 if (Function *F = CI->getCalledFunction()) in CouldBecomeSafePoint()
291 Function *F = CI->getCalledFunction(); in PerformDefaultLowering()
/external/llvm/lib/VMCore/
DAutoUpgrade.cpp96 Function *F = CI->getCalledFunction(); in UpgradeIntrinsicCall()
DVerifier.cpp1162 if (CS.getCalledFunction() == 0 || in VerifyCallSite()
1163 !CS.getCalledFunction()->getName().startswith("llvm.")) { in VerifyCallSite()
1176 if (Function *F = CI.getCalledFunction()) in visitCallInst()
1684 Function *IF = CI.getCalledFunction(); in visitIntrinsicFunctionCall()
/external/llvm/include/llvm/Support/
DCallSite.h94 FunTy *getCalledFunction() const { in getCalledFunction() function
/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp1089 Function *F = CS.getCalledFunction(); in visitCallSite()
1266 if (Function *F = CS.getCalledFunction()) in ResolvedUndefsIn()
1440 if (Function *F = CallSite(I).getCalledFunction()) in ResolvedUndefsIn()
DTailRecursionElimination.cpp374 if (CI && CI->getCalledFunction() == F) in FindTRECandidate()

12