[−][src]Struct cranelift_codegen_meta::shared::immediates::Immediates
Fields
imm64: OperandKind
A 64-bit immediate integer operand.
This type of immediate integer can interact with SSA values with any IntType type.
uimm8: OperandKind
An unsigned 8-bit immediate integer operand.
This small operand is used to indicate lane indexes in SIMD vectors and immediate bit counts on shift instructions.
uimm32: OperandKind
An unsigned 32-bit immediate integer operand.
uimm128: OperandKind
An unsigned 128-bit immediate integer operand.
This operand is used to pass entire 128-bit vectors as immediates to instructions like const.
pool_constant: OperandKind
A constant stored in the constant pool.
This operand is used to pass constants to instructions like vconst while storing the actual bytes in the constant pool.
offset32: OperandKind
A 32-bit immediate signed offset.
This is used to represent an immediate address offset in load/store instructions.
ieee32: OperandKind
A 32-bit immediate floating point operand.
IEEE 754-2008 binary32 interchange format.
ieee64: OperandKind
A 64-bit immediate floating point operand.
IEEE 754-2008 binary64 interchange format.
boolean: OperandKind
An immediate boolean operand.
This type of immediate boolean can interact with SSA values with any BoolType type.
intcc: OperandKind
A condition code for comparing integer values.
This enumerated operand kind is used for the icmp
instruction and corresponds to the
condcodes::IntCC` Rust type.
floatcc: OperandKind
A condition code for comparing floating point values.
This enumerated operand kind is used for the fcmp
instruction and corresponds to the
condcodes::FloatCC
Rust type.
memflags: OperandKind
Flags for memory operations like load
and store
.
regunit: OperandKind
A register unit in the current target ISA.
trapcode: OperandKind
A trap code indicating the reason for trapping.
The Rust enum type also has a User(u16)
variant for user-provided trap codes.
Implementations
impl Immediates
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Immediates
impl !Send for Immediates
impl !Sync for Immediates
impl Unpin for Immediates
impl !UnwindSafe for Immediates
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,