Lines Matching defs:NF
599 Function *NF = Function::Create(NFTy, F->getLinkage(), F->getName());
600 NF->copyAttributesFrom(F);
603 DEBUG(dbgs() << "ARG PROMOTION: Promoting to:" << *NF << "\n"
608 NF->setAttributes(AttrListPtr::get(AttributesVec));
611 F->getParent()->getFunctionList().insert(F, NF);
612 NF->takeName(F);
622 // Get a new callgraph node for NF.
623 CallGraphNode *NF_CGN = CG.getOrInsertFunction(NF);
719 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(),
724 New = CallInst::Create(NF, Args, "", Call);
754 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList());
760 I2 = NF->arg_begin(); I != E; ++I) {
774 Instruction *InsertPt = NF->begin()->begin();
846 << "' of function '" << NF->getName() << "'\n");
866 AA.replaceWithNewValue(F, NF);