Enum cranelift_codegen::isa::x64::args::SyntheticAmode
source · pub enum SyntheticAmode {
Real(Amode),
NominalSPOffset {
simm32: u32,
},
ConstantOffset(VCodeConstant),
}
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.
NominalSPOffset
A (virtual) offset to the “nominal SP” value, which will be recomputed as we push and pop within the function.
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 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