Struct llvm_ir::instruction::FCmp
source · pub struct FCmp {
pub predicate: FPPredicate,
pub operand0: Operand,
pub operand1: Operand,
pub dest: Name,
pub debugloc: Option<DebugLoc>,
}
Expand description
Compare floating-point values or vectors of floating-point values. See LLVM 14 docs on the ‘fcmp’ instruction
Fields§
§predicate: FPPredicate
§operand0: Operand
§operand1: Operand
§dest: Name
§debugloc: Option<DebugLoc>
Trait Implementations§
source§impl From<FCmp> for Instruction
impl From<FCmp> for Instruction
source§fn from(inst: FCmp) -> Instruction
fn from(inst: FCmp) -> Instruction
Converts to this type from the input type.
source§impl HasDebugLoc for FCmp
impl HasDebugLoc for FCmp
source§impl PartialEq for FCmp
impl PartialEq for FCmp
source§impl TryFrom<Instruction> for FCmp
impl TryFrom<Instruction> for FCmp
impl StructuralPartialEq for FCmp
Auto Trait Implementations§
impl RefUnwindSafe for FCmp
impl Send for FCmp
impl Sync for FCmp
impl Unpin for FCmp
impl UnwindSafe for FCmp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more