Crate midenc_dialect_scf Copy item path
Summary Source transforms Condition The Condition op is used in conjunction with While as the terminator of its before
region. ConditionBuilder A specialized builder for Condition , which is used by calling it like a function. If If is a structured control flow operation representing conditional execution.IfBuilder A specialized builder for If , which is used by calling it like a function. IndexSwitch The hir.index_switch
is a control-flow operation that branches to one of the given regions
based on the values of the argument and the cases. The argument is always of type u32
. IndexSwitchBuilder A specialized builder for IndexSwitch , which is used by calling it like a function. ScfDialect While A while is a loop structure composed of two regions: a “before” region, and an “after” region. WhileBuilder A specialized builder for While , which is used by calling it like a function. Yield The Yield op is used in conjunction with If and While ops as a return-like terminator. YieldBuilder A specialized builder for Yield , which is used by calling it like a function. StructuredControlFlowOpBuilder