Beaver. MLIR. Dialect. Ex
(beaver v0.4.8)
Copy Markdown
The ex dialect: a scalar subset of Elixir AST defined in Slang.
M0 implements the scalar subset of the planned Elixir dialect:
ex.lit- integer literals with an integer value attributeex.var/ex.bind- named variables and their bindingsex.add- typed scalar additionex.call- local calls with callee and arity attributesex.func/ex.return- functions with an isolated body region terminated byex.return
The dialect is defined entirely with Beaver.Slang and replaces the native
TableGen elixir dialect prototype. Load it into a context with
Beaver.Slang.load/2.
Summary
Functions
Return op name ex.add as a bitstring.
ex.add
Return op name ex.bind as a bitstring.
ex.bind
Return op name ex.call as a bitstring.
ex.call
Return op name ex.func as a bitstring.
ex.func
Return op name ex.lit as a bitstring.
ex.lit
Return op name ex.mul as a bitstring.
ex.mul
Return op name ex.return as a bitstring.
ex.return
Return op name ex.sub as a bitstring.
ex.sub
Return op name ex.var as a bitstring.
ex.var
Functions
Return op name ex.add as a bitstring.
ex.add
Return op name ex.bind as a bitstring.
ex.bind
Return op name ex.call as a bitstring.
ex.call
Return op name ex.func as a bitstring.
ex.func
Return op name ex.lit as a bitstring.
ex.lit
Return op name ex.mul as a bitstring.
ex.mul
Return op name ex.return as a bitstring.
ex.return
Return op name ex.sub as a bitstring.
ex.sub
Return op name ex.var as a bitstring.
ex.var