Beaver.MLIR.InsertionPoint (beaver v0.4.8)

Copy Markdown

Functions to work with insertion point in Beaver DSL environment.

Summary

Functions

Insert operation at the given insertion point.

Convert insertion point to block if possible.

Types

Functions

insert_operation(block, operation)

Insert operation at the given insertion point.

to_block(blk)

@spec to_block(t()) :: Beaver.MLIR.Block.t() | nil

Convert insertion point to block if possible.