pub enum SyntheticAmode {
Real(Amode),
IncomingArg {
offset: u32,
},
SlotOffset {
simm32: i32,
},
ConstantOffset(VCodeConstant),
}
Available on crate feature
x86
only.Expand description
A Memory Address. These denote a 64-bit value only. Used for usual addressing modes as well as addressing modes used during compilation, when the moving SP offset is not known.
Variants§
Real(Amode)
A real amode.
IncomingArg
A (virtual) offset into the incoming argument area.
SlotOffset
A (virtual) offset to the slot area of the function frame, which lies just above the outgoing arguments.
ConstantOffset(VCodeConstant)
A virtual offset to a constant that will be emitted in the constant section of the buffer.
Implementations§
Trait Implementations§
Source§impl Clone for SyntheticAmode
impl Clone for SyntheticAmode
Source§fn clone(&self) -> SyntheticAmode
fn clone(&self) -> SyntheticAmode
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 SyntheticAmode
impl Debug for SyntheticAmode
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 Freeze for SyntheticAmode
impl RefUnwindSafe for SyntheticAmode
impl Send for SyntheticAmode
impl Sync for SyntheticAmode
impl Unpin for SyntheticAmode
impl UnwindSafe for SyntheticAmode
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