Struct llvm_ir::instruction::SIToFP [−][src]
pub struct SIToFP { pub operand: Operand, pub to_type: TypeRef, pub dest: Name, pub debugloc: Option<DebugLoc>, }
Expand description
Convert signed integer to floating-point. See LLVM 12 docs on the ‘sitofp’ instruction
Fields
operand: Operand
to_type: TypeRef
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 SIToFP
impl UnwindSafe for SIToFP
Blanket Implementations
Mutably borrows from an owned value. Read more