Home | History | Annotate | Download | only in Instrumentation

Lines Matching refs:NewF

489   Function *NewF = Function::Create(NewFT, NewFLink, NewFName,
491 NewF->copyAttributesFrom(F);
492 NewF->removeAttributes(
497 BasicBlock *BB = BasicBlock::Create(*Ctx, "entry", NewF);
500 for (Function::arg_iterator ai = NewF->arg_begin(); n != 0; ++ai, --n)
508 return NewF;
613 Function *NewF =
615 GA->replaceAllUsesWith(ConstantExpr::getBitCast(NewF, GA->getType()));
616 NewF->takeName(GA);
618 FnsToInstrument.push_back(NewF);
643 Function *NewF = Function::Create(NewFT, F.getLinkage(), "", &M);
644 NewF->copyAttributesFrom(&F);
645 NewF->removeAttributes(
650 NewFArg = NewF->arg_begin(),
655 NewF->getBasicBlockList().splice(NewF->begin(), F.getBasicBlockList());
663 BlockAddress::get(NewF, BA->getBasicBlock()));
668 ConstantExpr::getBitCast(NewF, PointerType::getUnqual(FT)));
669 NewF->takeName(&F);
671 *i = NewF;
672 addGlobalNamePrefix(NewF);
688 Function *NewF = buildWrapperFunction(
692 NewF->removeAttributes(AttributeSet::FunctionIndex, ReadOnlyNoneAttrs);
695 ConstantExpr::getBitCast(NewF, PointerType::getUnqual(FT));
698 *i = NewF;