Home | History | Annotate | Download | only in IPO

Lines Matching defs:NF

225   Function *NF = Function::Create(NFTy, Fn.getLinkage());
226 NF->copyAttributesFrom(&Fn);
227 Fn.getParent()->getFunctionList().insert(&Fn, NF);
228 NF->takeName(&Fn);
257 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(),
262 New = CallInst::Create(NF, Args, "", Call);
285 NF->getBasicBlockList().splice(NF->begin(), Fn.getBasicBlockList());
292 I2 = NF->arg_begin(); I != E; ++I, ++I2) {
301 DI->second.replaceFunction(NF);
304 Fn.replaceAllUsesWith(ConstantExpr::getBitCast(NF, Fn.getType()));
305 // Delete the bitcast that we just created, so that NF does not
307 NF->removeDeadConstantUsers();
849 Function *NF = Function::Create(NFTy, F->getLinkage());
850 NF->copyAttributesFrom(F);
851 NF->setAttributes(NewPAL);
854 F->getParent()->getFunctionList().insert(F, NF);
855 NF->takeName(F);
873 AttributeSet::get(NF->getContext(), AttributeSet::ReturnIndex,
876 typeIncompatible(NF->getReturnType(),
880 AttributesVec.push_back(AttributeSet::get(NF->getContext(), RAttrs));
925 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(),
930 New = CallInst::Create(NF, Args, "", Call);
996 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList());
1002 I2 = NF->arg_begin(); I != E; ++I, ++i)
1018 if (F->getReturnType() != NF->getReturnType())
1019 for (Function::iterator BB = NF->begin(), E = NF->end(); BB != E; ++BB)
1061 DI->second.replaceFunction(NF);