[commit: ghc] master: Haddock fix in the vectoriser (914e415)
Manuel Chakravarty
chak at cse.unsw.edu.au
Fri Jun 3 04:02:54 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/914e415702a25a6e52ab1eaaf2aea233d6c6097e
>---------------------------------------------------------------
commit 914e415702a25a6e52ab1eaaf2aea233d6c6097e
Author: Manuel M T Chakravarty <chak at cse.unsw.edu.au>
Date: Fri Jun 3 11:41:44 2011 +1000
Haddock fix in the vectoriser
>---------------------------------------------------------------
compiler/vectorise/Vectorise/Env.hs | 42 +++++++++++++++++-----------------
1 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/compiler/vectorise/Vectorise/Env.hs b/compiler/vectorise/Vectorise/Env.hs
index fe7be1f..780a07f 100644
--- a/compiler/vectorise/Vectorise/Env.hs
+++ b/compiler/vectorise/Vectorise/Env.hs
@@ -77,52 +77,52 @@ emptyLocalEnv = LocalEnv {
--
data GlobalEnv
= GlobalEnv
- -- |Mapping from global variables to their vectorised versions â aka the /vectorisation
- -- map/.
{ global_vars :: VarEnv Var
+ -- ^Mapping from global variables to their vectorised versions â aka the /vectorisation
+ -- map/.
- -- |Mapping from global variables that have a vectorisation declaration to the right-hand
- -- side of that declaration and its type. This mapping only applies to non-scalar
- -- vectorisation declarations. All variables with a scalar vectorisation declaration are
- -- mentioned in 'global_scalars_vars'.
, global_vect_decls :: VarEnv (Type, CoreExpr)
+ -- ^Mapping from global variables that have a vectorisation declaration to the right-hand
+ -- side of that declaration and its type. This mapping only applies to non-scalar
+ -- vectorisation declarations. All variables with a scalar vectorisation declaration are
+ -- mentioned in 'global_scalars_vars'.
- -- |Purely scalar variables. Code which mentions only these variables doesn't have to be
- -- lifted. This includes variables from the current module that have a scalar
- -- vectorisation declaration and those that the vectoriser determines to be scalar.
, global_scalar_vars :: VarSet
+ -- ^Purely scalar variables. Code which mentions only these variables doesn't have to be
+ -- lifted. This includes variables from the current module that have a scalar
+ -- vectorisation declaration and those that the vectoriser determines to be scalar.
- -- |Type constructors whose values can only contain scalar data. Scalar code may only
- -- operate on such data.
, global_scalar_tycons :: NameSet
+ -- ^Type constructors whose values can only contain scalar data. Scalar code may only
+ -- operate on such data.
- -- |Exported variables which have a vectorised version.
, global_exported_vars :: VarEnv (Var, Var)
+ -- ^Exported variables which have a vectorised version.
- -- |Mapping from TyCons to their vectorised versions.
- -- TyCons which do not have to be vectorised are mapped to themselves.
, global_tycons :: NameEnv TyCon
+ -- ^Mapping from TyCons to their vectorised versions.
+ -- TyCons which do not have to be vectorised are mapped to themselves.
- -- |Mapping from DataCons to their vectorised versions.
, global_datacons :: NameEnv DataCon
+ -- ^Mapping from DataCons to their vectorised versions.
- -- |Mapping from TyCons to their PA dfuns.
, global_pa_funs :: NameEnv Var
+ -- ^Mapping from TyCons to their PA dfuns.
- -- |Mapping from TyCons to their PR dfuns.
, global_pr_funs :: NameEnv Var
+ -- ^Mapping from TyCons to their PR dfuns.
- -- |Mapping from unboxed TyCons to their boxed versions.
, global_boxed_tycons :: NameEnv TyCon
+ -- ^Mapping from unboxed TyCons to their boxed versions.
- -- |External package inst-env & home-package inst-env for class instances.
, global_inst_env :: (InstEnv, InstEnv)
+ -- ^External package inst-env & home-package inst-env for class instances.
- -- |External package inst-env & home-package inst-env for family instances.
, global_fam_inst_env :: FamInstEnvs
+ -- ^External package inst-env & home-package inst-env for family instances.
- -- |Hoisted bindings.
, global_bindings :: [(Var, CoreExpr)]
+ -- ^Hoisted bindings.
}
-- |Create an initial global environment.
More information about the Cvs-ghc
mailing list