e8d86a346a30cae74f4855a924d1d9b2674f2e2d
[ghc-hetmet.git] / ghc / compiler / codeGen / SMRep.hi
1 {-# GHC_PRAGMA INTERFACE VERSION 5 #-}
2 interface SMRep where
3 import Outputable(Outputable)
4 data SMRep   = StaticRep Int Int | SpecialisedRep SMSpecRepKind Int Int SMUpdateKind | GenericRep Int Int SMUpdateKind | BigTupleRep Int | DataRep Int | DynamicRep | BlackHoleRep | PhantomRep | MuTupleRep Int
5 data SMSpecRepKind   = SpecRep | ConstantRep | CharLikeRep | IntLikeRep
6 data SMUpdateKind   = SMNormalForm | SMSingleEntry | SMUpdatable
7 getSMInfoStr :: SMRep -> [Char]
8 getSMInitHdrStr :: SMRep -> [Char]
9 getSMUpdInplaceHdrStr :: SMRep -> [Char]
10 ltSMRepHdr :: SMRep -> SMRep -> Bool
11 instance Eq SMRep
12 instance Ord SMRep
13 instance Outputable SMRep
14 instance Text SMRep
15