feldspar-compiler-0.1: Compiler for the Feldspar languageSource codeContentsIndex
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 -> ImpFunctionSource
unrollPossible :: Int -> Program -> BoolSource
collectVars :: [Declaration] -> [String]Source
alterVarName :: String -> Int -> StringSource
alterVar :: String -> Int -> UntypedExpressionSource
unrollDecl :: [Declaration] -> String -> Int -> [Declaration]Source
unrollPrg :: Program -> String -> [String] -> Int -> [Program]Source
unrollRepeatSimple :: Program -> Int -> ProgramSource
class Unroll t whereSource
Methods
unrollStruc :: Int -> t -> tSource
show/hide Instances
Produced by Haddock version 2.6.0