Beaver.MLIR (beaver v0.3.4)

Provide macros to insert MLIR context and IR element of structure. These macros are designed to mimic the behavior and aesthetics of __MODULE__, __CALLER__ in Elixir. Its distinguished form is to indicate this should not be expected to be a function or a macro works like a function.

Summary

Types

@type dump_opts() :: [{:generic, boolean()}]

Functions

Link to this function

dump(mlir, opts \\ [])

@spec dump(any(), dump_opts()) :: :ok
Link to this function

dump!(mlir, opts \\ [])

@spec dump!(any(), dump_opts()) :: any()
Link to this function

to_string(module)