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