| Safe Haskell | None |
|---|
E.SSimplify
Documentation
Constructors
| Unused | unused means a var is not used at the term level, but might be at the type level |
| Once | Used at most once not inside a lambda or as an argument |
| OnceInLam | used once inside a lambda |
| ManyBranch | used once in several branches |
| Many | used many or an unknown number of times |
| LoopBreaker | chosen as a loopbreaker, never inline |
simplifyE :: SimplifyOpts -> InE -> (Stat, OutE)Source
collectOccurance' :: E -> (E, IdMap UseInfo)Source
programSSimplify :: SimplifyOpts -> Program -> ProgramSource
data SimplifyOpts Source
Constructors
| SimpOpts | |
Fields
| |