Lines Matching refs:newFn
2727 llvm::Function *newFn) { in replaceUsesOfNonProtoConstant() argument
2731 llvm::Type *newRetTy = newFn->getReturnType(); in replaceUsesOfNonProtoConstant()
2744 replaceUsesOfNonProtoConstant(bitcast, newFn); in replaceUsesOfNonProtoConstant()
2765 llvm::AttributeSet::get(newFn->getContext(), in replaceUsesOfNonProtoConstant()
2769 unsigned newNumArgs = newFn->arg_size(); in replaceUsesOfNonProtoConstant()
2776 for (llvm::Function::arg_iterator ai = newFn->arg_begin(), in replaceUsesOfNonProtoConstant()
2777 ae = newFn->arg_end(); ai != ae; ++ai, ++argNo) { in replaceUsesOfNonProtoConstant()
2787 AttributeSet::get(newFn->getContext(), in replaceUsesOfNonProtoConstant()
2794 newAttrs.push_back(llvm::AttributeSet::get(newFn->getContext(), in replaceUsesOfNonProtoConstant()
2806 newCall = llvm::CallInst::Create(newFn, newArgs, newBundles, "", in replaceUsesOfNonProtoConstant()
2810 newCall = llvm::InvokeInst::Create(newFn, in replaceUsesOfNonProtoConstant()
2821 llvm::AttributeSet::get(newFn->getContext(), newAttrs)); in replaceUsesOfNonProtoConstant()