pub enum CondBrKind {
Zero(Reg),
NotZero(Reg),
Cond(Cond),
}
Available on crate feature
arm64
only.Expand description
The kind of conditional branch: the common-case-optimized “reg-is-zero” / “reg-is-nonzero” variants, or the generic one that tests the machine condition codes.
Variants§
Zero(Reg)
Condition: given register is zero.
NotZero(Reg)
Condition: given register is nonzero.
Cond(Cond)
Condition: the given condition-code test is true.
Implementations§
Source§impl CondBrKind
impl CondBrKind
Sourcepub fn invert(self) -> CondBrKind
pub fn invert(self) -> CondBrKind
Return the inverted branch condition.
Trait Implementations§
Source§impl Clone for CondBrKind
impl Clone for CondBrKind
Source§fn clone(&self) -> CondBrKind
fn clone(&self) -> CondBrKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CondBrKind
impl Debug for CondBrKind
impl Copy for CondBrKind
Auto Trait Implementations§
impl Freeze for CondBrKind
impl RefUnwindSafe for CondBrKind
impl Send for CondBrKind
impl Sync for CondBrKind
impl Unpin for CondBrKind
impl UnwindSafe for CondBrKind
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