• Home
  • Raw
  • Download

Lines Matching refs:NF

149   Function *NF = Function::Create(NFTy, Fn.getLinkage());  in DeleteDeadVarargs()  local
150 NF->copyAttributesFrom(&Fn); in DeleteDeadVarargs()
151 NF->setComdat(Fn.getComdat()); in DeleteDeadVarargs()
152 Fn.getParent()->getFunctionList().insert(Fn.getIterator(), NF); in DeleteDeadVarargs()
153 NF->takeName(&Fn); in DeleteDeadVarargs()
185 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in DeleteDeadVarargs()
190 New = CallInst::Create(NF, Args, OpBundles, "", Call); in DeleteDeadVarargs()
213 NF->getBasicBlockList().splice(NF->begin(), Fn.getBasicBlockList()); in DeleteDeadVarargs()
220 I2 = NF->arg_begin(); I != E; ++I, ++I2) { in DeleteDeadVarargs()
227 NF->setSubprogram(Fn.getSubprogram()); in DeleteDeadVarargs()
230 Fn.replaceAllUsesWith(ConstantExpr::getBitCast(NF, Fn.getType())); in DeleteDeadVarargs()
233 NF->removeDeadConstantUsers(); in DeleteDeadVarargs()
815 Function *NF = Function::Create(NFTy, F->getLinkage()); in RemoveDeadStuffFromFunction() local
816 NF->copyAttributesFrom(F); in RemoveDeadStuffFromFunction()
817 NF->setComdat(F->getComdat()); in RemoveDeadStuffFromFunction()
818 NF->setAttributes(NewPAL); in RemoveDeadStuffFromFunction()
821 F->getParent()->getFunctionList().insert(F->getIterator(), NF); in RemoveDeadStuffFromFunction()
822 NF->takeName(F); in RemoveDeadStuffFromFunction()
841 AttributeFuncs::typeIncompatible(NF->getReturnType())); in RemoveDeadStuffFromFunction()
843 AttributesVec.push_back(AttributeSet::get(NF->getContext(), RAttrs)); in RemoveDeadStuffFromFunction()
891 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in RemoveDeadStuffFromFunction()
896 New = CallInst::Create(NF, Args, OpBundles, "", Call); in RemoveDeadStuffFromFunction()
961 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList()); in RemoveDeadStuffFromFunction()
967 I2 = NF->arg_begin(); I != E; ++I, ++i) in RemoveDeadStuffFromFunction()
983 if (F->getReturnType() != NF->getReturnType()) in RemoveDeadStuffFromFunction()
984 for (BasicBlock &BB : *NF) in RemoveDeadStuffFromFunction()
1024 NF->setSubprogram(F->getSubprogram()); in RemoveDeadStuffFromFunction()