mlir_sys

Function mlirRewriterBaseReplaceOpWithValues

Source
pub unsafe extern "C" fn mlirRewriterBaseReplaceOpWithValues(
    rewriter: MlirRewriterBase,
    op: MlirOperation,
    nValues: isize,
    values: *const MlirValue,
)
Expand description

Replace the results of the given (original) operation with the specified list of values (replacements). The result types of the given op and the replacements must match. The original op is erased.