pub unsafe extern "C" fn mlirContextGetOrLoadDialect(
    context: MlirContext,
    name: MlirStringRef
) -> MlirDialect
Expand description

Gets the dialect instance owned by the given context using the dialect namespace to identify it, loads (i.e., constructs the instance of) the dialect if necessary. If the dialect is not registered with the context, returns null. Use mlirContextLoadDialect to load an unregistered dialect.