Enum rspirv::sr::autogen_ops::Branch
source · pub enum Branch {
Show 14 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,
}
Variants§
Phi
LoopMerge
SelectionMerge
Label
Branch
BranchConditional
Switch
Kill
Return
ReturnValue
Unreachable
LifetimeStart
LifetimeStop
TerminateInvocation
Trait Implementations§
source§impl PartialEq<Branch> for Branch
impl PartialEq<Branch> for Branch
impl Eq for Branch
impl StructuralEq for Branch
impl StructuralPartialEq for Branch
Auto Trait Implementations§
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