Skip to content

Dialect reference

This reference is generated from the same declarations used by Loom's parser, printer, verifier, builders, and bytecode implementation.

The programming guide introduces these operations in executable programs. Use this reference when you need the complete contract for a specific op.

Program IR

Target-independent program structure, computation, data, and launch semantics.

Dialect Summary Operations
buffer Opaque storage roots and typed view construction. 14
cfg Unstructured control-flow operations. 2
command Reusable command-program construction operations. 8
config Compile/link-time configuration symbols and reads. 3
encoding Encoding definition and query ops. 9
func Program structure operations. 5
global Module-level state: constants, parameters, mutable state. 6
group Named SSA scheduling groups shared by pipelines and target layers. 1
index Scalar address-domain operations over index, offset, and explicit integer boundary casts. 24
kernel Kernel execution and synchronization operations. 56
pipeline Portable persistent dataflow programs over typed record streams. 9
pool Block-managed device memory pool ops. 5
scalar Scalar arithmetic, math, conversion, and typed poison ops. 101
scf Structured control flow operations. 9
target Authored target witnesses and contextual target queries. 3
template Compile-time callable families and implementations. 6
vector Vector register-lane construction, lanewise computation, memory, and reduction ops. 151
view Logical view operations. 10

Testing and compiler control

Executable checks, benchmark cases, pipeline selection, and diagnostics.

Dialect Summary Operations
check Production testbench operations. 27
pass Descriptor-backed pass pipeline control operations. 10
sanitizer Executable diagnostic assertions. 8

Target and low-level IR

Target witnesses and representations used after target-independent lowering.

Dialect Summary Operations
aie2p AMD XDNA AIE2P target records. 1
amdgpu AMDGPU processor target records. 1
low Target-low virtual-register operations. 31
spirv SPIR-V target-family records. 1
vm VM target-family records. 1
wasm Wasm target-family records. 1
x86 x86 target-family records. 1