pub enum Amode {
ImmReg {
simm32: u32,
base: Reg,
flags: MemFlags,
},
ImmRegRegShift {
simm32: u32,
base: Gpr,
index: Gpr,
shift: u8,
flags: MemFlags,
},
RipRelative {
target: MachLabel,
},
}
Expand description
Internal type Amode: defined at src/isa/x64/inst.isle line 1007.
Variants§
Implementations§
Trait Implementations§
source§impl From<Amode> for RegisterOrAmode
impl From<Amode> for RegisterOrAmode
source§impl Into<SyntheticAmode> for Amode
impl Into<SyntheticAmode> for Amode
source§fn into(self) -> SyntheticAmode
fn into(self) -> SyntheticAmode
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl RefUnwindSafe for Amode
impl Send for Amode
impl Sync for Amode
impl Unpin for Amode
impl UnwindSafe for Amode
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