feldspar-compiler-0.3: Compiler for the Feldspar languageSource codeContentsIndex
Feldspar.Compiler.Options
Documentation
data Options Source
Constructors
Options
platform :: Platform
unroll :: UnrollStrategy
debug :: DebugOption
defaultArraySize :: Int
show/hide Instances
data UnrollStrategy Source
Constructors
NoUnroll
Unroll Int
show/hide Instances
data DebugOption Source
Constructors
NoDebug
NoSimplification
NoPrimitiveInstructionHandling
show/hide Instances
data Platform Source
Constructors
Platform
name :: String
types :: [(Type, String, String)]
values :: [(Type, ShowValue)]
primitives :: [(FeldPrimDesc, Either CPrimDesc TransformPrim)]
includes :: [String]
isRestrict :: IsRestrict
show/hide Instances
data FeldPrimDesc Source
Constructors
FeldPrimDesc
fName :: String
inputs :: [TypeDesc]
show/hide Instances
data CPrimDesc Source
Constructors
Op1
cOp :: String
Op2
cOp :: String
Fun
cName :: String
funPf :: FunPostfixDescr
Proc
cName :: String
funPf :: FunPostfixDescr
Assig
InvalidDesc
show/hide Instances
data TypeDesc Source
Constructors
AllT
BoolT
FloatT
IntT
IntTS
IntTU
IntTS_ Size
IntTU_ Size
IntT_ Size
UserT String
show/hide Instances
data FunPostfixDescr Source
Constructors
FunPostfixDescr
useInputs :: Int
useOutputs :: Int
show/hide Instances
type ShowValue = ConstantData PrettyPrintSemanticInfo -> StringSource
type TransformPrim = FeldPrimDesc -> [Expression ()] -> [LeftValue ()] -> [(CPrimDesc, [Expression ()], [LeftValue ()])]Source
machTypes :: TypeDesc -> Type -> BoolSource
Produced by Haddock version 2.6.1