Struct llvm_ir::instruction::SExt
source · pub struct SExt {
pub operand: Operand,
pub to_type: TypeRef,
pub dest: Name,
pub debugloc: Option<DebugLoc>,
}
Expand description
Sign-extend. See LLVM 14 docs on the ‘sext’ instruction
Fields§
§operand: Operand
§to_type: TypeRef
§dest: Name
§debugloc: Option<DebugLoc>
Trait Implementations§
source§impl From<SExt> for Instruction
impl From<SExt> for Instruction
source§fn from(inst: SExt) -> Instruction
fn from(inst: SExt) -> Instruction
Converts to this type from the input type.
source§impl HasDebugLoc for SExt
impl HasDebugLoc for SExt
source§impl PartialEq for SExt
impl PartialEq for SExt
source§impl TryFrom<Instruction> for SExt
impl TryFrom<Instruction> for SExt
impl StructuralPartialEq for SExt
Auto Trait Implementations§
impl RefUnwindSafe for SExt
impl Send for SExt
impl Sync for SExt
impl Unpin for SExt
impl UnwindSafe for SExt
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more