Home
last modified time | relevance | path

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

123456

/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptx86ABIFixups.cpp33 const auto func_name = call_inst->getCalledFunction()->getName(); in isRSAPICall()
37 if (call_inst->getCalledFunction()->isIntrinsic()) in isRSAPICall()
55 if (!call_inst || !call_inst->getCalledFunction()) in isRSLargeReturnCall()
58 return call_inst->getCalledFunction() in isRSLargeReturnCall()
93 llvm::Function *orig = call_inst->getCalledFunction(); in cloneToStructRetFnTy()
138 if (!call_inst || !call_inst->getCalledFunction()) in findRSCallSites()
164 llvm::Function *func = call_inst->getCalledFunction(); in fixupX86StructRetCalls()
235 rs_functions.insert(call_inst->getCalledFunction()); in fixupRSAllocationStructByValCalls()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DCallGraphSCCPass.cpp245 (CallSite(I->first).getCalledFunction() && in RefreshCallGraph()
246 CallSite(I->first).getCalledFunction()->isIntrinsic() && in RefreshCallGraph()
248 CallSite(I->first).getCalledFunction()->getIntrinsicID()))) { in RefreshCallGraph()
277 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph()
293 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph()
307 if (ExistingNode->getFunction() == CS.getCalledFunction()) in RefreshCallGraph()
315 if (CheckingMode && CS.getCalledFunction() && in RefreshCallGraph()
325 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph()
349 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph()
H A DTypeMetadataUtils.cpp78 assert(CI->getCalledFunction()->getIntrinsicID() == Intrinsic::type_test); in findDevirtualizableCallsForTypeTest()
85 Function *F = AssumeCI->getCalledFunction(); in findDevirtualizableCallsForTypeTest()
103 assert(CI->getCalledFunction()->getIntrinsicID() == in findDevirtualizableCallsForTypeCheckedLoad()
H A DMemoryLocation.cpp196 if (TLI && Call->getCalledFunction() && in getForArgument()
197 TLI->getLibFunc(*Call->getCalledFunction(), F) && in getForArgument()
H A DMemoryBuiltins.cpp112 static const Function *getCalledFunction(const Value *V, bool LookThroughBitCast, in getCalledFunction() function
127 if (const Function *Callee = CS.getCalledFunction()) in getCalledFunction()
178 getCalledFunction(V, LookThroughBitCast, IsNoBuiltinCall)) in getAllocationData()
188 getCalledFunction(V, /*LookThroughBitCast=*/false, IsNoBuiltinCall); in getAllocationSize()
366 getCalledFunction(I, /*LookThroughBitCast=*/false, IsNoBuiltinCall); in isFreeCall()
/freebsd-12.1/contrib/llvm/lib/IR/
H A 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()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp257 Function *Callee = CI->getCalledFunction(); in optimizeStrChr()
448 Function *Callee = CI->getCalledFunction(); in optimizeStpCpy()
472 Function *Callee = CI->getCalledFunction(); in optimizeStrNCpy()
1476 Function *Callee = CI->getCalledFunction(); in optimizeExp2()
1521 Function *Callee = CI->getCalledFunction(); in optimizeFMinFMax()
1558 Function *Callee = CI->getCalledFunction(); in optimizeLog()
1584 Function *F = OpC->getCalledFunction(); in optimizeLog()
1603 Function *Callee = CI->getCalledFunction(); in optimizeSqrt()
1672 Function *Callee = CI->getCalledFunction(); in optimizeTan()
1691 Function *F = OpC->getCalledFunction(); in optimizeTan()
[all …]
H A DInlineFunction.cpp549 if (auto *F = CI->getCalledFunction()) in HandleCallsInBlockInlinedThroughInvoke()
821 const Function *CalledFunc = CS.getCalledFunction(); in CloneAliasScopeMetadata()
931 const Function *CalledFunc = CS.getCalledFunction(); in AddAliasScopeMetadata()
1161 Function *CalledFunc = CS.getCalledFunction(); in AddAlignmentAssumptions()
1193 const Function *Callee = CS.getCalledFunction(); in UpdateCallGraphAfterInlining()
1226 if (CS && CS.getCalledFunction() && CS.getCalledFunction()->isIntrinsic()) in UpdateCallGraphAfterInlining()
1239 if (Function *F = CallSite(NewCall).getCalledFunction()) { in UpdateCallGraphAfterInlining()
1513 Function *CalledFunc = CS.getCalledFunction(); in InlineFunction()
1854 CI->getCalledFunction() == ForwardVarArgsTo) || in InlineFunction()
1873 CallInst::Create(CI->getCalledFunction() ? CI->getCalledFunction() in InlineFunction()
[all …]
H A 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()
H A DCallPromotionUtils.cpp322 assert(!CS.getCalledFunction() && "Only indirect call sites can be promoted"); in isLegalToPromote()
368 assert(!CS.getCalledFunction() && "Only indirect call sites can be promoted"); in promoteCall()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DInliner.cpp280 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible()
354 if (!CS2 || CS2.getCalledFunction() != Caller) { in shouldBeDeferred()
426 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()
928 if (Function *Callee = CS.getCalledFunction()) { in run()
1007 Function &Callee = *CS.getCalledFunction(); in run()
1021 Function &Callee = *CS.getCalledFunction(); in run()
1092 if (Function *NewCallee = CS.getCalledFunction()) in run()
H A DFunctionAttrs.cpp138 if (!Call->hasOperandBundles() && Call->getCalledFunction() && in checkFunctionMemoryAccess()
139 SCCNodes.count(Call->getCalledFunction())) in checkFunctionMemoryAccess()
365 Function *F = CS.getCalledFunction(); in captured()
493 Function *F = CS.getCalledFunction(); in determinePointerReadAttrs()
636 if (auto *CalledFunc = CS.getCalledFunction()) { in addArgumentAttrsFromCallsites()
893 if (CS.getCalledFunction() && SCCNodes.count(CS.getCalledFunction())) in isFunctionMallocLike()
1000 Function *Callee = CS.getCalledFunction(); in isReturnNonNull()
1212 return CS && CS.isConvergent() && SCCNodes.count(CS.getCalledFunction()) == 0; in InstrBreaksNonConvergent()
1220 if (Function *Callee = CI->getCalledFunction()) { in InstrBreaksNonThrowing()
1313 Function *Callee = CS.getCalledFunction(); in addNoRecurseAttrs()
[all …]
H A DAlwaysInliner.cpp47 if (CS.getCalledFunction() == &F) in run()
146 Function *Callee = CS.getCalledFunction(); in getInlineCost()
H A DPruneEH.cpp127 if (Function *Callee = CI->getCalledFunction()) { in runImpl()
246 const Function *Callee = CS.getCalledFunction(); in DeleteBasicBlock()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUInline.cpp110 Function *Callee = CS.getCalledFunction(); in getInlineThreshold()
153 Function *Callee = CS.getCalledFunction(); in isWrapperOnlyCall()
171 Function *Callee = CS.getCalledFunction(); in getInlineCost()
H A DAMDGPUFixFunctionBitcasts.cpp36 if (CS.getCalledFunction()) in visitCallSite()
H A DAMDGPULibCalls.cpp544 Function *Callee = aCI->getCalledFunction(); in useNative()
577 auto *Callee = CI->getCalledFunction(); in fold_read_write_pipe()
638 Function *Callee = CI->getCalledFunction(); in fold()
1276 if (!AMDGPULibFunc::parse(CI->getCalledFunction()->getName(), fInfo)) in fold_sincos()
1312 Function *UCallee = XI->getCalledFunction(); in fold_sincos()
1386 Function *UCallee = UI->getCalledFunction(); in insertAlloca()
1731 Function *Callee = CI->getCalledFunction(); in runOnFunction()
1756 Function *Callee = CI->getCalledFunction(); in runOnFunction()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp62 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect()
273 Function *Fn = CI->getCalledFunction(); in handleBrSelExpect()
334 Function *Fn = CI->getCalledFunction(); in lowerExpectIntrinsic()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DStatepoint.h151 FunTy *getCalledFunction() const { in getCalledFunction() function
160 Function *F = getCalledFunction(); in doesNotThrow()
201 Function *F = getCalledFunction(); in paramHasAttr()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DCallGraph.h234 assert(!CS.getInstruction() || !CS.getCalledFunction() || in addCalledFunction()
235 !CS.getCalledFunction()->isIntrinsic() || in addCalledFunction()
236 !Intrinsic::isLeaf(CS.getCalledFunction()->getIntrinsicID())); in addCalledFunction()
H A DObjCARCInstKind.h105 if (const Function *F = CI->getCalledFunction()) in GetBasicARCInstKind()
H A DTargetLibraryInfo.h242 return !CS.isNoBuiltin() && CS.getCalledFunction() && in getLibFunc()
243 getLibFunc(*(CS.getCalledFunction()), F); in getLibFunc()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DGCRootLowering.cpp136 if (Function *F = CI->getCalledFunction()) in CouldBecomeSafePoint()
203 Function *F = CI->getCalledFunction(); in DoLowering()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp217 Function *F = CI->getCalledFunction(); in convertFCmp()
261 Function *F = CI->getCalledFunction(); in convertICmp()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp715 !(CI->getCalledFunction() && TLI && in canVectorizeInstrs()
716 TLI->isFunctionVectorizable(CI->getCalledFunction()->getName()))) { in canVectorizeInstrs()
721 TLI && CI->getCalledFunction() && in canVectorizeInstrs()
723 TLI->getLibFunc(CI->getCalledFunction()->getName(), Func) && in canVectorizeInstrs()

123456