Beaver.MLIR.Block (beaver v0.3.10)

This module defines functions working with MLIR Block.

Summary

Types

@type arg() :: {arg_type(), Beaver.MLIR.Location.t()} | arg_type()
@type arg_type() :: Beaver.MLIR.Type.t() | String.t()
@type t() :: %Beaver.MLIR.Block{ref: term()}

Functions

Link to this function

add_args!(block, args, opts \\ [])

@spec add_args!(t(), [arg()], Keyword.t()) :: any()

add arguments to a block

Link to this function

create(arg_loc_pairs \\ [])

Link to this function

create(args, locs)

Link to this function

get_arg!(block, index)