Lines Matching defs:NF
177 Function *NF = Function::Create(NFTy, F->getLinkage(), F->getAddressSpace(),
179 NF->copyAttributesFrom(F);
180 NF->copyMetadata(F, 0);
181 NF->setIsNewDbgInfoFormat(F->IsNewDbgInfoFormat);
188 LLVM_DEBUG(dbgs() << "ARG PROMOTION: Promoting to:" << *NF << "\n"
199 NF->setAttributes(AttributeList::get(F->getContext(), PAL.getFnAttrs(),
203 if (auto AllocSize = NF->getAttributes().getFnAttrs().getAllocSizeArgs()) {
211 NF->addFnAttr(Attribute::getWithAllocSizeArgs(F->getContext(), Arg1, Arg2));
214 AttributeFuncs::updateMinLegalVectorWidthAttr(*NF, LargestVectorWidth);
217 F->getParent()->getFunctionList().insert(F->getIterator(), NF);
218 NF->takeName(F);
284 NewCS = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(),
288 CallInst::Create(NF, Args, OpBundles, "", CB.getIterator());
318 NF->splice(NF->begin(), F);
326 Function::arg_iterator I2 = NF->arg_begin();
353 IRBuilder<NoFolder> IRB(&NF->begin()->front());
431 auto &DT = FAM.getResult<DominatorTreeAnalysis>(*NF);
432 auto &AC = FAM.getResult<AssumptionAnalysis>(*NF);
436 return NF;