llvm-extra-0.9: Utility functions for the llvm interface

Safe HaskellNone

LLVM.Extra.ScalarOrVectorPrivate

Documentation

type family Scalar vector :: *Source

saddSat :: (IsInteger v, CmpRet v, Replicate v, ShapeOf v ~ shape, ShapedType shape Bool ~ bv, ShapeOf bv ~ shape, CmpRet bv, Scalar v ~ a, IsConst a, Bounded a) => Value v -> Value v -> CodeGenFunction r (Value v)Source

ssubSat :: (IsInteger v, CmpRet v, Replicate v, ShapeOf v ~ shape, ShapedType shape Bool ~ bv, ShapeOf bv ~ shape, CmpRet bv, Scalar v ~ a, IsConst a, Bounded a) => Value v -> Value v -> CodeGenFunction r (Value v)Source

saddSatLogical :: (IsInteger v, CmpRet v, Replicate v, ShapeOf v ~ shape, ShapedType shape Bool ~ bv, ShapeOf bv ~ shape, CmpRet bv, IsInteger bv, Scalar v ~ a, IsConst a, Bounded a) => Value v -> Value v -> CodeGenFunction r (Value v)Source