Beaver.Exterior behaviour (beaver v0.2.20)

Behavior to build and register a dialect not included in LLVM mono repo. It is called "Exterior" not "Extension" or "External" to avoid confusing it with various LLVM/MLIR concepts of extensions.

Link to this section Summary

Callbacks

Register a register to a MLIR context

Link to this section Callbacks

Link to this callback

register_dialect(t)

@callback register_dialect(Beaver.MLIR.Context.t()) :: :ok | {:error, String.t()}

Register a register to a MLIR context

Link to this section Functions

Link to this function

register_all(ctx)