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

Fields

§simm32: u32

The nominal stack pointer value.

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§

Create a real addressing mode.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts this type into the (usually inferred) input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.