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