grisette-0.4.1.0: Symbolic evaluation as a library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Grisette.Core.Data.Class.SymShift

Documentation

class Bits a => SymShift a where Source #

Methods

symShift :: a -> a -> a Source #

Instances

Instances details
SymShift Int16 Source # 
Instance details

Defined in Grisette.Core.Data.Class.SymShift

Methods

symShift :: Int16 -> Int16 -> Int16 Source #

SymShift Int32 Source # 
Instance details

Defined in Grisette.Core.Data.Class.SymShift

Methods

symShift :: Int32 -> Int32 -> Int32 Source #

SymShift Int64 Source # 
Instance details

Defined in Grisette.Core.Data.Class.SymShift

Methods

symShift :: Int64 -> Int64 -> Int64 Source #

SymShift Int8 Source # 
Instance details

Defined in Grisette.Core.Data.Class.SymShift

Methods

symShift :: Int8 -> Int8 -> Int8 Source #

SymShift Word16 Source # 
Instance details

Defined in Grisette.Core.Data.Class.SymShift

SymShift Word32 Source # 
Instance details

Defined in Grisette.Core.Data.Class.SymShift

SymShift Word64 Source # 
Instance details

Defined in Grisette.Core.Data.Class.SymShift

SymShift Word8 Source # 
Instance details

Defined in Grisette.Core.Data.Class.SymShift

Methods

symShift :: Word8 -> Word8 -> Word8 Source #

SymShift Int Source # 
Instance details

Defined in Grisette.Core.Data.Class.SymShift

Methods

symShift :: Int -> Int -> Int Source #

SymShift Word Source # 
Instance details

Defined in Grisette.Core.Data.Class.SymShift

Methods

symShift :: Word -> Word -> Word Source #

(KnownNat n, 1 <= n) => SymShift (IntN n) Source # 
Instance details

Defined in Grisette.Core.Data.BV

Methods

symShift :: IntN n -> IntN n -> IntN n Source #

(KnownNat n, 1 <= n) => SymShift (WordN n) Source # 
Instance details

Defined in Grisette.Core.Data.BV

Methods

symShift :: WordN n -> WordN n -> WordN n Source #

(Integral a, FiniteBits a) => SymShift (DefaultFiniteBitsSymShift a) Source # 
Instance details

Defined in Grisette.Core.Data.Class.SymShift

(KnownNat n, 1 <= n) => SymShift (SymIntN n) Source # 
Instance details

Defined in Grisette.IR.SymPrim.Data.SymPrim

Methods

symShift :: SymIntN n -> SymIntN n -> SymIntN n Source #

(KnownNat n, 1 <= n) => SymShift (SymWordN n) Source # 
Instance details

Defined in Grisette.IR.SymPrim.Data.SymPrim

Methods

symShift :: SymWordN n -> SymWordN n -> SymWordN n Source #

newtype DefaultFiniteBitsSymShift a Source #

Instances

Instances details
Bits a => Bits (DefaultFiniteBitsSymShift a) Source # 
Instance details

Defined in Grisette.Core.Data.Class.SymShift

Methods

(.&.) :: DefaultFiniteBitsSymShift a -> DefaultFiniteBitsSymShift a -> DefaultFiniteBitsSymShift a #

(.|.) :: DefaultFiniteBitsSymShift a -> DefaultFiniteBitsSymShift a -> DefaultFiniteBitsSymShift a #

xor :: DefaultFiniteBitsSymShift a -> DefaultFiniteBitsSymShift a -> DefaultFiniteBitsSymShift a #

complement :: DefaultFiniteBitsSymShift a -> DefaultFiniteBitsSymShift a #

shift :: DefaultFiniteBitsSymShift a -> Int -> DefaultFiniteBitsSymShift a #

rotate :: DefaultFiniteBitsSymShift a -> Int -> DefaultFiniteBitsSymShift a #

zeroBits :: DefaultFiniteBitsSymShift a #

bit :: Int -> DefaultFiniteBitsSymShift a #

setBit :: DefaultFiniteBitsSymShift a -> Int -> DefaultFiniteBitsSymShift a #

clearBit :: DefaultFiniteBitsSymShift a -> Int -> DefaultFiniteBitsSymShift a #

complementBit :: DefaultFiniteBitsSymShift a -> Int -> DefaultFiniteBitsSymShift a #

testBit :: DefaultFiniteBitsSymShift a -> Int -> Bool #

bitSizeMaybe :: DefaultFiniteBitsSymShift a -> Maybe Int #

bitSize :: DefaultFiniteBitsSymShift a -> Int #

isSigned :: DefaultFiniteBitsSymShift a -> Bool #

shiftL :: DefaultFiniteBitsSymShift a -> Int -> DefaultFiniteBitsSymShift a #

unsafeShiftL :: DefaultFiniteBitsSymShift a -> Int -> DefaultFiniteBitsSymShift a #

shiftR :: DefaultFiniteBitsSymShift a -> Int -> DefaultFiniteBitsSymShift a #

unsafeShiftR :: DefaultFiniteBitsSymShift a -> Int -> DefaultFiniteBitsSymShift a #

rotateL :: DefaultFiniteBitsSymShift a -> Int -> DefaultFiniteBitsSymShift a #

rotateR :: DefaultFiniteBitsSymShift a -> Int -> DefaultFiniteBitsSymShift a #

popCount :: DefaultFiniteBitsSymShift a -> Int #

Eq a => Eq (DefaultFiniteBitsSymShift a) Source # 
Instance details

Defined in Grisette.Core.Data.Class.SymShift

(Integral a, FiniteBits a) => SymShift (DefaultFiniteBitsSymShift a) Source # 
Instance details

Defined in Grisette.Core.Data.Class.SymShift