[][src]Enum walrus::ir::BinaryOp

pub enum BinaryOp {
    I32Eq,
    I32Ne,
    I32LtS,
    I32LtU,
    I32GtS,
    I32GtU,
    I32LeS,
    I32LeU,
    I32GeS,
    I32GeU,
    I64Eq,
    I64Ne,
    I64LtS,
    I64LtU,
    I64GtS,
    I64GtU,
    I64LeS,
    I64LeU,
    I64GeS,
    I64GeU,
    F32Eq,
    F32Ne,
    F32Lt,
    F32Gt,
    F32Le,
    F32Ge,
    F64Eq,
    F64Ne,
    F64Lt,
    F64Gt,
    F64Le,
    F64Ge,
    I32Add,
    I32Sub,
    I32Mul,
    I32DivS,
    I32DivU,
    I32RemS,
    I32RemU,
    I32And,
    I32Or,
    I32Xor,
    I32Shl,
    I32ShrS,
    I32ShrU,
    I32Rotl,
    I32Rotr,
    I64Add,
    I64Sub,
    I64Mul,
    I64DivS,
    I64DivU,
    I64RemS,
    I64RemU,
    I64And,
    I64Or,
    I64Xor,
    I64Shl,
    I64ShrS,
    I64ShrU,
    I64Rotl,
    I64Rotr,
    F32Add,
    F32Sub,
    F32Mul,
    F32Div,
    F32Min,
    F32Max,
    F32Copysign,
    F64Add,
    F64Sub,
    F64Mul,
    F64Div,
    F64Min,
    F64Max,
    F64Copysign,
    I8x16ReplaceLane {
        idx: u8,
    },
    I16x8ReplaceLane {
        idx: u8,
    },
    I32x4ReplaceLane {
        idx: u8,
    },
    I64x2ReplaceLane {
        idx: u8,
    },
    F32x4ReplaceLane {
        idx: u8,
    },
    F64x2ReplaceLane {
        idx: u8,
    },
    I8x16Eq,
    I8x16Ne,
    I8x16LtS,
    I8x16LtU,
    I8x16GtS,
    I8x16GtU,
    I8x16LeS,
    I8x16LeU,
    I8x16GeS,
    I8x16GeU,
    I16x8Eq,
    I16x8Ne,
    I16x8LtS,
    I16x8LtU,
    I16x8GtS,
    I16x8GtU,
    I16x8LeS,
    I16x8LeU,
    I16x8GeS,
    I16x8GeU,
    I32x4Eq,
    I32x4Ne,
    I32x4LtS,
    I32x4LtU,
    I32x4GtS,
    I32x4GtU,
    I32x4LeS,
    I32x4LeU,
    I32x4GeS,
    I32x4GeU,
    F32x4Eq,
    F32x4Ne,
    F32x4Lt,
    F32x4Gt,
    F32x4Le,
    F32x4Ge,
    F64x2Eq,
    F64x2Ne,
    F64x2Lt,
    F64x2Gt,
    F64x2Le,
    F64x2Ge,
    V128And,
    V128Or,
    V128Xor,
    I8x16Shl,
    I8x16ShrS,
    I8x16ShrU,
    I8x16Add,
    I8x16AddSaturateS,
    I8x16AddSaturateU,
    I8x16Sub,
    I8x16SubSaturateS,
    I8x16SubSaturateU,
    I8x16Mul,
    I16x8Shl,
    I16x8ShrS,
    I16x8ShrU,
    I16x8Add,
    I16x8AddSaturateS,
    I16x8AddSaturateU,
    I16x8Sub,
    I16x8SubSaturateS,
    I16x8SubSaturateU,
    I16x8Mul,
    I32x4Shl,
    I32x4ShrS,
    I32x4ShrU,
    I32x4Add,
    I32x4Sub,
    I32x4Mul,
    I64x2Shl,
    I64x2ShrS,
    I64x2ShrU,
    I64x2Add,
    I64x2Sub,
    F32x4Add,
    F32x4Sub,
    F32x4Mul,
    F32x4Div,
    F32x4Min,
    F32x4Max,
    F64x2Add,
    F64x2Sub,
    F64x2Mul,
    F64x2Div,
    F64x2Min,
    F64x2Max,
}

Possible binary operations in wasm

Variants

I32EqI32NeI32LtSI32LtUI32GtSI32GtUI32LeSI32LeUI32GeSI32GeUI64EqI64NeI64LtSI64LtUI64GtSI64GtUI64LeSI64LeUI64GeSI64GeUF32EqF32NeF32LtF32GtF32LeF32GeF64EqF64NeF64LtF64GtF64LeF64GeI32AddI32SubI32MulI32DivSI32DivUI32RemSI32RemUI32AndI32OrI32XorI32ShlI32ShrSI32ShrUI32RotlI32RotrI64AddI64SubI64MulI64DivSI64DivUI64RemSI64RemUI64AndI64OrI64XorI64ShlI64ShrSI64ShrUI64RotlI64RotrF32AddF32SubF32MulF32DivF32MinF32MaxF32CopysignF64AddF64SubF64MulF64DivF64MinF64MaxF64CopysignI8x16ReplaceLane

Fields of I8x16ReplaceLane

idx: u8
I16x8ReplaceLane

Fields of I16x8ReplaceLane

idx: u8
I32x4ReplaceLane

Fields of I32x4ReplaceLane

idx: u8
I64x2ReplaceLane

Fields of I64x2ReplaceLane

idx: u8
F32x4ReplaceLane

Fields of F32x4ReplaceLane

idx: u8
F64x2ReplaceLane

Fields of F64x2ReplaceLane

idx: u8
I8x16EqI8x16NeI8x16LtSI8x16LtUI8x16GtSI8x16GtUI8x16LeSI8x16LeUI8x16GeSI8x16GeUI16x8EqI16x8NeI16x8LtSI16x8LtUI16x8GtSI16x8GtUI16x8LeSI16x8LeUI16x8GeSI16x8GeUI32x4EqI32x4NeI32x4LtSI32x4LtUI32x4GtSI32x4GtUI32x4LeSI32x4LeUI32x4GeSI32x4GeUF32x4EqF32x4NeF32x4LtF32x4GtF32x4LeF32x4GeF64x2EqF64x2NeF64x2LtF64x2GtF64x2LeF64x2GeV128AndV128OrV128XorI8x16ShlI8x16ShrSI8x16ShrUI8x16AddI8x16AddSaturateSI8x16AddSaturateUI8x16SubI8x16SubSaturateSI8x16SubSaturateUI8x16MulI16x8ShlI16x8ShrSI16x8ShrUI16x8AddI16x8AddSaturateSI16x8AddSaturateUI16x8SubI16x8SubSaturateSI16x8SubSaturateUI16x8MulI32x4ShlI32x4ShrSI32x4ShrUI32x4AddI32x4SubI32x4MulI64x2ShlI64x2ShrSI64x2ShrUI64x2AddI64x2SubF32x4AddF32x4SubF32x4MulF32x4DivF32x4MinF32x4MaxF64x2AddF64x2SubF64x2MulF64x2DivF64x2MinF64x2Max

Trait Implementations

impl Clone for BinaryOp[src]

impl Copy for BinaryOp[src]

impl Debug for BinaryOp[src]

Auto Trait Implementations

impl Sync for BinaryOp

impl Send for BinaryOp

impl Unpin for BinaryOp

impl UnwindSafe for BinaryOp

impl RefUnwindSafe for BinaryOp

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]