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