Skip to content

pass.pipeline

← pass dialect

Named pass pipeline entry point.

Operation contract

Property Value
Semantic phase —
Traits SymbolDefine, IsolatedFromAbove, ImplicitTerminator(pass.yield)

Symbol contract

Property Value
Kind pass pipeline
Defining field symbol
Interfaces record
Flags —

Signature

Kind Name Type Cardinality Description
Attribute anchor enum PassAnchor required —
Attribute symbol symbol required —
Region body region required Pass pipeline body. (terminator pass.yield.)

Examples

pass.pipeline<module> @cleanup pipeline {
  canonicalize
}
pass.pipeline<func> @function_cleanup pipeline {
  for func {
    cse
  }
}