Struct cranelift_codegen::ir::entities::Value [−][src]
pub struct Value(_);Expand description
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
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
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Create an instance of the reserved value.
Checks whether value is the reserved one.
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
