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
sourceimpl From<FCmp> for Instruction
impl From<FCmp> for Instruction
sourcefn from(inst: FCmp) -> Instruction
fn from(inst: FCmp) -> Instruction
Converts to this type from the input type.
sourceimpl HasDebugLoc for FCmp
impl HasDebugLoc for FCmp
sourcefn get_debug_loc(&self) -> &Option<DebugLoc>
fn get_debug_loc(&self) -> &Option<DebugLoc>
Returns the DebugLoc
associated with the given Instruction
,
Terminator
, GlobalVariable
, or Function
; or None
if it doesn’t
have a DebugLoc
. Read more
sourceimpl PartialEq<FCmp> for FCmp
impl PartialEq<FCmp> for FCmp
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more