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>,
}Expand description
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
Performs the conversion.
Returns the DebugLoc associated with the given Instruction,
Terminator, GlobalVariable, or Function; or None if it doesn’t
have a DebugLoc. Read more
Auto Trait Implementations
impl RefUnwindSafe for ICmpimpl UnwindSafe for ICmpBlanket Implementations
Mutably borrows from an owned value. Read more