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:
iconst
for integer constantsf32const
for 32-bit float constantsf64const
for 64-bit float constantsbconst
for boolean constantsvconst
for vector constantsnull
for 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.