cvs commit: fptools/ghc/compiler Makefile fptools/ghc/compiler/basicTypes DataCon.lhs Id.lhs MkId.lhs RdrName.lhs Unique.lhs fptools/ghc/compiler/coreSyn CoreLint.lhs CoreSyn.lhs CoreUtils.lhs PprCore.lhs Subst.lhs fptools/ghc/compiler/deSugar ...

Keith Wansborough keithw@glass.cse.ogi.edu
Mon, 2 Apr 2001 04:24:20 -0700


keithw      2001/04/02 04:24:20 PDT

  Modified files:        (Branch: ghc-new-usagesp-branch)
    ghc/compiler         Makefile 
    ghc/compiler/basicTypes DataCon.lhs Id.lhs MkId.lhs 
                            RdrName.lhs Unique.lhs 
    ghc/compiler/coreSyn CoreLint.lhs CoreSyn.lhs CoreUtils.lhs 
                         PprCore.lhs Subst.lhs 
    ghc/compiler/deSugar Check.lhs DsBinds.lhs DsCCall.lhs 
                         DsExpr.lhs DsForeign.lhs DsListComp.lhs 
                         DsMonad.lhs DsUtils.lhs Match.lhs 
    ghc/compiler/hsSyn   HsTypes.lhs 
    ghc/compiler/main    MkIface.lhs 
    ghc/compiler/parser  RdrHsSyn.lhs 
    ghc/compiler/prelude PrelInfo.lhs PrimOp.lhs PrimRep.lhs 
                         TysPrim.lhs TysWiredIn.lhs primops.txt 
    ghc/compiler/rename  ParseIface.y Rename.lhs RnHsSyn.lhs 
                         RnSource.lhs 
    ghc/compiler/simplCore SimplUtils.lhs Simplify.lhs 
    ghc/compiler/stgSyn  CoreToStg.lhs StgLint.lhs StgSyn.lhs 
    ghc/compiler/stranal SaAbsInt.lhs WwLib.lhs 
    ghc/compiler/typecheck Inst.lhs TcBinds.lhs TcClassDcl.lhs 
                           TcDeriv.lhs TcEnv.lhs TcExpr.lhs 
                           TcIfaceSig.lhs TcInstDcls.lhs 
                           TcMatches.lhs TcMonad.lhs 
                           TcMonoType.lhs TcPat.lhs 
                           TcTyClsDecls.lhs TcTyDecls.lhs 
                           TcType.lhs TcUnify.lhs 
    ghc/compiler/types   Generics.lhs PprType.lhs TyCon.lhs 
                         Type.lhs 
    ghc/compiler/usageSP UsageSPUtils.lhs 
    ghc/lib/std          PrelGHC.hi-boot 
    ghc/utils/genprimopcode Main.hs 
  Log:
  [This commit is on a NEW BRANCH, and is for use only by Simon PJ and myself.
   Everyone else please ignore!]
  
  First (non-working) cut at the usage analysis with usage-argumented
  datacons and tycons.  Ouch.
  
  Revision  Changes    Path
  1.93.2.1.2.1 +2 -2      fptools/ghc/compiler/Makefile
  1.19.4.1  +329 -38   fptools/ghc/compiler/basicTypes/DataCon.lhs
  1.68.2.2.2.1 +9 -10     fptools/ghc/compiler/basicTypes/Id.lhs
  1.41.2.2.2.1 +30 -31    fptools/ghc/compiler/basicTypes/MkId.lhs
  1.9.4.1   +7 -3      fptools/ghc/compiler/basicTypes/RdrName.lhs
  1.59.4.1  +3 -1      fptools/ghc/compiler/basicTypes/Unique.lhs
  1.50.4.1  +23 -8     fptools/ghc/compiler/coreSyn/CoreLint.lhs
  1.34.2.1.2.1 +1 -1      fptools/ghc/compiler/coreSyn/CoreSyn.lhs
  1.54.2.1.2.1 +52 -13    fptools/ghc/compiler/coreSyn/CoreUtils.lhs
  1.51.2.2.2.1 +1 -1      fptools/ghc/compiler/coreSyn/PprCore.lhs
  1.17.2.3.2.1 +5 -4      fptools/ghc/compiler/coreSyn/Subst.lhs
  1.21.4.1  +1 -1      fptools/ghc/compiler/deSugar/Check.lhs
  1.42.4.1  +1 -0      fptools/ghc/compiler/deSugar/DsBinds.lhs
  1.45.4.1  +18 -17    fptools/ghc/compiler/deSugar/DsCCall.lhs
  1.62.2.1.2.1 +13 -13    fptools/ghc/compiler/deSugar/DsExpr.lhs
  1.38.2.2.2.1 +18 -15    fptools/ghc/compiler/deSugar/DsForeign.lhs
  1.24.4.1  +14 -12    fptools/ghc/compiler/deSugar/DsListComp.lhs
  1.31.4.1  +3 -3      fptools/ghc/compiler/deSugar/DsMonad.lhs
  1.49.2.1.2.1 +17 -17    fptools/ghc/compiler/deSugar/DsUtils.lhs
  1.43.4.1  +3 -2      fptools/ghc/compiler/deSugar/Match.lhs
  1.38.2.2.2.1 +25 -11    fptools/ghc/compiler/hsSyn/HsTypes.lhs
  1.82.4.1  +9 -5      fptools/ghc/compiler/main/MkIface.lhs
  1.17.2.1.2.1 +2 -0      fptools/ghc/compiler/parser/RdrHsSyn.lhs
  1.71.4.1  +3 -2      fptools/ghc/compiler/prelude/PrelInfo.lhs
  1.82.2.1.2.1 +32 -41    fptools/ghc/compiler/prelude/PrimOp.lhs
  1.18.4.1  +26 -1     fptools/ghc/compiler/prelude/PrimRep.lhs
  1.30.4.1  +15 -2     fptools/ghc/compiler/prelude/TysPrim.lhs
  1.51.4.1  +41 -35    fptools/ghc/compiler/prelude/TysWiredIn.lhs
  1.5.2.1.2.1 +4 -4      fptools/ghc/compiler/prelude/primops.txt
  1.85.2.2.2.1 +12 -4     fptools/ghc/compiler/rename/ParseIface.y
  1.92.4.1  +3 -2      fptools/ghc/compiler/rename/Rename.lhs
  1.37.2.1.2.1 +3 -0      fptools/ghc/compiler/rename/RnHsSyn.lhs
  1.92.2.1.2.1 +10 -0     fptools/ghc/compiler/rename/RnSource.lhs
  1.48.4.1  +5 -4      fptools/ghc/compiler/simplCore/SimplUtils.lhs
  1.87.4.1  +18 -14    fptools/ghc/compiler/simplCore/Simplify.lhs
  1.54.2.1.2.1 +4 -4      fptools/ghc/compiler/stgSyn/CoreToStg.lhs
  1.30.4.1  +1 -1      fptools/ghc/compiler/stgSyn/StgLint.lhs
  1.29.4.1  +2 -2      fptools/ghc/compiler/stgSyn/StgSyn.lhs
  1.41.4.1  +1 -1      fptools/ghc/compiler/stranal/SaAbsInt.lhs
  1.41.4.1  +33 -16    fptools/ghc/compiler/stranal/WwLib.lhs
  1.63.4.1  +11 -9     fptools/ghc/compiler/typecheck/Inst.lhs
  1.72.4.1  +8 -6      fptools/ghc/compiler/typecheck/TcBinds.lhs
  1.72.2.2.2.1 +21 -8     fptools/ghc/compiler/typecheck/TcClassDcl.lhs
  1.60.4.1  +5 -4      fptools/ghc/compiler/typecheck/TcDeriv.lhs
  1.50.2.1.2.1 +2 -2      fptools/ghc/compiler/typecheck/TcEnv.lhs
  1.84.2.1.2.1 +48 -40    fptools/ghc/compiler/typecheck/TcExpr.lhs
  1.51.2.1.2.1 +27 -11    fptools/ghc/compiler/typecheck/TcIfaceSig.lhs
  1.80.2.2.2.1 +2 -2      fptools/ghc/compiler/typecheck/TcInstDcls.lhs
  1.34.4.1  +3 -2      fptools/ghc/compiler/typecheck/TcMatches.lhs
  1.40.4.1  +18 -3     fptools/ghc/compiler/typecheck/TcMonad.lhs
  1.55.2.4.2.1 +80 -21    fptools/ghc/compiler/typecheck/TcMonoType.lhs
  1.52.4.1  +9 -6      fptools/ghc/compiler/typecheck/TcPat.lhs
  1.54.2.2.2.1 +48 -24    fptools/ghc/compiler/typecheck/TcTyClsDecls.lhs
  1.61.2.1.2.1 +37 -20    fptools/ghc/compiler/typecheck/TcTyDecls.lhs
  1.38.2.2.2.1 +3 -4      fptools/ghc/compiler/typecheck/TcType.lhs
  1.14.2.2.2.1 +30 -9     fptools/ghc/compiler/typecheck/TcUnify.lhs
  1.3.2.1.2.1 +7 -6      fptools/ghc/compiler/types/Generics.lhs
  1.46.2.2.2.1 +4 -4      fptools/ghc/compiler/types/PprType.lhs
  1.41.2.1.2.1 +32 -4     fptools/ghc/compiler/types/TyCon.lhs
  1.66.2.5.2.1 +187 -57   fptools/ghc/compiler/types/Type.lhs
  1.12.2.1.2.1 +5 -5      fptools/ghc/compiler/usageSP/UsageSPUtils.lhs
  1.44.2.1.2.1 +2 -0      fptools/ghc/lib/std/PrelGHC.hi-boot
  1.1.4.1   +1 -1      fptools/ghc/utils/genprimopcode/Main.hs