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§
source§impl BinaryOp for AShr
impl BinaryOp for AShr
fn get_operand0(&self) -> &Operand
fn get_operand1(&self) -> &Operand
source§impl From<AShr> for Instruction
impl From<AShr> for Instruction
source§fn from(inst: AShr) -> Instruction
fn from(inst: AShr) -> Instruction
Converts to this type from the input type.
source§impl HasDebugLoc for AShr
impl HasDebugLoc for AShr
source§impl PartialEq<AShr> for AShr
impl PartialEq<AShr> for AShr
source§impl 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§
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