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