Enum cranelift_codegen::ir::condcodes::IntCC [−][src]
pub enum IntCC {
Equal,
NotEqual,
SignedLessThan,
SignedGreaterThanOrEqual,
SignedGreaterThan,
SignedLessThanOrEqual,
UnsignedLessThan,
UnsignedGreaterThanOrEqual,
UnsignedGreaterThan,
UnsignedLessThanOrEqual,
}Condition code for comparing integers.
This condition code is used by the icmp instruction to compare integer values. There are
separate codes for comparing the integers as signed or unsigned numbers where it makes a
difference.
Variants
Equal==.
NotEqual!=.
SignedLessThanSigned <.
SignedGreaterThanOrEqualSigned >=.
SignedGreaterThanSigned >.
SignedLessThanOrEqualSigned <=.
UnsignedLessThanUnsigned <.
UnsignedGreaterThanOrEqualUnsigned >=.
UnsignedGreaterThanUnsigned >.
UnsignedLessThanOrEqualUnsigned <=.
Trait Implementations
impl Clone for IntCC[src]
impl Clone for IntCCfn clone(&self) -> IntCC[src]
fn clone(&self) -> IntCCReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Copy for IntCC[src]
impl Copy for IntCCimpl PartialEq for IntCC[src]
impl PartialEq for IntCCfn eq(&self, other: &IntCC) -> bool[src]
fn eq(&self, other: &IntCC) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Eq for IntCC[src]
impl Eq for IntCCimpl Debug for IntCC[src]
impl Debug for IntCCfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for IntCC[src]
impl Hash for IntCCfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl CondCode for IntCC[src]
impl CondCode for IntCCfn inverse(self) -> Self[src]
fn inverse(self) -> SelfGet the inverse condition code of self. Read more
fn reverse(self) -> Self[src]
fn reverse(self) -> SelfGet the reversed condition code for self. Read more
impl Display for IntCC[src]
impl Display for IntCCfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl FromStr for IntCC[src]
impl FromStr for IntCC