/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 195 Function *Callee = CI->getCalledFunction(); in optimizeStrCat() 243 Function *Callee = CI->getCalledFunction(); in optimizeStrNCat() 285 Function *Callee = CI->getCalledFunction(); in optimizeStrChr() 330 Function *Callee = CI->getCalledFunction(); in optimizeStrRChr() 365 Function *Callee = CI->getCalledFunction(); in optimizeStrCmp() 406 Function *Callee = CI->getCalledFunction(); in optimizeStrNCmp() 454 Function *Callee = CI->getCalledFunction(); in optimizeStrCpy() 476 Function *Callee = CI->getCalledFunction(); in optimizeStpCpy() 503 Function *Callee = CI->getCalledFunction(); in optimizeStrNCpy() 544 Function *Callee = CI->getCalledFunction(); in optimizeStrLen() [all …]
|
D | InlineFunction.cpp | 393 const Function *CalledFunc = CS.getCalledFunction(); in CloneAliasScopeMetadata() 506 const Function *CalledFunc = CS.getCalledFunction(); in AddAliasScopeMetadata() 736 Function *CalledFunc = CS.getCalledFunction(); in AddAlignmentAssumptions() 772 const Function *Callee = CS.getCalledFunction(); in UpdateCallGraphAfterInlining() 805 if (CS && CS.getCalledFunction() && CS.getCalledFunction()->isIntrinsic()) in UpdateCallGraphAfterInlining() 818 if (Function *F = CallSite(NewCall).getCalledFunction()) { in UpdateCallGraphAfterInlining() 1030 const Function *CalledFunc = CS.getCalledFunction(); in InlineFunction()
|
/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/ |
D | CallGraphSCCPass.cpp | 220 (CallSite(I->first).getCalledFunction() && in RefreshCallGraph() 221 CallSite(I->first).getCalledFunction()->isIntrinsic() && in RefreshCallGraph() 223 CallSite(I->first).getCalledFunction()->getIntrinsicID()))) { in RefreshCallGraph() 252 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph() 268 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph() 282 if (ExistingNode->getFunction() == CS.getCalledFunction()) in RefreshCallGraph() 290 if (CheckingMode && CS.getCalledFunction() && in RefreshCallGraph() 300 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph() 324 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph()
|
D | MemoryLocation.cpp | 162 if (CS.getCalledFunction() && in getForArgument() 163 isMemsetPattern16(CS.getCalledFunction(), TLI)) { in getForArgument()
|
D | GlobalsModRef.cpp | 246 if (const Function *F = CS.getCalledFunction()) in getModRefBehavior() 370 FunctionToSCCMap[CS.getCalledFunction()]) in AnalyzeUsesOfPointer() 381 Function *CalleeF = CS.getCalledFunction(); in AnalyzeUsesOfPointer() 583 } else if (Function *Callee = CS.getCalledFunction()) { in AnalyzeCallGraph() 916 if (const Function *F = CS.getCalledFunction()) in getModRefInfo()
|
D | InlineCost.cpp | 771 if (Function *F = CS.getCalledFunction()) { in visitCallSite() 1128 &F == CS.getCalledFunction(); in analyzeCall() 1349 return getInlineCost(CS, CS.getCalledFunction(), Threshold); in getInlineCost() 1432 if (&F == CS.getCalledFunction()) in isInlineViable() 1443 if (CS.getCalledFunction() && in isInlineViable() 1444 CS.getCalledFunction()->getIntrinsicID() == in isInlineViable()
|
D | MemoryBuiltins.cpp | 82 static Function *getCalledFunction(const Value *V, bool LookThroughBitCast) { in getCalledFunction() function 93 Function *Callee = CS.getCalledFunction(); in getCalledFunction() 108 Function *Callee = getCalledFunction(V, LookThroughBitCast); in getAllocationData() 307 Function *Callee = CI->getCalledFunction(); in isFreeCall()
|
D | CodeMetrics.cpp | 120 if (const Function *F = CS.getCalledFunction()) { in analyzeBasicBlock()
|
/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 133 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible() 291 Function *Callee = CS.getCalledFunction(); in getInlineThreshold() 352 emitAnalysis(CS, Twine(CS.getCalledFunction()->getName()) + in shouldInline() 360 emitAnalysis(CS, Twine(CS.getCalledFunction()->getName() + in shouldInline() 370 emitAnalysis(CS, Twine(CS.getCalledFunction()->getName() + in shouldInline() 407 if (!CS2 || CS2.getCalledFunction() != Caller) { in shouldInline() 442 CS.getCalledFunction()->getName() + in shouldInline() 453 CS, CS.getCalledFunction()->getName() + Twine(" can be inlined into ") + in shouldInline() 512 if (Function *Callee = CS.getCalledFunction()) in runOnSCC() 530 if (Function *F = CallSites[i].first.getCalledFunction()) in runOnSCC() [all …]
|
D | InlineAlways.cpp | 96 Function *Callee = CS.getCalledFunction(); in getInlineCost()
|
/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 | 584 if (CI && CI->getCalledFunction() == F) in FindTRECandidate() 603 FirstNonDbg(std::next(BB->begin())) == TI && CI->getCalledFunction() && in FindTRECandidate() 604 !TTI->isLoweredToCall(CI->getCalledFunction())) { in FindTRECandidate()
|
D | PartiallyInlineLibCalls.cpp | 75 if (!Call || !(CalledFunc = Call->getCalledFunction())) in runOnFunction()
|
/external/llvm/include/llvm/IR/ |
D | Statepoint.h | 131 FunTy *getCalledFunction() const { in getCalledFunction() function 140 Function *F = getCalledFunction(); in doesNotThrow() 181 Function *F = getCalledFunction(); in paramHasAttr()
|
D | IntrinsicInst.h | 45 return getCalledFunction()->getIntrinsicID(); in getIntrinsicID() 50 if (const Function *CF = I->getCalledFunction()) in classof()
|
/external/llvm/include/llvm/Analysis/ |
D | CallGraph.h | 236 assert(!CS.getInstruction() || !CS.getCalledFunction() || in addCalledFunction() 237 !CS.getCalledFunction()->isIntrinsic() || in addCalledFunction() 238 !Intrinsic::isLeaf(CS.getCalledFunction()->getIntrinsicID())); in addCalledFunction()
|
D | ObjCARCInstKind.h | 103 if (const Function *F = CI->getCalledFunction()) in GetBasicARCInstKind()
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600TextureIntrinsicsReplacer.cpp | 261 if (!I.getCalledFunction()) in visitCallInst() 264 StringRef Name = I.getCalledFunction()->getName(); in visitCallInst()
|
D | AMDGPUOpenCLImageTypeLoweringPass.cpp | 160 Function *F = Inst->getCalledFunction(); in replaceImageUses() 193 Function *F = Inst->getCalledFunction(); in replaceSamplerUses()
|
D | AMDGPUTargetTransformInfo.cpp | 126 StringRef Name = I->getCalledFunction()->getName(); in isIntrinsicSourceOfDivergence()
|
/external/llvm/lib/CodeGen/ |
D | ShadowStackGCLowering.cpp | 135 if (!CI->getCalledFunction() || in Next() 136 !CI->getCalledFunction()->getIntrinsicID()) in Next() 333 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/lib/Transforms/ObjCARC/ |
D | ObjCARCAPElim.cpp | 72 if (const Function *Callee = CS.getCalledFunction()) { in MayAutorelease()
|
/external/llvm/lib/Target/Mips/ |
D | MipsOs16.cpp | 102 Function &F_ = *CI->getCalledFunction(); in needsFP()
|