StrAnalFlags(..), getStrAnalFlags,
nullAbsValEnv, addOneToAbsValEnv, growAbsValEnvList,
lookupAbsValEnv,
- absValFromStrictness,
+ absValFromStrictness
-- and to make the interface self-sufficient...
- CoreExpr, Id, IdEnv(..), UniqFM, Unique,
- Demand, PlainCoreExpr(..)
) where
-import IdEnv
import IdInfo
---import FiniteMap -- debugging only
import Outputable
-import PlainCore
import Pretty
-import Util -- for pragmas only
\end{code}
%************************************************************************
| AbsFun -- An abstract function, with the given:
[Id] -- arguments
- PlainCoreExpr -- body
+ CoreExpr -- body
AbsValEnv -- and environment
| AbsApproxFun -- This is used to represent a coarse
-- argument if the i'th element of the Demand
-- list so indicates.
-- The list of arguments is always non-empty.
- -- In effect, AbsApproxFun [] = AbsTop
+ -- In effect, AbsApproxFun [] = AbsTop
instance Outputable AbsVal where
ppr sty AbsTop = ppStr "AbsTop"
An @AbsValEnv@ maps @Ids@ to @AbsVals@. Any unbound @Ids@ are
implicitly bound to @AbsTop@, the completely uninformative,
-pessimistic value---see @absEval@ of a @CoVar@.
+pessimistic value---see @absEval@ of a @Var@.
\begin{code}
data AbsValEnv = AbsValEnv StrAnalFlags (IdEnv AbsVal)