Lines Matching defs:NewF
424 Function *NewF = Function::Create(NewFT, NewFLink, NewFName,
426 NewF->copyAttributesFrom(F);
427 NewF->removeAttributes(
432 BasicBlock *BB = BasicBlock::Create(*Ctx, "entry", NewF);
435 for (Function::arg_iterator ai = NewF->arg_begin(); n != 0; ++ai, --n)
443 return NewF;
548 Function *NewF =
550 GA->replaceAllUsesWith(NewF);
551 NewF->takeName(GA);
553 FnsToInstrument.push_back(NewF);
578 Function *NewF = Function::Create(NewFT, F.getLinkage(), "", &M);
579 NewF->copyAttributesFrom(&F);
580 NewF->removeAttributes(
585 NewFArg = NewF->arg_begin(),
590 NewF->getBasicBlockList().splice(NewF->begin(), F.getBasicBlockList());
598 BlockAddress::get(NewF, BA->getBasicBlock()));
603 ConstantExpr::getBitCast(NewF, PointerType::getUnqual(FT)));
604 NewF->takeName(&F);
606 *i = NewF;
607 addGlobalNamePrefix(NewF);
623 Function *NewF = buildWrapperFunction(
627 NewF->removeAttributes(AttributeSet::FunctionIndex, ReadOnlyNoneAttrs);
630 ConstantExpr::getBitCast(NewF, PointerType::getUnqual(FT));
633 *i = NewF;