mlirValueReplaceAllUsesExcept

Function mlirValueReplaceAllUsesExcept 

Source
pub unsafe extern "C" fn mlirValueReplaceAllUsesExcept(
    of: MlirValue,
    with: MlirValue,
    numExceptions: isize,
    exceptions: *mut MlirOperation,
)
Expand description

Replace all uses of ‘of’ value with ‘with’ value, updating anything in the IR that uses ‘of’ to use ‘with’ instead, except if the user is listed in ‘exceptions’. The ‘exceptions’ parameter is an array of MlirOperation pointers with a length of ‘numExceptions’.