Struct melior_next::ir::Value
source · pub struct Value<'a> { /* private fields */ }
Expand description
A value.
Trait Implementations§
source§impl<'a> From<ResultValue<'a>> for Value<'a>
impl<'a> From<ResultValue<'a>> for Value<'a>
source§fn from(result: ResultValue<'a>) -> Self
fn from(result: ResultValue<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> PartialEq<Value<'a>> for Value<'a>
impl<'a> PartialEq<Value<'a>> for Value<'a>
source§impl<'a> TryFrom<Value<'a>> for ResultValue<'a>
impl<'a> TryFrom<Value<'a>> for ResultValue<'a>
source§impl<'a> ValueLike for Value<'a>
impl<'a> ValueLike for Value<'a>
source§fn is_block_argument(&self) -> bool
fn is_block_argument(&self) -> bool
Returns
true
if a value is a block argument.source§fn is_operation_result(&self) -> bool
fn is_operation_result(&self) -> bool
Returns
true
if a value is an operation result.