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: IntPredicate
operand0: Operand
operand1: Operand
dest: Name
debugloc: 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 ICmp
impl UnwindSafe for ICmp
Blanket Implementations
Mutably borrows from an owned value. Read more