Lines Matching defs:NF
730 Function *NF = Function::Create(NFTy, F->getLinkage(), F->getName());
731 NF->copyAttributesFrom(F);
734 NF->setSubprogram(F->getSubprogram());
737 DEBUG(dbgs() << "ARG PROMOTION: Promoting to:" << *NF << "\n"
742 NF->setAttributes(AttributeSet::get(F->getContext(), AttributesVec));
745 F->getParent()->getFunctionList().insert(F->getIterator(), NF);
746 NF->takeName(F);
752 // Get a new callgraph node for NF.
753 CallGraphNode *NF_CGN = CG.getOrInsertFunction(NF);
857 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(),
863 New = CallInst::Create(NF, Args, "", Call);
891 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList());
897 I2 = NF->arg_begin(); I != E; ++I) {
910 Instruction *InsertPt = &NF->begin()->front();
986 << "' of function '" << NF->getName() << "'\n");