llvm-extra-0.12.0.1: Utility functions for the llvm interface
Safe HaskellSafe-Inferred
LanguageHaskell98

LLVM.Extra.Multi.Iterator

Documentation

takeWhile :: (a -> CodeGenFunction r (T Bool)) -> T r a -> T r a Source #

countDown :: (Additive i, Comparison i, IntegerConstant i) => T i -> T r (T i) Source #

take :: (Additive i, Comparison i, IntegerConstant i) => T i -> T r a -> T r a Source #

class C a => Enum a where Source #

Methods

succ :: T a -> CodeGenFunction r (T a) Source #

pred :: T a -> CodeGenFunction r (T a) Source #

enumFrom :: T a -> T r (T a) Source #

enumFromTo :: T a -> T a -> T r (T a) Source #

Instances

Instances details
(IsInteger w, IntegerConstant w, Num w, CmpRet w, IsPrimitive w, Enum e) => Enum (T w e) Source # 
Instance details

Defined in LLVM.Extra.Multi.Iterator

Methods

succ :: T0 (T w e) -> CodeGenFunction r (T0 (T w e)) Source #

pred :: T0 (T w e) -> CodeGenFunction r (T0 (T w e)) Source #

enumFrom :: T0 (T w e) -> T1 r (T0 (T w e)) Source #

enumFromTo :: T0 (T w e) -> T0 (T w e) -> T1 r (T0 (T w e)) Source #