Home
last modified time | relevance | path

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

12345678910>>...12

/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()
/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()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCallGraphSCCPass.cpp233 (CallSite(I->first).getCalledFunction() && in RefreshCallGraph()
234 CallSite(I->first).getCalledFunction()->isIntrinsic() && in RefreshCallGraph()
236 CallSite(I->first).getCalledFunction()->getIntrinsicID()))) { in RefreshCallGraph()
265 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph()
281 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph()
295 if (ExistingNode->getFunction() == CS.getCalledFunction()) in RefreshCallGraph()
303 if (CheckingMode && CS.getCalledFunction() && in RefreshCallGraph()
313 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph()
337 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph()
DTypeMetadataUtils.cpp66 assert(CI->getCalledFunction()->getIntrinsicID() == Intrinsic::type_test); in findDevirtualizableCallsForTypeTest()
73 Function *F = AssumeCI->getCalledFunction(); in findDevirtualizableCallsForTypeTest()
91 assert(CI->getCalledFunction()->getIntrinsicID() == in findDevirtualizableCallsForTypeCheckedLoad()
/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-7.0/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-7.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp137 Function *InnerCallee = FOpen->getCalledFunction(); in isLocallyOpenedFile()
146 inferLibFuncAttributes(*CI->getCalledFunction(), *TLI); in isLocallyOpenedFile()
229 Function *Callee = CI->getCalledFunction(); in optimizeStrChr()
385 Function *Callee = CI->getCalledFunction(); in optimizeStpCpy()
409 Function *Callee = CI->getCalledFunction(); in optimizeStrNCpy()
879 Function *InnerCallee = Malloc->getCalledFunction(); in foldMallocMemset()
955 Function *Callee = CI->getCalledFunction(); in optimizeUnaryDoubleFP()
1026 Function *Callee = CI->getCalledFunction(); in optimizeBinaryDoubleFP()
1082 Function *Callee = CI->getCalledFunction(); in optimizeCos()
1149 Pow->getCalledFunction()->getAttributes()); in replacePowWithSqrt()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DInliner.cpp271 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible()
333 if (!CS2 || CS2.getCalledFunction() != Caller) { in shouldBeDeferred()
378 Function *Callee = CS.getCalledFunction(); in shouldInline()
509 if (Function *Callee = CS.getCalledFunction()) in inlineCallsImpl()
537 if (Function *F = CallSites[i].first.getCalledFunction()) in inlineCallsImpl()
557 Function *Callee = CS.getCalledFunction(); in inlineCallsImpl()
863 if (Function *Callee = CS.getCalledFunction()) { in run()
939 Function &Callee = *CS.getCalledFunction(); in run()
953 Function &Callee = *CS.getCalledFunction(); in run()
1022 if (Function *NewCallee = CS.getCalledFunction()) in run()
DFunctionAttrs.cpp133 if (!CS.hasOperandBundles() && CS.getCalledFunction() && in checkFunctionMemoryAccess()
134 SCCNodes.count(CS.getCalledFunction())) in checkFunctionMemoryAccess()
330 Function *F = CS.getCalledFunction(); in captured()
458 Function *F = CS.getCalledFunction(); in determinePointerReadAttrs()
601 if (auto *CalledFunc = CS.getCalledFunction()) { in addArgumentAttrsFromCallsites()
858 if (CS.getCalledFunction() && SCCNodes.count(CS.getCalledFunction())) in isFunctionMallocLike()
965 Function *Callee = CS.getCalledFunction(); in isReturnNonNull()
1177 return CS && CS.isConvergent() && SCCNodes.count(CS.getCalledFunction()) == 0; in InstrBreaksNonConvergent()
1185 if (Function *Callee = CI->getCalledFunction()) { in InstrBreaksNonThrowing()
1277 Function *Callee = CS.getCalledFunction(); in addNoRecurseAttrs()
[all …]
DAlwaysInliner.cpp47 if (CS.getCalledFunction() == &F) in run()
146 Function *Callee = CS.getCalledFunction(); in getInlineCost()
/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/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-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUInline.cpp110 Function *Callee = CS.getCalledFunction(); in getInlineThreshold()
155 Function *Callee = CS.getCalledFunction(); in isWrapperOnlyCall()
173 Function *Callee = CS.getCalledFunction(); in getInlineCost()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp62 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect()
273 Function *Fn = CI->getCalledFunction(); in handleBrSelExpect()
334 Function *Fn = CI->getCalledFunction(); in lowerExpectIntrinsic()

12345678910>>...12