Searched refs:InstToReplace (Results 1 – 1 of 1) sorted by relevance
117 IntrinsicInst &OldIntr, Instruction &InstToReplace, unsigned NewIntr, in modifyIntrinsicCall() argument139 if (!InstToReplace.getType()->isVoidTy()) in modifyIntrinsicCall()140 IC.replaceInstUsesWith(InstToReplace, NewCall); in modifyIntrinsicCall()142 bool RemoveOldIntr = &OldIntr != &InstToReplace; in modifyIntrinsicCall()144 auto RetValue = IC.eraseInstFromFunction(InstToReplace); in modifyIntrinsicCall()