Safe Haskell | None |
---|---|
Language | Haskell2010 |
Move variables as much as possible upwards in a program.
Synopsis
- moveUpInFunDef :: FunDef ExplicitMemory -> (Body ExplicitMemory -> Maybe [FParam ExplicitMemory] -> [VName]) -> FunDef ExplicitMemory
Documentation
moveUpInFunDef :: FunDef ExplicitMemory -> (Body ExplicitMemory -> Maybe [FParam ExplicitMemory] -> [VName]) -> FunDef ExplicitMemory Source #
Call findHoistees
for every body, and then hoist every one of the found
hoistees (variables).