#[repr(u8)]pub enum BinOpcode {
Show 13 variants
Add = 0,
Sub = 1,
Mul = 2,
Udiv = 3,
Sdiv = 4,
Urem = 5,
Srem = 6,
Shl = 7,
Lshr = 8,
Ashr = 9,
And = 10,
Or = 11,
Xor = 12,
}Expand description
These are values used in the bitcode files to encode which
binop a CST_CODE_CE_BINOP refers to.
Variants§
Add = 0
Sub = 1
Mul = 2
Udiv = 3
Sdiv = 4
overloaded for FP
Urem = 5
Srem = 6
overloaded for FP
Shl = 7
Lshr = 8
Ashr = 9
And = 10
Or = 11
Xor = 12
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BinOpcode
impl RefUnwindSafe for BinOpcode
impl Send for BinOpcode
impl Sync for BinOpcode
impl Unpin for BinOpcode
impl UnwindSafe for BinOpcode
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