Skip to main content

index_switch

Function index_switch 

Source
pub fn index_switch<'c>(
    context: &'c Context,
    condition: Value<'c, '_>,
    result_types: &[Type<'c>],
    cases: DenseI64ArrayAttribute<'c>,
    regions: Vec<Region<'c>>,
    location: Location<'c>,
) -> Operation<'c>
Expand description

Creates a scf.index_switch operation.