/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 188 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 …]
|
D | InlineFunction.cpp | 289 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/ |
D | Inliner.cpp | 125 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 …]
|
D | InlineAlways.cpp | 96 Function *Callee = CS.getCalledFunction(); in getInlineCost()
|
D | FunctionAttrs.cpp | 194 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/ |
D | Statepoint.cpp | 28 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/ |
D | CallGraphSCCPass.cpp | 220 (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()
|
D | InlineCost.cpp | 730 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()
|
D | GlobalsModRef.cpp | 148 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/ |
D | LowerExpectIntrinsic.cpp | 49 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect() 101 Function *Fn = CI->getCalledFunction(); in handleBranchExpect() 148 Function *Fn = CI->getCalledFunction(); in lowerExpectIntrinsic()
|
D | TailRecursionElimination.cpp | 577 if (CI && CI->getCalledFunction() == F) in FindTRECandidate() 597 CI->getCalledFunction() && in FindTRECandidate() 598 !TTI->isLoweredToCall(CI->getCalledFunction())) { in FindTRECandidate()
|
D | PartiallyInlineLibCalls.cpp | 75 if (!Call || !(CalledFunc = Call->getCalledFunction())) in runOnFunction()
|
/external/llvm/lib/Target/R600/ |
D | R600TextureIntrinsicsReplacer.cpp | 261 if (!I.getCalledFunction()) in visitCallInst() 264 StringRef Name = I.getCalledFunction()->getName(); in visitCallInst()
|
D | SITypeRewriter.cpp | 106 Function *F = I.getCalledFunction(); in visitCallInst()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ARCInstKind.h | 103 if (const Function *F = CI->getCalledFunction()) in GetBasicARCInstKind()
|
D | ObjCARCAPElim.cpp | 72 if (const Function *Callee = CS.getCalledFunction()) { in MayAutorelease()
|
/external/llvm/lib/CodeGen/ |
D | ShadowStackGCLowering.cpp | 135 if (!CI->getCalledFunction() || in Next() 136 !CI->getCalledFunction()->getIntrinsicID()) in Next() 329 if (Function *F = CI->getCalledFunction()) in CollectRoots()
|
D | GCRootLowering.cpp | 144 if (Function *F = CI->getCalledFunction()) in CouldBecomeSafePoint() 212 Function *F = CI->getCalledFunction(); in PerformDefaultLowering()
|
/external/llvm/include/llvm/Analysis/ |
D | CallGraph.h | 231 assert(!CS.getInstruction() || !CS.getCalledFunction() || in addCalledFunction() 232 !CS.getCalledFunction()->isIntrinsic()); in addCalledFunction()
|
/external/llvm/include/llvm/IR/ |
D | IntrinsicInst.h | 45 return (Intrinsic::ID)getCalledFunction()->getIntrinsicID(); in getIntrinsicID() 50 if (const Function *CF = I->getCalledFunction()) in classof()
|
/external/llvm/lib/Analysis/ |
D | LibCallAliasAnalysis.cpp | 131 if (const Function *F = CS.getCalledFunction()) { in getModRefInfo()
|
D | MemoryBuiltins.cpp | 74 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()
|
D | CodeMetrics.cpp | 126 if (const Function *F = CS.getCalledFunction()) { in analyzeBasicBlock()
|
/external/llvm/lib/Target/Mips/ |
D | MipsOs16.cpp | 102 Function &F_ = *CI->getCalledFunction(); in needsFP()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXImageOptimizer.cpp | 63 Function *CalledF = CI->getCalledFunction(); in runOnFunction()
|