Home
last modified time | relevance | path

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

1234567

/external/spirv-llvm/lib/SPIRV/
DOCL21ToSPIRV.cpp144 auto F = CI.getCalledFunction(); in visitCallInst()
181 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallConvert()
189 ValuesToDelete.insert(CI->getCalledFunction()); in visitCallConvert()
195 auto F = Target->getCalledFunction(); in visitCallDecorate()
205 ValuesToDelete.insert(CI->getCalledFunction()); in visitCallDecorate()
212 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallSubGroupBarrier()
224 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in transBuiltin()
230 ValuesToDelete.insert(CI->getCalledFunction()); in transBuiltin()
DSPIRVToOCL20.cpp161 auto F = CI.getCalledFunction(); in visitCallInst()
200 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallSPIRVMemoryBarrier()
216 Function * func = CI->getCalledFunction(); in visitCallSPRIVImageQuerySize()
241 AttributeSet attributes = CI->getCalledFunction()->getAttributes(); in visitCallSPRIVImageQuerySize()
336 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallSPIRVAtomicBuiltin()
400 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallSPIRVBuiltin()
425 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallSPIRVGroupBuiltin()
452 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallSPIRVPipeBuiltin()
DOCL20ToSPIRV.cpp368 auto F = CI.getCalledFunction(); in visitCallInst()
529 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallNDRange()
568 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallAsyncWorkGroupCopy()
581 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallAtomicCmpXchg()
615 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallAllAny()
663 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in transMemoryBarrier()
782 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in transAtomicBuiltin()
817 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallBarrier()
872 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallConvert()
880 auto F = CI->getCalledFunction(); in visitCallGroupBuiltin()
[all …]
DOCL20To12.cpp102 auto F = CI.getCalledFunction(); in visitCallInst()
125 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallAtomicWorkItemFence()
DSPIRVLowerOCLBlocks.cpp218 auto CallBindF = CI->getCalledFunction(); in lowerBlockBind()
337 if(!CI || CI->getCalledFunction() != F) in lowerReturnBlock()
360 assert(CallBlkBind->getCalledFunction()->getName() == in getBlockInvokeFuncAndContext()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp81 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible()
267 if (!CS2 || CS2.getCalledFunction() != Caller) { in shouldBeDeferred()
309 emitAnalysis(CS, Twine(CS.getCalledFunction()->getName()) + in shouldInline()
317 emitAnalysis(CS, Twine(CS.getCalledFunction()->getName() + in shouldInline()
327 emitAnalysis(CS, Twine(CS.getCalledFunction()->getName() + in shouldInline()
340 CS.getCalledFunction()->getName() + in shouldInline()
350 CS, CS.getCalledFunction()->getName() + Twine(" can be inlined into ") + in shouldInline()
416 if (Function *Callee = CS.getCalledFunction()) in inlineCalls()
434 if (Function *F = CallSites[i].first.getCalledFunction()) in inlineCalls()
455 Function *Callee = CS.getCalledFunction(); in inlineCalls()
DFunctionAttrs.cpp96 if (!CS.hasOperandBundles() && CS.getCalledFunction() && in checkFunctionMemoryAccess()
97 SCCNodes.count(CS.getCalledFunction())) in checkFunctionMemoryAccess()
287 Function *F = CS.getCalledFunction(); in captured()
413 Function *F = CS.getCalledFunction(); in determinePointerReadAttrs()
726 if (CS.getCalledFunction() && SCCNodes.count(CS.getCalledFunction())) in isFunctionMallocLike()
829 Function *Callee = CS.getCalledFunction(); in isReturnNonNull()
929 SCCNodes.count(CS.getCalledFunction()) == 0) in removeConvergentAttrs()
975 Function *Callee = CS.getCalledFunction(); in addNoRecurseAttrs()
1018 if (!CS.getCalledFunction()) { in run()
DPruneEH.cpp131 if (Function *Callee = CI->getCalledFunction()) { in runImpl()
250 const Function *Callee = CS.getCalledFunction(); in DeleteBasicBlock()
/external/llvm/lib/Analysis/
DCallGraphSCCPass.cpp221 (CallSite(I->first).getCalledFunction() && in RefreshCallGraph()
222 CallSite(I->first).getCalledFunction()->isIntrinsic() && in RefreshCallGraph()
224 CallSite(I->first).getCalledFunction()->getIntrinsicID()))) { in RefreshCallGraph()
253 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph()
269 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph()
283 if (ExistingNode->getFunction() == CS.getCalledFunction()) in RefreshCallGraph()
291 if (CheckingMode && CS.getCalledFunction() && in RefreshCallGraph()
301 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph()
325 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph()
DTypeMetadataUtils.cpp66 assert(CI->getCalledFunction()->getIntrinsicID() == Intrinsic::type_test); in findDevirtualizableCallsForTypeTest()
74 Function *F = AssumeCI->getCalledFunction(); in findDevirtualizableCallsForTypeTest()
91 assert(CI->getCalledFunction()->getIntrinsicID() == in findDevirtualizableCallsForTypeCheckedLoad()
DMemoryLocation.cpp146 if (CS.getCalledFunction() && TLI.getLibFunc(*CS.getCalledFunction(), F) && in getForArgument()
/external/llvm/lib/IR/
DStatepoint.cpp21 static const Function *getCalledFunction(ImmutableCallSite CS) { in getCalledFunction() function
24 return CS.getCalledFunction(); in getCalledFunction()
28 if (auto *F = getCalledFunction(CS)) in isStatepoint()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DInliner.cpp79 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible()
208 Function *Callee = CS.getCalledFunction(); in getInlineThreshold()
265 if (!CS2 || CS2.getCalledFunction() != Caller) { in shouldInline()
368 if (CS.getCalledFunction() && CS.getCalledFunction()->isDeclaration()) in runOnSCC()
385 if (Function *F = CallSites[i].first.getCalledFunction()) in runOnSCC()
405 Function *Callee = CS.getCalledFunction(); in runOnSCC()
DFunctionAttrs.cpp129 if (CS.getCalledFunction() && SCCNodes.count(CS.getCalledFunction())) in AddReadAttrs()
308 if (CS.getCalledFunction() && in IsFunctionMallocLike()
309 SCCNodes.count(CS.getCalledFunction())) in IsFunctionMallocLike()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBasicInliner.cpp86 if (CS && CS.getCalledFunction() in inlineFunctions()
87 && !CS.getCalledFunction()->isDeclaration()) in inlineFunctions()
101 if (Function *Callee = CS.getCalledFunction()) { in inlineFunctions()
DLowerExpectIntrinsic.cpp51 Function *Fn = CI->getCalledFunction(); in HandleSwitchExpect()
98 Function *Fn = CI->getCalledFunction(); in HandleIfExpect()
147 Function *Fn = CI->getCalledFunction(); in runOnFunction()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp183 Function *Callee = CI->getCalledFunction(); in optimizeStrChr()
339 Function *Callee = CI->getCalledFunction(); in optimizeStpCpy()
363 Function *Callee = CI->getCalledFunction(); in optimizeStrNCpy()
816 Function *InnerCallee = Malloc->getCalledFunction(); in foldMallocMemset()
882 Function *Callee = CI->getCalledFunction(); in optimizeUnaryDoubleFP()
921 Function *Callee = CI->getCalledFunction(); in optimizeBinaryDoubleFP()
948 Function *Callee = CI->getCalledFunction(); in optimizeCos()
989 Function *Callee = CI->getCalledFunction(); in optimizePow()
1023 Function *OpCCallee = OpC->getCalledFunction(); in optimizePow()
1107 Function *Callee = CI->getCalledFunction(); in optimizeExp2()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp61 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect()
113 Function *Fn = CI->getCalledFunction(); in handleBranchExpect()
160 Function *Fn = CI->getCalledFunction(); in lowerExpectIntrinsic()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInlineCost.cpp71 if (const Function *F = CS.getCalledFunction()) { in analyzeBasicBlock()
86 if (!isa<IntrinsicInst>(II) && !callIsSmall(CS.getCalledFunction())) { in analyzeBasicBlock()
431 bool isDirectCall = CS.getCalledFunction() == Callee; in getInlineBonuses()
475 return getInlineCost(CS, CS.getCalledFunction(), NeverInline); in getInlineCost()
574 Function *Callee = CS.getCalledFunction(); in getInlineFudgeFactor()
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()
/external/swiftshader/third_party/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()
/external/llvm/include/llvm/Analysis/
DCallGraph.h237 assert(!CS.getInstruction() || !CS.getCalledFunction() || in addCalledFunction()
238 !CS.getCalledFunction()->isIntrinsic() || in addCalledFunction()
239 !Intrinsic::isLeaf(CS.getCalledFunction()->getIntrinsicID())); in addCalledFunction()
DIndirectCallSiteVisitor.h24 if (CS.getCalledFunction() || !CS.getCalledValue()) in visitCallSite()
/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()

1234567