Beaver.MLIR (beaver v0.3.10)
This module provides functions to dump MLIR elements or print them to Elixir string.
Summary
Functions
Print MLIR element as Elixir binary string. When printing an operation, it is recommended to use generic: false
or generic: true
to explicitly specify the format if your usage requires consistent output. If not specified, the default behavior is subject to change according to the MLIR version.
Types
Link to this type
dump_opts()
@type dump_opts() :: [{:generic, boolean()}]
Link to this type
nullable()
@type nullable() :: Beaver.MLIR.Attribute.t() | Beaver.MLIR.Value.t() | Beaver.MLIR.Type.t() | Beaver.MLIR.Operation.t() | Beaver.MLIR.Module.t() | Beaver.MLIR.Block.t() | Beaver.MLIR.Dialect.t()
Link to this type
printable()
@type printable() :: Beaver.MLIR.Attribute.t() | Beaver.MLIR.Value.t() | Beaver.MLIR.Type.t() | Beaver.MLIR.Operation.t() | Beaver.MLIR.AffineMap.t() | Beaver.MLIR.Location.t() | Beaver.MLIR.OpPassManager.t() | Beaver.MLIR.PassManager.t() | Beaver.MLIR.Module.t()
Functions
Link to this function
dump(mlir, opts \\ [])
Link to this function
dump!(mlir, opts \\ [])
Link to this function
equal?(a, b)
Link to this function
is_null(v)
Link to this function
to_string(mlir, opts \\ [])
Print MLIR element as Elixir binary string. When printing an operation, it is recommended to use generic: false
or generic: true
to explicitly specify the format if your usage requires consistent output. If not specified, the default behavior is subject to change according to the MLIR version.