Cone.TabularIR.Pass behaviour (Cone v0.1.0)

View Source

Behavior for a compiler pass that operates on the Tabular IR (LCT).

Summary

Types

context()

@type context() :: keyword()

table()

@type table() :: [Cone.TabularIR.Row.t()]

Callbacks

run(table, context)

@callback run(table(), context()) :: {:ok, table()} | {:error, term()}

Functions

run_pipeline(table, passes, context \\ [])