• Home
  • Raw
  • Download

Lines Matching refs:NF

217   Function *NF = Function::Create(NFTy, Fn.getLinkage());  in DeleteDeadVarargs()  local
218 NF->copyAttributesFrom(&Fn); in DeleteDeadVarargs()
219 Fn.getParent()->getFunctionList().insert(&Fn, NF); in DeleteDeadVarargs()
220 NF->takeName(&Fn); in DeleteDeadVarargs()
246 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in DeleteDeadVarargs()
251 New = CallInst::Create(NF, Args, "", Call); in DeleteDeadVarargs()
274 NF->getBasicBlockList().splice(NF->begin(), Fn.getBasicBlockList()); in DeleteDeadVarargs()
281 I2 = NF->arg_begin(); I != E; ++I, ++I2) { in DeleteDeadVarargs()
767 Function *NF = Function::Create(NFTy, F->getLinkage()); in RemoveDeadStuffFromFunction() local
768 NF->copyAttributesFrom(F); in RemoveDeadStuffFromFunction()
769 NF->setAttributes(NewPAL); in RemoveDeadStuffFromFunction()
772 F->getParent()->getFunctionList().insert(F, NF); in RemoveDeadStuffFromFunction()
773 NF->takeName(F); in RemoveDeadStuffFromFunction()
790 RAttrs &= ~Attribute::typeIncompatible(NF->getReturnType()); in RemoveDeadStuffFromFunction()
824 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in RemoveDeadStuffFromFunction()
829 New = CallInst::Create(NF, Args, "", Call); in RemoveDeadStuffFromFunction()
895 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList()); in RemoveDeadStuffFromFunction()
901 I2 = NF->arg_begin(); I != E; ++I, ++i) in RemoveDeadStuffFromFunction()
917 if (F->getReturnType() != NF->getReturnType()) in RemoveDeadStuffFromFunction()
918 for (Function::iterator BB = NF->begin(), E = NF->end(); BB != E; ++BB) in RemoveDeadStuffFromFunction()