Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data StgPipelineOpts = StgPipelineOpts {}
- data StgToDo
- stg2stg :: Logger -> InteractiveContext -> StgPipelineOpts -> Module -> [StgTopBinding] -> IO [CgStgTopBinding]
Documentation
data StgPipelineOpts Source #
StgPipelineOpts | |
|
Optional Stg-to-Stg passes.
StgCSE | Common subexpression elimination |
StgLiftLams StgLiftConfig | Lambda lifting closure variables, trading stack/register allocation for heap allocation |
StgStats | |
StgUnarise | Mandatory unarise pass, desugaring unboxed tuple and sum binders |
StgBcPrep | Mandatory when compiling to bytecode |
StgDoNothing | Useful for building up |
stg2stg :: Logger -> InteractiveContext -> StgPipelineOpts -> Module -> [StgTopBinding] -> IO [CgStgTopBinding] Source #