Home
last modified time | relevance | path

Searched refs:InstToReplace (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp117 IntrinsicInst &OldIntr, Instruction &InstToReplace, unsigned NewIntr, in modifyIntrinsicCall() argument
139 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()