Module cranelift_codegen::ir::immediates
source · Expand description
Immediate operands for Cranelift instructions
This module defines the types of immediate operands that can appear on Cranelift instructions.
Each type here should have a corresponding definition in the
cranelift-codegen/meta/src/shared/immediates
crate in the meta language.
Structs
- Out-of-line heap access immediates.
- An IEEE binary32 immediate floating point value, represented as a u32 containing the bit pattern.
- An IEEE binary64 immediate floating point value, represented as a u64 containing the bit pattern.
- 64-bit immediate signed integer operand.
- 32-bit signed immediate offset.
- A 32-bit unsigned integer immediate operand.
- 64-bit immediate unsigned integer operand.
- A 128-bit immediate operand.
Traits
- Convert a type into a vector of bytes; all implementors in this file must use little-endian orderings of bytes to match WebAssembly’s little-endianness.
Type Definitions
- 8-bit unsigned integer immediate operand.