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

==.

!=.

Signed <.

Signed >=.

Signed >.

Signed <=.

Unsigned <.

Unsigned >=.

Unsigned >.

Unsigned <=.

Trait Implementations

impl Clone for IntCC
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for IntCC
[src]

impl PartialEq for IntCC
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for IntCC
[src]

impl Debug for IntCC
[src]

Formats the value using the given formatter. Read more

impl Hash for IntCC
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl CondCode for IntCC
[src]

Get the inverse condition code of self. Read more

Get the reversed condition code for self. Read more

impl Display for IntCC
[src]

Formats the value using the given formatter. Read more

impl FromStr for IntCC
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

impl Send for IntCC

impl Sync for IntCC