pub struct Fp(pub Reg);Tuple Fields§
§0: RegImplementations§
Source§impl Fp
impl Fp
pub const fn new() -> Self
pub const fn from_signature_and_id(signature: OperandSignature, id: u32) -> Self
pub const fn from_type_and_id(typ: RegType, id: u32) -> Self
Source§impl Fp
impl Fp
pub const F0: u32 = 0
pub const F1: u32 = 1
pub const F2: u32 = 2
pub const F3: u32 = 3
pub const F4: u32 = 4
pub const F5: u32 = 5
pub const F6: u32 = 6
pub const F7: u32 = 7
pub const F8: u32 = 8
pub const F9: u32 = 9
pub const F10: u32 = 10
pub const F11: u32 = 11
pub const F12: u32 = 12
pub const F13: u32 = 13
pub const F14: u32 = 14
pub const F15: u32 = 15
pub const F16: u32 = 16
pub const F17: u32 = 17
pub const F18: u32 = 18
pub const F19: u32 = 19
pub const F20: u32 = 20
pub const F21: u32 = 21
pub const F22: u32 = 22
pub const F23: u32 = 23
pub const F24: u32 = 24
pub const F25: u32 = 25
pub const F26: u32 = 26
pub const F27: u32 = 27
pub const F28: u32 = 28
pub const F29: u32 = 29
pub const F30: u32 = 30
pub const F31: u32 = 31
pub const fn signature_of(typ: RegType) -> OperandSignature
Methods from Deref<Target = BaseReg>§
pub const SIGNATURE: u32 = REG_BASE_SIGNATURE_MASK
pub fn base_signature(&self) -> OperandSignature
pub fn has_base_signature(&self, signature: impl Into<OperandSignature>) -> bool
pub fn is_valid(&self) -> bool
pub fn is_phys_reg(&self) -> bool
pub fn is_virt_reg(&self) -> bool
pub fn is_type(&self, typ: RegType) -> bool
pub fn is_group(&self, group: RegGroup) -> bool
pub fn is_gp(&self) -> bool
pub fn is_vec(&self) -> bool
pub fn is_mask(&self) -> bool
pub fn is_reg_of_type(&self, typ: RegType) -> bool
pub fn is_reg_of_type_and_id(&self, typ: RegType, id: u32) -> bool
pub fn typ(&self) -> RegType
pub fn reg_type(&self) -> RegType
pub fn group(&self) -> RegGroup
pub fn has_size(&self) -> bool
pub fn size(&self) -> u32
pub fn predicate(&self) -> u32
pub fn set_predicate(&mut self, predicate: u32)
pub fn reset_predicate(&mut self)
Methods from Deref<Target = Operand>§
pub fn reset(&mut self)
pub fn has_signature(&self, other: OperandSignature) -> bool
pub fn signature(&self) -> OperandSignature
pub fn set_signature(&mut self, sig: OperandSignature)
pub fn set_id(&mut self, id: u32)
pub fn op_type(&self) -> OperandType
pub fn is_none(&self) -> bool
pub fn is_reg(&self) -> bool
pub fn is_reg_list(&self) -> bool
pub fn is_mem(&self) -> bool
pub fn is_imm(&self) -> bool
pub fn is_label(&self) -> bool
pub fn is_sym(&self) -> bool
pub fn is_phys_reg(&self) -> bool
pub fn is_virt_reg(&self) -> bool
pub fn id(&self) -> u32
pub fn is_reg_type_of(&self, typ: RegType) -> bool
pub fn is_reg_group_of(&self, group: RegGroup) -> bool
pub fn is_gp(&self) -> bool
pub fn is_gp32(&self) -> bool
pub fn is_gp64(&self) -> bool
pub fn is_vec(&self) -> bool
pub fn is_vec8(&self) -> bool
pub fn is_vec16(&self) -> bool
pub fn is_vec32(&self) -> bool
pub fn is_vec64(&self) -> bool
pub fn is_vec128(&self) -> bool
pub fn is_vec256(&self) -> bool
pub fn is_vec512(&self) -> bool
pub fn is_mask(&self) -> bool
pub fn is_reg_list_of(&self, typ: RegType) -> bool
pub fn is_reg_or_mem(&self) -> bool
pub fn is_reg_or_reg_list_or_mem(&self) -> bool
pub fn x86_rm_size(&self) -> u32
pub fn as_<T>(&self) -> Twhere
T: OperandCast,
Trait Implementations§
Source§impl OperandCast for Fp
impl OperandCast for Fp
fn as_operand(&self) -> &Operand
fn from_operand(op: &Operand) -> Self
Source§impl Ord for Fp
impl Ord for Fp
Source§impl PartialOrd for Fp
impl PartialOrd for Fp
impl Copy for Fp
impl Eq for Fp
impl StructuralPartialEq for Fp
Auto Trait Implementations§
impl Freeze for Fp
impl RefUnwindSafe for Fp
impl Send for Fp
impl Sync for Fp
impl Unpin for Fp
impl UnsafeUnpin for Fp
impl UnwindSafe for Fp
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