Struct llvm_ir::instruction::ICmp[][src]

pub struct ICmp {
    pub predicate: IntPredicate,
    pub operand0: Operand,
    pub operand1: Operand,
    pub dest: Name,
    pub debugloc: Option<DebugLoc>,
}

Compare integers, pointers, or vectors of integers or pointers. See LLVM 12 docs on the 'icmp' instruction

Fields

predicate: IntPredicateoperand0: Operandoperand1: Operanddest: Namedebugloc: Option<DebugLoc>

Trait Implementations

impl Clone for ICmp[src]

impl Debug for ICmp[src]

impl Display for ICmp[src]

impl From<ICmp> for Instruction[src]

impl HasDebugLoc for ICmp[src]

impl HasResult for ICmp[src]

impl PartialEq<ICmp> for ICmp[src]

impl StructuralPartialEq for ICmp[src]

impl TryFrom<Instruction> for ICmp[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl Typed for ICmp[src]

Auto Trait Implementations

impl RefUnwindSafe for ICmp[src]

impl Send for ICmp[src]

impl Sync for ICmp[src]

impl Unpin for ICmp[src]

impl UnwindSafe for ICmp[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.