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