Searched refs:newCall (Results 1 – 1 of 1) sorted by relevance
2031 llvm::CallSite newCall; in replaceUsesOfNonProtoConstant() local2033 newCall = llvm::CallInst::Create(newFn, newArgs, "", in replaceUsesOfNonProtoConstant()2038 newCall = llvm::InvokeInst::Create(newFn, in replaceUsesOfNonProtoConstant()2046 if (!newCall->getType()->isVoidTy()) in replaceUsesOfNonProtoConstant()2047 newCall->takeName(callSite.getInstruction()); in replaceUsesOfNonProtoConstant()2048 newCall.setAttributes( in replaceUsesOfNonProtoConstant()2050 newCall.setCallingConv(callSite.getCallingConv()); in replaceUsesOfNonProtoConstant()2054 callSite->replaceAllUsesWith(newCall.getInstruction()); in replaceUsesOfNonProtoConstant()2058 newCall->setDebugLoc(callSite->getDebugLoc()); in replaceUsesOfNonProtoConstant()