Beaver.Env (beaver v0.3.4)

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.

Summary

Functions

Return block in the DSL environment

Return block with a given name in the DSL environment

Return context in the DSL environment

Return region in the DSL environment

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

region()

(macro)

Return region in the DSL environment