Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp188 Function *Callee = CI->getCalledFunction(); in optimizeStrCat()
236 Function *Callee = CI->getCalledFunction(); in optimizeStrNCat()
278 Function *Callee = CI->getCalledFunction(); in optimizeStrChr()
323 Function *Callee = CI->getCalledFunction(); in optimizeStrRChr()
358 Function *Callee = CI->getCalledFunction(); in optimizeStrCmp()
399 Function *Callee = CI->getCalledFunction(); in optimizeStrNCmp()
447 Function *Callee = CI->getCalledFunction(); in optimizeStrCpy()
469 Function *Callee = CI->getCalledFunction(); in optimizeStpCpy()
499 Function *Callee = CI->getCalledFunction(); in optimizeStrNCpy()
542 Function *Callee = CI->getCalledFunction(); in optimizeStrLen()
[all …]
DInlineFunction.cpp289 const Function *CalledFunc = CS.getCalledFunction(); in CloneAliasScopeMetadata()
402 const Function *CalledFunc = CS.getCalledFunction(); in AddAliasScopeMetadata()
633 Function *CalledFunc = CS.getCalledFunction(); in AddAlignmentAssumptions()
669 const Function *Callee = CS.getCalledFunction(); in UpdateCallGraphAfterInlining()
702 if (CS && CS.getCalledFunction() && CS.getCalledFunction()->isIntrinsic()) in UpdateCallGraphAfterInlining()
715 if (Function *F = CallSite(NewCall).getCalledFunction()) { in UpdateCallGraphAfterInlining()
929 const Function *CalledFunc = CS.getCalledFunction(); in InlineFunction()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp125 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible()
269 Function *Callee = CS.getCalledFunction(); in getInlineThreshold()
304 emitAnalysis(CS, Twine(CS.getCalledFunction()->getName()) + in shouldInline()
312 emitAnalysis(CS, Twine(CS.getCalledFunction()->getName() + in shouldInline()
322 emitAnalysis(CS, Twine(CS.getCalledFunction()->getName() + in shouldInline()
359 if (!CS2 || CS2.getCalledFunction() != Caller) { in shouldInline()
394 CS.getCalledFunction()->getName() + in shouldInline()
405 CS, CS.getCalledFunction()->getName() + Twine(" can be inlined into ") + in shouldInline()
466 if (CS.getCalledFunction() && CS.getCalledFunction()->isDeclaration()) in runOnSCC()
483 if (Function *F = CallSites[i].first.getCalledFunction()) in runOnSCC()
[all …]
DInlineAlways.cpp96 Function *Callee = CS.getCalledFunction(); in getInlineCost()
DFunctionAttrs.cpp194 if (CS.getCalledFunction() && SCCNodes.count(CS.getCalledFunction())) in AddReadAttrs()
355 Function *F = CS.getCalledFunction(); in captured()
473 Function *F = CS.getCalledFunction(); in determinePointerReadAttrs()
771 if (CS.getCalledFunction() && in IsFunctionMallocLike()
772 SCCNodes.count(CS.getCalledFunction())) in IsFunctionMallocLike()
/external/llvm/lib/IR/
DStatepoint.cpp28 const Function *F = CS.getCalledFunction(); in isStatepoint()
52 if (const Function *F = call->getCalledFunction()) { in isGCRelocate()
69 if (Function *F = call->getCalledFunction()) { in isGCResult()
/external/llvm/lib/Analysis/IPA/
DCallGraphSCCPass.cpp220 (CallSite(I->first).getCalledFunction() && in RefreshCallGraph()
221 CallSite(I->first).getCalledFunction()->isIntrinsic())) { in RefreshCallGraph()
250 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph()
266 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph()
280 if (ExistingNode->getFunction() == CS.getCalledFunction()) in RefreshCallGraph()
288 if (CheckingMode && CS.getCalledFunction() && in RefreshCallGraph()
298 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph()
322 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph()
DInlineCost.cpp730 if (Function *F = CS.getCalledFunction()) { in visitCallSite()
1073 &F == CS.getCalledFunction(); in analyzeCall()
1288 return getInlineCost(CS, CS.getCalledFunction(), Threshold); in getInlineCost()
1371 if (&F == CS.getCalledFunction()) in isInlineViable()
1382 if (CS.getCalledFunction() && in isInlineViable()
1383 CS.getCalledFunction()->getIntrinsicID() == in isInlineViable()
DGlobalsModRef.cpp148 if (const Function* F = CS.getCalledFunction()) in getModRefBehavior()
458 Function *Callee = Intrinsic->getCalledFunction(); in AnalyzeCallGraph()
548 if (const Function *F = CS.getCalledFunction()) in getModRefInfo()
/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp49 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect()
101 Function *Fn = CI->getCalledFunction(); in handleBranchExpect()
148 Function *Fn = CI->getCalledFunction(); in lowerExpectIntrinsic()
DTailRecursionElimination.cpp577 if (CI && CI->getCalledFunction() == F) in FindTRECandidate()
597 CI->getCalledFunction() && in FindTRECandidate()
598 !TTI->isLoweredToCall(CI->getCalledFunction())) { in FindTRECandidate()
DPartiallyInlineLibCalls.cpp75 if (!Call || !(CalledFunc = Call->getCalledFunction())) in runOnFunction()
/external/llvm/lib/Target/R600/
DR600TextureIntrinsicsReplacer.cpp261 if (!I.getCalledFunction()) in visitCallInst()
264 StringRef Name = I.getCalledFunction()->getName(); in visitCallInst()
DSITypeRewriter.cpp106 Function *F = I.getCalledFunction(); in visitCallInst()
/external/llvm/lib/Transforms/ObjCARC/
DARCInstKind.h103 if (const Function *F = CI->getCalledFunction()) in GetBasicARCInstKind()
DObjCARCAPElim.cpp72 if (const Function *Callee = CS.getCalledFunction()) { in MayAutorelease()
/external/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp135 if (!CI->getCalledFunction() || in Next()
136 !CI->getCalledFunction()->getIntrinsicID()) in Next()
329 if (Function *F = CI->getCalledFunction()) in CollectRoots()
DGCRootLowering.cpp144 if (Function *F = CI->getCalledFunction()) in CouldBecomeSafePoint()
212 Function *F = CI->getCalledFunction(); in PerformDefaultLowering()
/external/llvm/include/llvm/Analysis/
DCallGraph.h231 assert(!CS.getInstruction() || !CS.getCalledFunction() || in addCalledFunction()
232 !CS.getCalledFunction()->isIntrinsic()); in addCalledFunction()
/external/llvm/include/llvm/IR/
DIntrinsicInst.h45 return (Intrinsic::ID)getCalledFunction()->getIntrinsicID(); in getIntrinsicID()
50 if (const Function *CF = I->getCalledFunction()) in classof()
/external/llvm/lib/Analysis/
DLibCallAliasAnalysis.cpp131 if (const Function *F = CS.getCalledFunction()) { in getModRefInfo()
DMemoryBuiltins.cpp74 static Function *getCalledFunction(const Value *V, bool LookThroughBitCast) { in getCalledFunction() function
85 Function *Callee = CS.getCalledFunction(); in getCalledFunction()
100 Function *Callee = getCalledFunction(V, LookThroughBitCast); in getAllocationData()
304 Function *Callee = CI->getCalledFunction(); in isFreeCall()
DCodeMetrics.cpp126 if (const Function *F = CS.getCalledFunction()) { in analyzeBasicBlock()
/external/llvm/lib/Target/Mips/
DMipsOs16.cpp102 Function &F_ = *CI->getCalledFunction(); in needsFP()
/external/llvm/lib/Target/NVPTX/
DNVPTXImageOptimizer.cpp63 Function *CalledF = CI->getCalledFunction(); in runOnFunction()

1234