[project @ 1999-04-13 08:55:33 by kglynn]
(keving) Big Bang introduction of CPR Analysis Pass. Note that now -fstrictness only does the strictness analysis phase, it is necessary to follow this with -fworker-wrapper to actually do the required Core transformations. The -O option in the ghc driver script has been modified appropriately. For now, CPR analysis is turned off. To try it, insert a -fcpr_analyse between the -fstrictness and the -fworker-wrapper options. Misc. comments: - The worker flag has been removed from an ID's StrictnessInfo field. Now the worker info is an extra field in the Id's prag info. - We do a nested CPR analysis, but worker-wrapper only looks at the info for the outermost constructor, else laziness can be lost. - Id's CPR Info in traces and interfaces file follows __M - Worker-wrappery transformation now accounts for both strictness and CPR analysis results.
Showing
- ghc/compiler/Makefile 2 additions, 2 deletionsghc/compiler/Makefile
- ghc/compiler/basicTypes/Id.lhs 27 additions, 2 deletionsghc/compiler/basicTypes/Id.lhs
- ghc/compiler/basicTypes/IdInfo.lhs 125 additions, 21 deletionsghc/compiler/basicTypes/IdInfo.lhs
- ghc/compiler/coreSyn/PprCore.lhs 4 additions, 1 deletionghc/compiler/coreSyn/PprCore.lhs
- ghc/compiler/hsSyn/HsDecls.lhs 2 additions, 1 deletionghc/compiler/hsSyn/HsDecls.lhs
- ghc/compiler/main/CmdLineOpts.lhs 9 additions, 1 deletionghc/compiler/main/CmdLineOpts.lhs
- ghc/compiler/main/MkIface.lhs 12 additions, 5 deletionsghc/compiler/main/MkIface.lhs
- ghc/compiler/prelude/PrelVals.lhs 1 addition, 1 deletionghc/compiler/prelude/PrelVals.lhs
- ghc/compiler/reader/Lex.lhs 24 additions, 2 deletionsghc/compiler/reader/Lex.lhs
- ghc/compiler/rename/ParseIface.y 3 additions, 1 deletionghc/compiler/rename/ParseIface.y
- ghc/compiler/rename/RnSource.lhs 1 addition, 0 deletionsghc/compiler/rename/RnSource.lhs
- ghc/compiler/simplCore/SimplCore.lhs 7 additions, 2 deletionsghc/compiler/simplCore/SimplCore.lhs
- ghc/compiler/simplCore/Simplify.lhs 1 addition, 1 deletionghc/compiler/simplCore/Simplify.lhs
- ghc/compiler/stranal/SaLib.lhs 1 addition, 1 deletionghc/compiler/stranal/SaLib.lhs
- ghc/compiler/stranal/StrictAnal.lhs 10 additions, 12 deletionsghc/compiler/stranal/StrictAnal.lhs
- ghc/compiler/stranal/WorkWrap.lhs 109 additions, 30 deletionsghc/compiler/stranal/WorkWrap.lhs
- ghc/compiler/stranal/WwLib.lhs 197 additions, 13 deletionsghc/compiler/stranal/WwLib.lhs
- ghc/compiler/typecheck/TcIfaceSig.lhs 7 additions, 2 deletionsghc/compiler/typecheck/TcIfaceSig.lhs
- ghc/driver/ghc.lprl 1 addition, 0 deletionsghc/driver/ghc.lprl
Loading
Please register or sign in to comment