mlir_sys

Function mlirRewriterBaseReplaceAllOpUsesWithValueRange

Source
pub unsafe extern "C" fn mlirRewriterBaseReplaceAllOpUsesWithValueRange(
    rewriter: MlirRewriterBase,
    from: MlirOperation,
    nTo: isize,
    to: *const MlirValue,
)
Expand description

Find uses of from and replace them with to. Also notify the listener about every in-place op modification (for every use that was replaced) and that the from operation is about to be replaced.