Home | History | Annotate | Download | only in IPO

Lines Matching refs: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();
879 Function *NF = Function::Create(NFTy, F->getLinkage());
880 NF->copyAttributesFrom(F);
881 NF->setAttributes(NewPAL);
884 F->getParent()->getFunctionList().insert(F->getIterator(), NF);
885 NF->takeName(F);
904 AttributeFuncs::typeIncompatible(NF->getReturnType()));
906 AttributesVec.push_back(AttributeSet::get(NF->getContext(), RAttrs));
951 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(),
956 New = CallInst::Create(NF, Args, "", Call);
1021 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList());
1027 I2 = NF->arg_begin(); I != E; ++I, ++i)
1043 if (F->getReturnType() != NF->getReturnType())
1044 for (Function::iterator BB = NF->begin(), E = NF->end(); BB != E; ++BB)
1084 NF->setSubprogram(F->getSubprogram());