• Home
  • Raw
  • Download

Lines Matching refs:NF

257   Function *NF = Function::Create(NFTy, Fn.getLinkage());  in DeleteDeadVarargs()  local
258 NF->copyAttributesFrom(&Fn); in DeleteDeadVarargs()
259 Fn.getParent()->getFunctionList().insert(&Fn, NF); in DeleteDeadVarargs()
260 NF->takeName(&Fn); in DeleteDeadVarargs()
287 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in DeleteDeadVarargs()
292 New = CallInst::Create(NF, Args, "", Call); in DeleteDeadVarargs()
315 NF->getBasicBlockList().splice(NF->begin(), Fn.getBasicBlockList()); in DeleteDeadVarargs()
322 I2 = NF->arg_begin(); I != E; ++I, ++I2) { in DeleteDeadVarargs()
331 DI->second.replaceFunction(NF); in DeleteDeadVarargs()
822 Function *NF = Function::Create(NFTy, F->getLinkage()); in RemoveDeadStuffFromFunction() local
823 NF->copyAttributesFrom(F); in RemoveDeadStuffFromFunction()
824 NF->setAttributes(NewPAL); in RemoveDeadStuffFromFunction()
827 F->getParent()->getFunctionList().insert(F, NF); in RemoveDeadStuffFromFunction()
828 NF->takeName(F); in RemoveDeadStuffFromFunction()
846 AttributeSet::get(NF->getContext(), AttributeSet::ReturnIndex, in RemoveDeadStuffFromFunction()
849 typeIncompatible(NF->getReturnType(), in RemoveDeadStuffFromFunction()
853 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, "", Call); in RemoveDeadStuffFromFunction()
962 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList()); in RemoveDeadStuffFromFunction()
968 I2 = NF->arg_begin(); I != E; ++I, ++i) in RemoveDeadStuffFromFunction()
984 if (F->getReturnType() != NF->getReturnType()) in RemoveDeadStuffFromFunction()
985 for (Function::iterator BB = NF->begin(), E = NF->end(); BB != E; ++BB) in RemoveDeadStuffFromFunction()
1027 DI->second.replaceFunction(NF); in RemoveDeadStuffFromFunction()