[project @ 1996-01-11 14:06:51 by partain]
[ghc-hetmet.git] / ghc / compiler / simplCore / BinderInfo.hi
1 {-# GHC_PRAGMA INTERFACE VERSION 5 #-}
2 interface BinderInfo where
3 import Outputable(Outputable)
4 data BinderInfo   = DeadCode | ManyOcc Int | OneOcc FunOrArg DuplicationDanger InsideSCC Int Int
5 data DuplicationDanger 
6 data FunOrArg 
7 data InsideSCC 
8 argOccurrence :: Int -> BinderInfo
9 combineAltsBinderInfo :: BinderInfo -> BinderInfo -> BinderInfo
10 combineBinderInfo :: BinderInfo -> BinderInfo -> BinderInfo
11 funOccurrence :: Int -> BinderInfo
12 getBinderInfoArity :: BinderInfo -> Int
13 inlineUnconditionally :: Bool -> BinderInfo -> Bool
14 isDupDanger :: DuplicationDanger -> Bool
15 isFun :: FunOrArg -> Bool
16 markDangerousToDup :: BinderInfo -> BinderInfo
17 markInsideSCC :: BinderInfo -> BinderInfo
18 markMany :: BinderInfo -> BinderInfo
19 oneSafeOcc :: Bool -> BinderInfo -> Bool
20 oneTextualOcc :: Bool -> BinderInfo -> Bool
21 setBinderInfoArityToZero :: BinderInfo -> BinderInfo
22 instance Outputable BinderInfo
23