/external/spirv-llvm/lib/SPIRV/ |
D | OCL21ToSPIRV.cpp | 144 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()
|
D | SPIRVToOCL20.cpp | 161 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()
|
D | OCL20ToSPIRV.cpp | 368 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 …]
|
D | OCL20To12.cpp | 102 auto F = CI.getCalledFunction(); in visitCallInst() 125 AttributeSet Attrs = CI->getCalledFunction()->getAttributes(); in visitCallAtomicWorkItemFence()
|
/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 81 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()
|
D | FunctionAttrs.cpp | 96 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/ |
D | CallGraphSCCPass.cpp | 221 (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()
|
D | TypeMetadataUtils.cpp | 66 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/ |
D | CallGraphSCCPass.cpp | 233 (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()
|
D | TypeMetadataUtils.cpp | 66 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/ |
D | Statepoint.cpp | 21 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/ |
D | Statepoint.cpp | 21 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/ |
D | Inliner.cpp | 79 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()
|
D | FunctionAttrs.cpp | 129 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/ |
D | SimplifyLibCalls.cpp | 137 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/ |
D | SimplifyLibCalls.cpp | 183 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/ |
D | Inliner.cpp | 271 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()
|
D | FunctionAttrs.cpp | 133 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 …]
|
D | AlwaysInliner.cpp | 47 if (CS.getCalledFunction() == &F) in run() 146 Function *Callee = CS.getCalledFunction(); in getInlineCost()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BasicInliner.cpp | 86 if (CS && CS.getCalledFunction() in inlineFunctions() 87 && !CS.getCalledFunction()->isDeclaration()) in inlineFunctions() 101 if (Function *Callee = CS.getCalledFunction()) { in inlineFunctions()
|
D | LowerExpectIntrinsic.cpp | 51 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/ |
D | LowerExpectIntrinsic.cpp | 61 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/ |
D | AMDGPUInline.cpp | 110 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/ |
D | InlineCost.cpp | 71 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/ |
D | LowerExpectIntrinsic.cpp | 62 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect() 273 Function *Fn = CI->getCalledFunction(); in handleBrSelExpect() 334 Function *Fn = CI->getCalledFunction(); in lowerExpectIntrinsic()
|