Lines Matching defs:NF
230 Function *NF = Function::Create(NFTy, Fn.getLinkage());
231 NF->copyAttributesFrom(&Fn);
232 Fn.getParent()->getFunctionList().insert(Fn.getIterator(), NF);
233 NF->takeName(&Fn);
262 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(),
267 New = CallInst::Create(NF, Args, "", Call);
290 NF->getBasicBlockList().splice(NF->begin(), Fn.getBasicBlockList());
297 I2 = NF->arg_begin(); I != E; ++I, ++I2) {
304 NF->setSubprogram(Fn.getSubprogram());
307 Fn.replaceAllUsesWith(ConstantExpr::getBitCast(NF, Fn.getType()));
308 // Delete the bitcast that we just created, so that NF does not
310 NF->removeDeadConstantUsers();
883 Function *NF = Function::Create(NFTy, F->getLinkage());
884 NF->copyAttributesFrom(F);
885 NF->setAttributes(NewPAL);
888 F->getParent()->getFunctionList().insert(F->getIterator(), NF);
889 NF->takeName(F);
908 AttributeFuncs::typeIncompatible(NF->getReturnType()));
910 AttributesVec.push_back(AttributeSet::get(NF->getContext(), RAttrs));
955 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(),
960 New = CallInst::Create(NF, Args, "", Call);
1025 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList());
1031 I2 = NF->arg_begin(); I != E; ++I, ++i)
1047 if (F->getReturnType() != NF->getReturnType())
1048 for (Function::iterator BB = NF->begin(), E = NF->end(); BB != E; ++BB)
1088 NF->setSubprogram(F->getSubprogram());