Struct llvm_ir::instruction::FPExt
source · [−]pub struct FPExt {
pub operand: Operand,
pub to_type: TypeRef,
pub dest: Name,
pub debugloc: Option<DebugLoc>,
}
Expand description
Extend a floating-point value. See LLVM 14 docs on the ‘fpext’ instruction
Fields
operand: Operand
to_type: TypeRef
dest: Name
debugloc: Option<DebugLoc>
Trait Implementations
sourceimpl From<FPExt> for Instruction
impl From<FPExt> for Instruction
sourcefn from(inst: FPExt) -> Instruction
fn from(inst: FPExt) -> Instruction
Converts to this type from the input type.
sourceimpl HasDebugLoc for FPExt
impl HasDebugLoc for FPExt
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<FPExt> for FPExt
impl PartialEq<FPExt> for FPExt
sourceimpl TryFrom<Instruction> for FPExt
impl TryFrom<Instruction> for FPExt
impl StructuralPartialEq for FPExt
Auto Trait Implementations
impl RefUnwindSafe for FPExt
impl Send for FPExt
impl Sync for FPExt
impl Unpin for FPExt
impl UnwindSafe for FPExt
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