Beaver.SSA (beaver v0.4.0)

Storing MLIR IR structure with a Elixir struct. Macros like Beaver.mlir/1 will generate SSA structs defined by this module.

Summary

Types

t()

@type t() :: %Beaver.SSA{
  arguments: any(),
  blk: nil,
  ctx: any(),
  evaluator: function(),
  filler: any(),
  loc: any(),
  op: String.t(),
  results: any()
}

Functions

eval(ssa)

postwalk(ast, evaluator)

prewalk(ast, evaluator)

put_arguments(ssa, additional_arguments)

put_block(ssa, block)

put_ctx(ssa, ctx)

put_filler(ssa, filler)

put_location(ssa, loc)

put_results(ssa, f)