Lines Matching defs:NF
191 Function *NF);
508 Function *NF = Function::Create(FTy, F.getLinkage(), F.getAddressSpace());
510 NF->setName(F.getName() + ".varargs");
511 NF->IsNewDbgInfoFormat = F.IsNewDbgInfoFormat;
513 F.getParent()->getFunctionList().insert(F.getIterator(), NF);
516 AttributeList Attrs = NF->getAttributes();
518 NF->setAttributes(Attrs);
520 OriginalFunction->replaceAllUsesWith(NF);
521 return NF;
546 Function *NF = Function::Create(NFTy, F.getLinkage(), F.getAddressSpace());
549 NF->copyAttributesFrom(&F);
550 NF->setComdat(F.getComdat());
551 F.getParent()->getFunctionList().insert(F.getIterator(), NF);
552 NF->setName(F.getName() + ".valist");
553 NF->IsNewDbgInfoFormat = F.IsNewDbgInfoFormat;
557 AttributeList Attrs = NF->getAttributes();
559 NF->setAttributes(Attrs);
563 NF->splice(NF->begin(), &F);
565 auto NewArg = NF->arg_begin();
577 NF->addMetadata(KindID, *Node);
580 return NF;
634 Function *NF) {
810 Value *Dst = NF ? NF : CI->getCalledOperand();