pub fn switch<'c>(
context: &'c Context,
flag: Value<'c, '_>,
default_operands: &[Value<'c, '_>],
case_operands: &[Value<'c, '_>],
default_destination: &Block<'c>,
case_destinations: &[&Block<'c>],
case_operand_segments: DenseI32ArrayAttribute<'c>,
location: Location<'c>
) -> SwitchOperation<'c>
Expand description
Creates a switch
operation.