pub unsafe extern "C" fn mlirRewriterBaseReplaceAllUsesExcept(
rewriter: MlirRewriterBase,
from: MlirValue,
to: MlirValue,
exceptedUser: MlirOperation,
)
Expand description
Find uses of from
and replace them with to
except if the user is
exceptedUser
. Also notify the listener about every in-place op
modification (for every use that was replaced).