Skip to main content

Module ir

Module ir 

Source
Expand description

Intermediate representations for the Trident compiler.

Four IRs form the lowering chain from typed AST to target assembly:

AST → KIR → TIR → LIR (register targets)
                 → Tree (tree targets)

Modules§

kir
KIR — Kernel IR for data-parallel GPU targets.
lir
LIR — Low-level Intermediate Representation.
tir
TIR — Trident Intermediate Representation.
tree
Tree IR — lowering for combinator/tree-rewriting VMs.