mlir_sys

Function mlirRewriterBaseReplaceAllValueRangeUsesWith

Source
pub unsafe extern "C" fn mlirRewriterBaseReplaceAllValueRangeUsesWith(
    rewriter: MlirRewriterBase,
    nValues: isize,
    from: *const MlirValue,
    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).