pub struct GpbLo(pub Gpb);Tuple Fields§
§0: GpbImplementations§
Source§impl GpbLo
impl GpbLo
pub const fn signature_of(typ: RegType) -> OperandSignature
Source§impl GpbLo
impl GpbLo
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
Methods from Deref<Target = Gp>§
pub const AX: u32 = 0u32
pub const CX: u32 = 1u32
pub const DX: u32 = 2u32
pub const BX: u32 = 3u32
pub const SP: u32 = 4u32
pub const BP: u32 = 5u32
pub const SI: u32 = 6u32
pub const DI: u32 = 7u32
pub const R8: u32 = 8u32
pub const R9: u32 = 9u32
pub const R10: u32 = 10u32
pub const R11: u32 = 11u32
pub const R12: u32 = 12u32
pub const R13: u32 = 13u32
pub const R14: u32 = 14u32
pub const R15: u32 = 15u32
pub const SIGNATURE: u32 = 4_278_194_175u32
pub fn r8(&self) -> GpbLo
pub fn r8lo(&self) -> GpbLo
pub fn r8hi(&self) -> GpbHi
pub fn r16(&self) -> Gpw
pub fn r32(&self) -> Gpd
pub fn r64(&self) -> Gpq
Methods from Deref<Target = Reg>§
pub const SIGNATURE: u32 = 4_278_194_175u32
pub fn is_gpb(&self) -> bool
pub fn is_gpb_lo(&self) -> bool
pub fn is_gpb_hi(&self) -> bool
pub fn is_gpw(&self) -> bool
pub fn is_gpd(&self) -> bool
pub fn is_gpq(&self) -> bool
pub fn is_gp32(&self) -> bool
pub fn is_gp64(&self) -> bool
pub fn is_xmm(&self) -> bool
pub fn is_ymm(&self) -> bool
pub fn is_zmm(&self) -> bool
pub fn is_vec128(&self) -> bool
pub fn is_vec256(&self) -> bool
pub fn is_vec512(&self) -> bool
pub fn is_mm(&self) -> bool
pub fn is_k_reg(&self) -> bool
pub fn is_s_reg(&self) -> bool
pub fn is_c_reg(&self) -> bool
pub fn is_d_reg(&self) -> bool
pub fn is_st(&self) -> bool
pub fn is_bnd(&self) -> bool
pub fn is_tmm(&self) -> bool
pub fn is_rip(&self) -> bool
pub fn set_reg_t<T: RegTraits>(&mut self, rid: u32)
pub fn set_type_and_id(&mut self, typ: RegType, id: u32)
Methods from Deref<Target = BaseReg>§
pub const SIGNATURE: u32 = 4_278_194_175u32
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 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 GpbLo
impl OperandCast for GpbLo
fn as_operand(&self) -> &Operand
fn from_operand(op: &Operand) -> Self
Source§impl Ord for GpbLo
impl Ord for GpbLo
Source§impl PartialOrd for GpbLo
impl PartialOrd for GpbLo
impl Copy for GpbLo
impl Eq for GpbLo
impl StructuralPartialEq for GpbLo
Auto Trait Implementations§
impl Freeze for GpbLo
impl RefUnwindSafe for GpbLo
impl Send for GpbLo
impl Sync for GpbLo
impl Unpin for GpbLo
impl UnwindSafe for GpbLo
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