Home
last modified time | relevance | path

Searched refs:setCalledFunction (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp105 Intrinsic->setCalledFunction(F); in lowerIntrinsicToFunction()
112 Intrinsic->setCalledFunction(FC); in lowerIntrinsicToFunction()
290 FSHIntrinsic->setCalledFunction(FSHFunc); in lowerFunnelShifts()
335 FSHIntrinsic->setCalledFunction(FSHFunc); in lowerFunnelShifts()
351 II->setCalledFunction(F); in lowerExpectAssume()
356 II->setCalledFunction(F); in lowerExpectAssume()
373 II->setCalledFunction(F); in toSpvOverloadedIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLowerMASSVEntries.cpp125 CI->setCalledFunction( in handlePowSpecialCases()
150 CI->setCalledFunction(FCache); in lowerMASSVCall()
H A DPPCGenScalarMASSEntries.cpp102 CI.setCalledFunction(FCache); in createScalarMASSCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp394 II->setCalledFunction(NewDecl); in rewriteIntrinsicOperands()
406 II->setCalledFunction(NewDecl); in rewriteIntrinsicOperands()
416 II->setCalledFunction(NewDecl); in rewriteIntrinsicOperands()
424 II->setCalledFunction(NewDecl); in rewriteIntrinsicOperands()
436 II->setCalledFunction(NewDecl); in rewriteIntrinsicOperands()
H A DJumpTableToSwitch.cpp126 Call->setCalledFunction(Func); in expandToSwitch()
H A DMemCpyOptimizer.cpp1951 M->setCalledFunction(Intrinsic::getOrInsertDeclaration( in processMemMove()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroAnnotationElide.cpp87 NewCB->setCalledFunction(NewCallee->getFunctionType(), NewCallee); in processCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp162 cast<CallInst>(Retain)->setCalledFunction(Decl); in optimizeRetainCall()
198 Retain->setCalledFunction(Decl); in contractAutorelease()
H A DObjCARCOpts.cpp644 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl); in OptimizeRetainRVCall()
752 AutoreleaseRVCI->setCalledFunction(NewDecl); in OptimizeAutoreleaseRVCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp507 aCI->setCalledFunction(F); in useNative()
752 CI->setCalledFunction(Intrinsic::getOrInsertDeclaration( in fold()
769 Call->setCalledFunction(PowrFunc); in fold()
789 Call->setCalledFunction(PownFunc); in fold()
1299 CI->setCalledFunction(Intrinsic::getOrInsertDeclaration( in replaceLibCallWithSimpleIntrinsic()
H A DAMDGPUTargetTransformInfo.cpp1164 II->setCalledFunction(NewDecl); in rewriteIntrinsicWithAddressSpace()
1173 II->setCalledFunction(NewDecl); in rewriteIntrinsicWithAddressSpace()
1183 II->setCalledFunction(NewDecl); in rewriteIntrinsicWithAddressSpace()
H A DAMDGPUInstCombineIntrinsic.cpp290 II.setCalledFunction(HalfDecl); in simplifyAMDGCNImageIntrinsic()
696 II.setCalledFunction(NewDecl); in instCombineIntrinsic()
720 II.setCalledFunction(NewDecl); in instCombineIntrinsic()
1430 II.setCalledFunction(NewDecl); in instCombineIntrinsic()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h1387 void setCalledFunction(Function *Fn) {
1388 setCalledFunction(Fn->getFunctionType(), Fn);
1392 void setCalledFunction(FunctionCallee Fn) {
1393 setCalledFunction(Fn.getFunctionType(), Fn.getCallee());
1398 void setCalledFunction(FunctionType *FTy, Value *Fn) {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp798 Call->setCalledFunction(S.Clone); in run()
1208 CS->setCalledFunction(BestSpec->Clone); in updateCallSites()
H A DMemProfContextDisambiguation.cpp3983 cast<CallBase>(CallerCall.call())->setCalledFunction(CalleeFunc.func()); in updateCall()
5602 DirectCall.setCalledFunction(TargetToUse); in performICP()
H A DIROutliner.cpp1434 Call->setCalledFunction(AggFunc); in replaceCalledFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp3374 New->setCalledFunction(IPrintFFn); in optimizePrintF()
3386 New->setCalledFunction(SmallPrintFFn); in optimizePrintF()
3491 New->setCalledFunction(SIPrintFFn); in optimizeSPrintF()
3503 New->setCalledFunction(SmallSPrintFFn); in optimizeSPrintF()
3710 New->setCalledFunction(FIPrintFFn); in optimizeFPrintF()
3723 New->setCalledFunction(SmallFPrintFFn); in optimizeFPrintF()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DInstruction.cpp502 void CallBase::setCalledFunction(Function *F) { in setCalledFunction() function in llvm::sandboxir::CallBase
510 cast<llvm::CallBase>(Val)->setCalledFunction( in setCalledFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp3077 CB.setCalledFunction(&F); in visitWrappedCallBase()
3085 CB.setCalledFunction(&F); in visitWrappedCallBase()
3091 CB.setCalledFunction(&F); in visitWrappedCallBase()
H A DGCOVProfiling.cpp641 F->setCalledFunction(GCOVFork); in AddFlushBeforeForkAndExec()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1776 CI.setCalledFunction( in visitCallInst()
4183 cast<CallBase>(OldCall)->setCalledFunction( in visitCallBase()
4764 Call.setCalledFunction(FTy, NestF); in transformCallThroughTrampoline()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h1421 LLVM_ABI void setCalledFunction(Function *F);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp4578 CI->setCalledFunction(NewFn); in UpgradeIntrinsicCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp1655 II.setCalledFunction(NewDecl); in simplifySVEIntrinsic()