feldspar-compiler-0.1: Compiler for the Feldspar language
Source code
Contents
Index
Feldspar.Compiler.Optimization.Unroll
Synopsis
doUnroll
::
Options
-> [
ImpFunction
] -> [
ImpFunction
]
doUnrollOne
::
Options
->
ImpFunction
->
ImpFunction
unrollPossible
::
Int
->
Program
->
Bool
collectVars
:: [
Declaration
] -> [
String
]
alterVarName
::
String
->
Int
->
String
alterVar
::
String
->
Int
->
UntypedExpression
unrollDecl
:: [
Declaration
] ->
String
->
Int
-> [
Declaration
]
unrollPrg
::
Program
->
String
-> [
String
] ->
Int
-> [
Program
]
unrollRepeatSimple
::
Program
->
Int
->
Program
class
Unroll
t
where
unrollStruc
::
Int
-> t -> t
Documentation
doUnroll
::
Options
-> [
ImpFunction
] -> [
ImpFunction
]
Source
Unroll opreation for imperative functions.
doUnrollOne
::
Options
->
ImpFunction
->
ImpFunction
Source
unrollPossible
::
Int
->
Program
->
Bool
Source
collectVars
:: [
Declaration
] -> [
String
]
Source
alterVarName
::
String
->
Int
->
String
Source
alterVar
::
String
->
Int
->
UntypedExpression
Source
unrollDecl
:: [
Declaration
] ->
String
->
Int
-> [
Declaration
]
Source
unrollPrg
::
Program
->
String
-> [
String
] ->
Int
-> [
Program
]
Source
unrollRepeatSimple
::
Program
->
Int
->
Program
Source
class
Unroll
t
where
Source
Methods
unrollStruc
::
Int
-> t -> t
Source
Instances
Unroll
Program
Unroll
CompleteProgram
Unroll
ImpFunction
Produced by
Haddock
version 2.6.0