Lines Matching refs:NF
606 Function *NF = Function::Create(NFTy, F->getLinkage(), F->getName()); in DoPromotion() local
607 NF->copyAttributesFrom(F); in DoPromotion()
610 DEBUG(dbgs() << "ARG PROMOTION: Promoting to:" << *NF << "\n" in DoPromotion()
615 NF->setAttributes(AttributeSet::get(F->getContext(), AttributesVec)); in DoPromotion()
618 F->getParent()->getFunctionList().insert(F, NF); in DoPromotion()
619 NF->takeName(F); in DoPromotion()
630 CallGraphNode *NF_CGN = CG.getOrInsertFunction(NF); in DoPromotion()
733 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in DoPromotion()
739 New = CallInst::Create(NF, Args, "", Call); in DoPromotion()
770 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList()); in DoPromotion()
776 I2 = NF->arg_begin(); I != E; ++I) { in DoPromotion()
790 Instruction *InsertPt = NF->begin()->begin(); in DoPromotion()
862 << "' of function '" << NF->getName() << "'\n"); in DoPromotion()
882 AA.replaceWithNewValue(F, NF); in DoPromotion()