Function mlir_sys::mlirMemRefTypeGetChecked
source · pub unsafe extern "C" fn mlirMemRefTypeGetChecked(
loc: MlirLocation,
elementType: MlirType,
rank: isize,
shape: *const i64,
layout: MlirAttribute,
memorySpace: MlirAttribute
) -> MlirType
Expand description
Same as “mlirMemRefTypeGet” but returns a nullptr-wrapping MlirType o illegal arguments, emitting appropriate diagnostics.