Struct llvm_ir::instruction::LShr
source · [−]pub struct LShr {
pub operand0: Operand,
pub operand1: Operand,
pub dest: Name,
pub debugloc: Option<DebugLoc>,
}
Expand description
Logical shift right. See LLVM 14 docs on the ‘lshr’ instruction
Fields
operand0: Operand
operand1: Operand
dest: Name
debugloc: Option<DebugLoc>
Trait Implementations
sourceimpl BinaryOp for LShr
impl BinaryOp for LShr
fn get_operand0(&self) -> &Operand
fn get_operand1(&self) -> &Operand
sourceimpl From<LShr> for Instruction
impl From<LShr> for Instruction
sourcefn from(inst: LShr) -> Instruction
fn from(inst: LShr) -> Instruction
Converts to this type from the input type.
sourceimpl HasDebugLoc for LShr
impl HasDebugLoc for LShr
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<LShr> for LShr
impl PartialEq<LShr> for LShr
sourceimpl TryFrom<Instruction> for LShr
impl TryFrom<Instruction> for LShr
impl StructuralPartialEq for LShr
Auto Trait Implementations
impl RefUnwindSafe for LShr
impl Send for LShr
impl Sync for LShr
impl Unpin for LShr
impl UnwindSafe for LShr
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