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,
},
}Expand description
A location for (part of) an argument or return value. These “storage slots” are specified for each register-sized part of an argument.
Variants
In a real register.
Show fields
Fields of Reg
reg: RealRegRegister that holds this arg.
ty: TypeValue type of this arg.
extension: ArgumentExtensionShould this arg be zero- or sign-extended?
Arguments only: on stack, at given offset from SP at entry.
Show fields
Fields of Stack
offset: i64Offset of this arg relative to the base of stack args.
ty: TypeValue type of this arg.
extension: ArgumentExtensionShould this arg be zero- or sign-extended?
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ABIArgSlotimpl Send for ABIArgSlotimpl Sync for ABIArgSlotimpl Unpin for ABIArgSlotimpl UnwindSafe for ABIArgSlotBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.