Struct melior_next::dialect::Handle
source · pub struct Handle { /* private fields */ }
Expand description
A dialect handle.
Implementations§
source§impl Handle
impl Handle
sourcepub fn sparse_tensor() -> Self
pub fn sparse_tensor() -> Self
Creates a sparse_tensor
dialect handle.
sourcepub fn insert_dialect(&self, registry: &Registry)
pub fn insert_dialect(&self, registry: &Registry)
Inserts a dialect into a dialect registry.
sourcepub fn load_dialect<'c>(&self, context: &'c Context) -> Dialect<'c>
pub fn load_dialect<'c>(&self, context: &'c Context) -> Dialect<'c>
Loads a dialect into a context.
sourcepub fn register_dialect(&self, context: &Context)
pub fn register_dialect(&self, context: &Context)
Registers a dialect into a context.