Home
last modified time | relevance | path

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

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCallGraphSCCPass.cpp244 (Call->getCalledFunction() && in RefreshCallGraph()
245 Call->getCalledFunction()->isIntrinsic() && in RefreshCallGraph()
246 Intrinsic::isLeaf(Call->getCalledFunction()->getIntrinsicID()))) { in RefreshCallGraph()
274 Function *Callee = Call->getCalledFunction(); in RefreshCallGraph()
291 Function *Callee = Call->getCalledFunction(); in RefreshCallGraph()
306 if (ExistingNode->getFunction() == Call->getCalledFunction()) in RefreshCallGraph()
314 if (CheckingMode && Call->getCalledFunction() && in RefreshCallGraph()
324 if (Function *Callee = Call->getCalledFunction()) { in RefreshCallGraph()
348 if (Function *Callee = Call->getCalledFunction()) { in RefreshCallGraph()
DTypeMetadataUtils.cpp77 assert(CI->getCalledFunction()->getIntrinsicID() == Intrinsic::type_test); in findDevirtualizableCallsForTypeTest()
84 Function *F = AssumeCI->getCalledFunction(); in findDevirtualizableCallsForTypeTest()
102 assert(CI->getCalledFunction()->getIntrinsicID() == in findDevirtualizableCallsForTypeCheckedLoad()
DMemoryLocation.cpp196 if (TLI && Call->getCalledFunction() && in getForArgument()
197 TLI->getLibFunc(*Call->getCalledFunction(), F) && in getForArgument()
DMemoryBuiltins.cpp111 static const Function *getCalledFunction(const Value *V, bool LookThroughBitCast, in getCalledFunction() function
126 if (const Function *Callee = CS.getCalledFunction()) in getCalledFunction()
177 getCalledFunction(V, LookThroughBitCast, IsNoBuiltinCall)) in getAllocationData()
189 getCalledFunction(V, LookThroughBitCast, IsNoBuiltinCall)) in getAllocationData()
200 getCalledFunction(V, /*LookThroughBitCast=*/false, IsNoBuiltinCall); in getAllocationSize()
465 getCalledFunction(I, /*LookThroughBitCast=*/false, IsNoBuiltinCall); in isFreeCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInjectTLIMappings.cpp54 Out << "_" << CI.getCalledFunction()->getName() << "(" << VectorName << ")"; in mangleTLIName()
86 VectorF->copyAttributesFrom(CI.getCalledFunction()); in addVariantDeclaration()
107 if (CI.isNoBuiltin() || !CI.getCalledFunction()) in addMappingsFromTLI()
110 const std::string ScalarName = CI.getCalledFunction()->getName(); in addMappingsFromTLI()
DSimplifyLibCalls.cpp147 Function *InnerCallee = FOpen->getCalledFunction(); in isLocallyOpenedFile()
156 inferLibFuncAttributes(*CI->getCalledFunction(), *TLI); in isLocallyOpenedFile()
341 Function *Callee = CI->getCalledFunction(); in optimizeStrChr()
572 Function *Callee = CI->getCalledFunction(); in optimizeStpCpy()
600 Function *Callee = CI->getCalledFunction(); in optimizeStrNCpy()
1204 Function *InnerCallee = Malloc->getCalledFunction(); in foldMallocMemset()
1299 Function *CalleeFn = CI->getCalledFunction(); in optimizeDoubleFP()
1415 return B.CreateFNeg(B.CreateCall(Call->getCalledFunction(), X)); in optimizeTrigReflections()
1422 return B.CreateCall(Call->getCalledFunction(), X, "cos"); in optimizeTrigReflections()
1476 AttributeList Attrs = Pow->getCalledFunction()->getAttributes(); in replacePowWithExp()
[all …]
DInlineFunction.cpp542 if (auto *F = CI->getCalledFunction()) in HandleCallsInBlockInlinedThroughInvoke()
814 const Function *CalledFunc = CS.getCalledFunction(); in CloneAliasScopeMetadata()
924 const Function *CalledFunc = CS.getCalledFunction(); in AddAliasScopeMetadata()
1153 Function *CalledFunc = CS.getCalledFunction(); in AddAlignmentAssumptions()
1185 const Function *Callee = CS.getCalledFunction(); in UpdateCallGraphAfterInlining()
1217 if (NewCall->getCalledFunction() && in UpdateCallGraphAfterInlining()
1218 NewCall->getCalledFunction()->isIntrinsic()) in UpdateCallGraphAfterInlining()
1231 if (Function *F = NewCall->getCalledFunction()) { in UpdateCallGraphAfterInlining()
1575 Function *CalledFunc = CS.getCalledFunction(); in InlineFunction()
1916 CI->getCalledFunction() == ForwardVarArgsTo) || in InlineFunction()
[all …]
DLibCallsShrinkWrap.cpp82 LLVM_DEBUG(dbgs() << "CDCE calls: " << CI->getCalledFunction()->getName() in perform()
301 Function *Callee = CI.getCalledFunction(); in checkCandidate()
507 Function *Callee = CI->getCalledFunction(); in perform()
DCallPromotionUtils.cpp321 assert(!CS.getCalledFunction() && "Only indirect call sites can be promoted"); in isLegalToPromote()
367 assert(!CS.getCalledFunction() && "Only indirect call sites can be promoted"); in promoteCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp141 if (!Call->hasOperandBundles() && Call->getCalledFunction() && in checkFunctionMemoryAccess()
142 SCCNodes.count(Call->getCalledFunction())) in checkFunctionMemoryAccess()
371 Function *F = CS.getCalledFunction(); in captured()
499 Function *F = CS.getCalledFunction(); in determinePointerReadAttrs()
642 if (auto *CalledFunc = CS.getCalledFunction()) { in addArgumentAttrsFromCallsites()
910 if (CS.getCalledFunction() && SCCNodes.count(CS.getCalledFunction())) in isFunctionMallocLike()
1017 Function *Callee = CS.getCalledFunction(); in isReturnNonNull()
1229 return CS && CS.isConvergent() && SCCNodes.count(CS.getCalledFunction()) == 0; in InstrBreaksNonConvergent()
1237 if (Function *Callee = CI->getCalledFunction()) { in InstrBreaksNonThrowing()
1254 Function *Callee = CS.getCalledFunction(); in InstrBreaksNoFree()
[all …]
DInliner.cpp279 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible()
353 if (!CS2 || CS2.getCalledFunction() != Caller) { in shouldBeDeferred()
425 Function *Callee = CS.getCalledFunction(); in shouldInline()
573 if (Function *Callee = CS.getCalledFunction()) in inlineCallsImpl()
602 if (Function *F = CallSites[i].first.getCalledFunction()) in inlineCallsImpl()
622 Function *Callee = CS.getCalledFunction(); in inlineCallsImpl()
932 if (Function *Callee = CS.getCalledFunction()) { in run()
1011 Function &Callee = *CS.getCalledFunction(); in run()
1029 Function &Callee = *CS.getCalledFunction(); in run()
1100 if (Function *NewCallee = CS.getCalledFunction()) in run()
DAlwaysInliner.cpp56 if (CS.getCalledFunction() == &F) in run()
155 Function *Callee = CS.getCalledFunction(); in getInlineCost()
DPruneEH.cpp127 if (Function *Callee = CI->getCalledFunction()) { in runImpl()
247 const Function *Callee = Call->getCalledFunction(); in DeleteBasicBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInline.cpp115 Function *Callee = CS.getCalledFunction(); in getInlineThreshold()
160 Function *Callee = CS.getCalledFunction(); in isWrapperOnlyCall()
178 Function *Callee = CS.getCalledFunction(); in getInlineCost()
DAMDGPUFixFunctionBitcasts.cpp35 if (CS.getCalledFunction()) in visitCallSite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAbstractCallSite.cpp38 const Function *Callee = ICS.getCalledFunction(); in getCallbackUses()
86 Function *Callee = CS.getCalledFunction(); in AbstractCallSite()
DStatepoint.cpp21 if (auto *F = Call->getCalledFunction()) in isStatepoint()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp63 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect()
279 Function *Fn = CI->getCalledFunction(); in handleBrSelExpect()
349 Function *Fn = CI->getCalledFunction(); in lowerExpectIntrinsic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DSpeculateAnalyses.cpp56 auto getCalledFunction = [&CallesNames](const CallBase *Call) { in findCalles() local
63 getCalledFunction(CI); in findCalles()
66 getCalledFunction(II); in findCalles()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DStatepoint.h142 FunTy *getCalledFunction() const { in getCalledFunction() function
151 Function *F = getCalledFunction(); in doesNotThrow()
192 Function *F = getCalledFunction(); in paramHasAttr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCallGraph.h233 assert(!Call || !Call->getCalledFunction() || in addCalledFunction()
234 !Call->getCalledFunction()->isIntrinsic() || in addCalledFunction()
235 !Intrinsic::isLeaf(Call->getCalledFunction()->getIntrinsicID())); in addCalledFunction()
DObjCARCInstKind.h108 if (const Function *F = CI->getCalledFunction()) in GetBasicARCInstKind()
DTargetLibraryInfo.h278 return !CS.isNoBuiltin() && CS.getCalledFunction() && in getLibFunc()
279 getLibFunc(*(CS.getCalledFunction()), F); in getLibFunc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DGCRootLowering.cpp136 if (Function *F = CI->getCalledFunction()) in CouldBecomeSafePoint()
203 Function *F = CI->getCalledFunction(); in DoLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp217 Function *F = CI->getCalledFunction(); in convertFCmp()
261 Function *F = CI->getCalledFunction(); in convertICmp()

123456