mlir_sys

Function mlirAffineMapReplace

Source
pub unsafe extern "C" fn mlirAffineMapReplace(
    affineMap: MlirAffineMap,
    expression: MlirAffineExpr,
    replacement: MlirAffineExpr,
    numResultDims: isize,
    numResultSyms: isize,
) -> MlirAffineMap
Expand description

Apply AffineExpr::replace(map) to each of the results and return a new new AffineMap with the new results and the specified number of dims and symbols.