Struct llvm_ir::instruction::FNeg
source · [−]Expand description
Floating-point unary negation. See LLVM 14 docs on the ‘fneg’ instruction
Fields
operand: Operand
dest: Name
debugloc: Option<DebugLoc>
Trait Implementations
sourceimpl From<FNeg> for Instruction
impl From<FNeg> for Instruction
sourcefn from(inst: FNeg) -> Instruction
fn from(inst: FNeg) -> Instruction
Converts to this type from the input type.
sourceimpl HasDebugLoc for FNeg
impl HasDebugLoc for FNeg
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<FNeg> for FNeg
impl PartialEq<FNeg> for FNeg
sourceimpl TryFrom<Instruction> for FNeg
impl TryFrom<Instruction> for FNeg
impl StructuralPartialEq for FNeg
Auto Trait Implementations
impl RefUnwindSafe for FNeg
impl Send for FNeg
impl Sync for FNeg
impl Unpin for FNeg
impl UnwindSafe for FNeg
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