Struct cranelift_codegen::ir::entities::Value [−][src]
pub struct Value(_);
An opaque reference to an SSA value.
You can get a constant Value from the following
InstBuilder instructions:
iconstfor integer constantsf32constfor 32-bit float constantsf64constfor 64-bit float constantsbconstfor boolean constantsvconstfor vector constantsnullfor null reference constants
Any InstBuilder instruction that has an output will also return a Value.
While the order is stable, it is arbitrary.
Implementations
impl Value[src]
impl Value[src]impl Value[src]
impl Value[src]pub fn with_number(n: u32) -> Option<Self>[src]
Create a value from its number representation.
This is the number in the vNN notation.
This method is for use by the parser.
Trait Implementations
impl PartialOrd<Value> for Value[src]
impl PartialOrd<Value> for Value[src]impl ReservedValue for Value[src]
impl ReservedValue for Value[src]fn reserved_value() -> Value[src]
fn is_reserved_value(&self) -> bool[src]
impl Copy for Value[src]
impl Eq for Value[src]
impl StructuralEq for Value[src]
impl StructuralPartialEq for Value[src]
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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]