Searched refs:newFn (Results 1 – 1 of 1) sorted by relevance
2260 llvm::Function *newFn) { in replaceUsesOfNonProtoConstant() argument2264 llvm::Type *newRetTy = newFn->getReturnType(); in replaceUsesOfNonProtoConstant()2276 replaceUsesOfNonProtoConstant(bitcast, newFn); in replaceUsesOfNonProtoConstant()2297 llvm::AttributeSet::get(newFn->getContext(), in replaceUsesOfNonProtoConstant()2301 unsigned newNumArgs = newFn->arg_size(); in replaceUsesOfNonProtoConstant()2308 for (llvm::Function::arg_iterator ai = newFn->arg_begin(), in replaceUsesOfNonProtoConstant()2309 ae = newFn->arg_end(); ai != ae; ++ai, ++argNo) { in replaceUsesOfNonProtoConstant()2319 AttributeSet::get(newFn->getContext(), in replaceUsesOfNonProtoConstant()2326 newAttrs.push_back(llvm::AttributeSet::get(newFn->getContext(), in replaceUsesOfNonProtoConstant()2335 newCall = llvm::CallInst::Create(newFn, newArgs, "", in replaceUsesOfNonProtoConstant()[all …]