Enum cranelift_codegen::machinst::abi_impl::ABIArgSlot[][src]

pub enum ABIArgSlot {
    Reg {
        reg: RealReg,
        ty: Type,
        extension: ArgumentExtension,
    },
    Stack {
        offset: i64,
        ty: Type,
        extension: ArgumentExtension,
    },
}

A location for (part of) an argument or return value. These “storage slots” are specified for each register-sized part of an argument.

Variants

Reg

In a real register.

Fields of Reg

reg: RealReg

Register that holds this arg.

ty: Type

Value type of this arg.

extension: ArgumentExtension

Should this arg be zero- or sign-extended?

Stack

Arguments only: on stack, at given offset from SP at entry.

Fields of Stack

offset: i64

Offset of this arg relative to the base of stack args.

ty: Type

Value type of this arg.

extension: ArgumentExtension

Should this arg be zero- or sign-extended?

Trait Implementations

impl Clone for ABIArgSlot[src]

impl Copy for ABIArgSlot[src]

impl Debug for ABIArgSlot[src]

impl Eq for ABIArgSlot[src]

impl PartialEq<ABIArgSlot> for ABIArgSlot[src]

impl StructuralEq for ABIArgSlot[src]

impl StructuralPartialEq for ABIArgSlot[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.