Home
last modified time | relevance | path

Searched refs:NFTy (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp164 FunctionType *NFTy = FunctionType::get(FTy->getReturnType(), Params, false); in deleteDeadVarargs() local
168 Function *NF = Function::Create(NFTy, F.getLinkage(), F.getAddressSpace()); in deleteDeadVarargs()
871 FunctionType *NFTy = FunctionType::get(NRetTy, Params, FTy->isVarArg()); in removeDeadStuffFromFunction() local
874 if (NFTy == FTy) in removeDeadStuffFromFunction()
878 Function *NF = Function::Create(NFTy, F->getLinkage(), F->getAddressSpace()); in removeDeadStuffFromFunction()
954 NewCB = CallInst::Create(NFTy, NF, Args, OpBundles, "", CB.getIterator()); in removeDeadStuffFromFunction()
1047 if (!NFTy->getReturnType()->isVoidTy()) { in removeDeadStuffFromFunction()
1092 if (NFTy != FTy && NF->getSubprogram()) { in removeDeadStuffFromFunction()
H A DExpandVariadics.cpp525 FunctionType *NFTy = inlinableVariadicFunctionType(M, FTy); in deriveFixedArityReplacement() local
526 Function *NF = Function::Create(NFTy, F.getLinkage(), F.getAddressSpace()); in deriveFixedArityReplacement()
537 Attrs = Attrs.addParamAttributes(Ctx, NFTy->getNumParams() - 1, ParamAttrs); in deriveFixedArityReplacement()
788 FunctionType *NFTy = inlinableVariadicFunctionType(M, VarargFunctionType); in expandCall() local
790 NewCB = CallInst::Create(NFTy, Dst, Args, OpBundles, "", CI->getIterator()); in expandCall()
H A DArgumentPromotion.cpp175 FunctionType *NFTy = FunctionType::get(RetTy, Params, FTy->isVarArg()); in doPromotion() local
178 Function *NF = Function::Create(NFTy, F->getLinkage(), F->getAddressSpace(), in doPromotion()