pub(crate) struct Immediates {
pub imm64: OperandKind,
pub uimm8: OperandKind,
pub offset32: OperandKind,
pub ieee16: OperandKind,
pub ieee32: OperandKind,
pub ieee64: OperandKind,
pub intcc: OperandKind,
pub floatcc: OperandKind,
pub memflags: OperandKind,
pub trapcode: OperandKind,
pub atomic_rmw_op: OperandKind,
}Fields§
§imm64: OperandKindA 64-bit immediate integer operand.
This type of immediate integer can interact with SSA values with any IntType type.
uimm8: OperandKindAn 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.
offset32: OperandKindA 32-bit immediate signed offset.
This is used to represent an immediate address offset in load/store instructions.
ieee16: OperandKindA 16-bit immediate floating point operand.
IEEE 754-2008 binary16 interchange format.
ieee32: OperandKindA 32-bit immediate floating point operand.
IEEE 754-2008 binary32 interchange format.
ieee64: OperandKindA 64-bit immediate floating point operand.
IEEE 754-2008 binary64 interchange format.
intcc: OperandKindA 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: OperandKindA 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: OperandKindFlags for memory operations like load and store.
trapcode: OperandKindA trap code indicating the reason for trapping.
The Rust enum type also has a User(u16) variant for user-provided trap codes.
atomic_rmw_op: OperandKindA code indicating the arithmetic operation to perform in an atomic_rmw memory access.