Beaver.MLIR.Pass.Composer (beaver v0.2.19)

This module provide functions to compose passes.

Link to this section Summary

Link to this section Types

@type composer() :: t() | Beaver.MLIR.Module.t() | Beaver.MLIR.Operation.t()
Link to this type

run_option()

@type run_option() ::
  {:debug, Beaver.Native.Bool.t()}
  | {:print, Beaver.Native.Bool.t()}
  | {:timing, Beaver.Native.Bool.t()}
Link to this type

run_result()

@type run_result() :: {:ok, any()} | {:error, String.t()}
@type t() :: %Beaver.MLIR.Pass.Composer{
  op: MLIR.Module.t() | MLIR.Operation.t(),
  passes: [any()]
}

Link to this section Functions

Link to this function

append(composer_or_op, pass)

Link to this function

nested(composer_or_op, op_name, passes)

Link to this function

run(composer, opts \\ [debug: false, print: false, timing: false])

@spec run(composer(), [run_option()]) :: run_result()
Link to this function

run!(composer, opts \\ [debug: false, print: false, timing: false])

Link to this function

to_pipeline(composer)