pub enum Branch {
Show 15 variants
Phi {
variable_parent: Vec<(Word, Word)>,
},
LoopMerge {
merge_block: Word,
continue_target: Word,
loop_control: LoopControl,
},
SelectionMerge {
merge_block: Word,
selection_control: SelectionControl,
},
Label,
Branch {
target_label: Word,
},
BranchConditional {
condition: Word,
true_label: Word,
false_label: Word,
branch_weights: Vec<u32>,
},
Switch {
selector: Word,
default: Word,
target: Vec<(u32, Jump)>,
},
Kill,
Return,
ReturnValue {
value: Word,
},
Unreachable,
LifetimeStart {
pointer: Word,
size: u32,
},
LifetimeStop {
pointer: Word,
size: u32,
},
TerminateInvocation,
DemoteToHelperInvocation,
}
Variants§
Phi
LoopMerge
SelectionMerge
Label
Branch
BranchConditional
Switch
Kill
Return
ReturnValue
Unreachable
LifetimeStart
LifetimeStop
TerminateInvocation
DemoteToHelperInvocation
Trait Implementations§
impl Eq for Branch
impl StructuralPartialEq for Branch
Auto Trait Implementations§
impl Freeze for Branch
impl RefUnwindSafe for Branch
impl Send for Branch
impl Sync for Branch
impl Unpin for Branch
impl UnwindSafe for Branch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more