/// Get the BitOp from the IR opcode.
Get the BitOp from the IR opcode.
Get the BitOp from the IR opcode .
fn from(op_ty: (Opcode, Type)) -> BitOp {
        match op_ty {
            (Opcode::Bitrev, I32) => BitOp::RBit32,
            (Opcode::Bitrev, I64) => BitOp::RBit64,
            (Opcode::Clz, I32) => BitOp::Clz32,
            (Opcode::Clz, I64) => BitOp::Clz64,
            (Opcode::Cls, I32) => BitOp::Cls32,
            (Opcode::Cls, I64) => BitOp::Cls64,
            _ => unreachable!("Called with non-bit op!"),
        }
    }
fn from ( op_ty : ( Opcode , Type ) ) -> BitOp { match op_ty { ( Opcode :: Bitrev , I32 ) => BitOp :: RBit32 , ( Opcode :: Bitrev , I64 ) => BitOp :: RBit64 , ( Opcode :: Clz , I32 ) => BitOp :: Clz32 , ( Opcode :: Clz , I64 ) => BitOp :: Clz64 , ( Opcode :: Cls , I32 ) => BitOp :: Cls32 , ( Opcode :: Cls , I64 ) => BitOp :: Cls64 , _ => unreachable ! ( " " ) , } }
Get the BitOp from the IR opcode.
Get the BitOp from the IR opcode .
op_ty
(Opcode, Type)