Function mlir_sys::mlirValueReplaceAllUsesOfWith
source · pub unsafe extern "C" fn mlirValueReplaceAllUsesOfWith(
of: MlirValue,
with: MlirValue
)
Expand description
Replace all uses of ‘of’ value with the ‘with’ value, updating anything in the IR that uses ‘of’ to use the other value instead. When this returns there are zero uses of ‘of’.