Beaver.Env (beaver v0.2.16)

This module defines macros to getting MLIR context, region, block within the do block of mlir/1. It works like MODULE/0, CALLER/0 of Elixir special forms.

Link to this section Summary

Functions

Return block in the DSL environment

Return block with a given name in the DSL environment

Return context in the DSL environment

Create location from caller in the Elixir source

Return region in the DSL environment

Link to this section Functions

Link to this macro

block()

(macro)

Return block in the DSL environment

Link to this macro

block(block_var)

(macro)

Return block with a given name in the DSL environment

Link to this macro

context()

(macro)

Return context in the DSL environment

Link to this macro

location()

(macro)

Create location from caller in the Elixir source

Link to this macro

region()

(macro)

Return region in the DSL environment