Struct cranelift_codegen::ir::entities::Immediate [−][src]
pub struct Immediate(_);
An opaque reference to an immediate.
Some immediates (e.g. SIMD shuffle masks) are too large to store in the
InstructionData
struct and therefore must be
tracked separately in DataFlowGraph::immediates
. Immediate
provides a way to reference values stored there.
While the order is stable, it is arbitrary.
Implementations
impl Immediate
[src]
impl Immediate
[src]impl Immediate
[src]
impl Immediate
[src]pub fn with_number(n: u32) -> Option<Self>
[src]
Create an immediate reference from its number.
This method is for use by the parser.
Trait Implementations
impl PartialOrd<Immediate> for Immediate
[src]
impl PartialOrd<Immediate> for Immediate
[src]impl ReservedValue for Immediate
[src]
impl ReservedValue for Immediate
[src]fn reserved_value() -> Immediate
[src]
fn is_reserved_value(&self) -> bool
[src]
impl Copy for Immediate
[src]
impl Eq for Immediate
[src]
impl StructuralEq for Immediate
[src]
impl StructuralPartialEq for Immediate
[src]
Auto Trait Implementations
impl RefUnwindSafe for Immediate
impl Send for Immediate
impl Sync for Immediate
impl Unpin for Immediate
impl UnwindSafe for Immediate
Blanket Implementations
impl<T> CallHasher for T where
T: Hash,
[src]
impl<T> CallHasher for T where
T: Hash,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> SparseMapValue<T> for T where
T: EntityRef,
[src]
impl<T> SparseMapValue<T> for T where
T: EntityRef,
[src]