Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp195 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 …]
DInlineFunction.cpp393 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/Analysis/
DCallGraphSCCPass.cpp220 (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()
DMemoryLocation.cpp162 if (CS.getCalledFunction() && in getForArgument()
163 isMemsetPattern16(CS.getCalledFunction(), TLI)) { in getForArgument()
DGlobalsModRef.cpp246 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()
DInlineCost.cpp771 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()
DMemoryBuiltins.cpp82 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()
/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/Transforms/IPO/
DInliner.cpp133 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 …]
DInlineAlways.cpp96 Function *Callee = CS.getCalledFunction(); in getInlineCost()
DFunctionAttrs.cpp142 if (CS.getCalledFunction() && SCCNodes.count(CS.getCalledFunction())) in checkFunctionMemoryAccess()
332 Function *F = CS.getCalledFunction(); in captured()
459 Function *F = CS.getCalledFunction(); in determinePointerReadAttrs()
771 if (CS.getCalledFunction() && SCCNodes.count(CS.getCalledFunction())) in isFunctionMallocLike()
873 Function *Callee = CS.getCalledFunction(); in isReturnNonNull()
/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.cpp584 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()
DPartiallyInlineLibCalls.cpp75 if (!Call || !(CalledFunc = Call->getCalledFunction())) in runOnFunction()
/external/llvm/include/llvm/IR/
DStatepoint.h131 FunTy *getCalledFunction() const { in getCalledFunction() function
140 Function *F = getCalledFunction(); in doesNotThrow()
181 Function *F = getCalledFunction(); in paramHasAttr()
DIntrinsicInst.h45 return getCalledFunction()->getIntrinsicID(); in getIntrinsicID()
50 if (const Function *CF = I->getCalledFunction()) in classof()
/external/llvm/include/llvm/Analysis/
DCallGraph.h236 assert(!CS.getInstruction() || !CS.getCalledFunction() || in addCalledFunction()
237 !CS.getCalledFunction()->isIntrinsic() || in addCalledFunction()
238 !Intrinsic::isLeaf(CS.getCalledFunction()->getIntrinsicID())); in addCalledFunction()
DObjCARCInstKind.h103 if (const Function *F = CI->getCalledFunction()) in GetBasicARCInstKind()
/external/llvm/lib/Target/AMDGPU/
DR600TextureIntrinsicsReplacer.cpp261 if (!I.getCalledFunction()) in visitCallInst()
264 StringRef Name = I.getCalledFunction()->getName(); in visitCallInst()
DAMDGPUOpenCLImageTypeLoweringPass.cpp160 Function *F = Inst->getCalledFunction(); in replaceImageUses()
193 Function *F = Inst->getCalledFunction(); in replaceSamplerUses()
DAMDGPUTargetTransformInfo.cpp126 StringRef Name = I->getCalledFunction()->getName(); in isIntrinsicSourceOfDivergence()
/external/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp135 if (!CI->getCalledFunction() || in Next()
136 !CI->getCalledFunction()->getIntrinsicID()) in Next()
333 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/lib/Transforms/ObjCARC/
DObjCARCAPElim.cpp72 if (const Function *Callee = CS.getCalledFunction()) { in MayAutorelease()
/external/llvm/lib/Target/Mips/
DMipsOs16.cpp102 Function &F_ = *CI->getCalledFunction(); in needsFP()

1234