pub enum OperandConstraintKind {
Show 13 variants
GprRegister,
Gpr32Register,
Gpr64Register,
SimdRegister,
SveZRegister,
PredicateRegister,
Immediate,
Condition,
ShiftKind,
ExtendKind,
SysRegPart,
Arrangement,
Lane,
}Expand description
Per-slot operand constraint kind generated from AARCHMRS metadata.
Variants§
GprRegister
General-purpose register with no width constraint (W/X/SP families).
Gpr32Register
32-bit general-purpose register (W/WSP).
Gpr64Register
64-bit general-purpose register (X/SP).
SimdRegister
SIMD register (B/H/S/D/Q/V families).
SveZRegister
SVE/SME vector register (Z).
PredicateRegister
SVE/SME predicate register (P/PN).
Immediate
Plain immediate field.
Condition
Condition-code field.
ShiftKind
Shift-kind selector field.
ExtendKind
Extend-kind selector field.
SysRegPart
System register fragment (op0/op1/crn/crm/op2).
Arrangement
Vector arrangement selector.
Lane
Vector lane selector.
Trait Implementations§
Source§impl Clone for OperandConstraintKind
impl Clone for OperandConstraintKind
Source§fn clone(&self) -> OperandConstraintKind
fn clone(&self) -> OperandConstraintKind
Returns a duplicate 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 OperandConstraintKind
impl Debug for OperandConstraintKind
Source§impl PartialEq for OperandConstraintKind
impl PartialEq for OperandConstraintKind
impl Copy for OperandConstraintKind
impl Eq for OperandConstraintKind
impl StructuralPartialEq for OperandConstraintKind
Auto Trait Implementations§
impl Freeze for OperandConstraintKind
impl RefUnwindSafe for OperandConstraintKind
impl Send for OperandConstraintKind
impl Sync for OperandConstraintKind
impl Unpin for OperandConstraintKind
impl UnsafeUnpin for OperandConstraintKind
impl UnwindSafe for OperandConstraintKind
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