Lines Matching refs:NF
610 Function *NF = Function::Create(NFTy, F->getLinkage(), F->getName()); in DoPromotion() local
611 NF->copyAttributesFrom(F); in DoPromotion()
614 DEBUG(dbgs() << "ARG PROMOTION: Promoting to:" << *NF << "\n" in DoPromotion()
619 NF->setAttributes(AttrListPtr::get(AttributesVec.begin(), in DoPromotion()
623 F->getParent()->getFunctionList().insert(F, NF); in DoPromotion()
624 NF->takeName(F); in DoPromotion()
635 CallGraphNode *NF_CGN = CG.getOrInsertFunction(NF); in DoPromotion()
734 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in DoPromotion()
740 New = CallInst::Create(NF, Args, "", Call); in DoPromotion()
771 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList()); in DoPromotion()
777 I2 = NF->arg_begin(); I != E; ++I) { in DoPromotion()
791 Instruction *InsertPt = NF->begin()->begin(); in DoPromotion()
863 << "' of function '" << NF->getName() << "'\n"); in DoPromotion()
886 NF->arg_begin()); in DoPromotion()
890 AA.replaceWithNewValue(F, NF); in DoPromotion()