Searched refs:InstToReplace (Results 1 – 1 of 1) sorted by relevance
120 IntrinsicInst &OldIntr, Instruction &InstToReplace, unsigned NewIntr, in modifyIntrinsicCall() argument142 if (!InstToReplace.getType()->isVoidTy()) in modifyIntrinsicCall()143 IC.replaceInstUsesWith(InstToReplace, NewCall); in modifyIntrinsicCall()145 bool RemoveOldIntr = &OldIntr != &InstToReplace; in modifyIntrinsicCall()147 auto RetValue = IC.eraseInstFromFunction(InstToReplace); in modifyIntrinsicCall()