b41e473609a43049f2549589fa7ea3baf27ef608
[ghc-hetmet.git] / ghc / compiler / codeGen / CgUsages.hi
1 {-# GHC_PRAGMA INTERFACE VERSION 5 #-}
2 interface CgUsages where
3 import AbsCSyn(AbstractC, CAddrMode, CStmtMacro, MagicId, RegRelative, ReturnInfo)
4 import BasicLit(BasicLit)
5 import CLabelInfo(CLabel)
6 import CgBindery(CgIdInfo)
7 import CgMonad(CgInfoDownwards, CgState, StubFlag)
8 import ClosureInfo(ClosureInfo)
9 import CostCentre(CostCentre)
10 import HeapOffs(HeapOffset)
11 import Maybes(Labda)
12 import PreludePS(_PackedString)
13 import PrimOps(PrimOp)
14 import UniqFM(UniqFM)
15 data AbstractC 
16 data RegRelative 
17 data CgState 
18 data HeapOffset 
19 freeBStkSlot :: Int -> CgInfoDownwards -> CgState -> CgState
20 getHpRelOffset :: HeapOffset -> CgInfoDownwards -> CgState -> (RegRelative, CgState)
21 getSpARelOffset :: Int -> CgInfoDownwards -> CgState -> (RegRelative, CgState)
22 getSpBRelOffset :: Int -> CgInfoDownwards -> CgState -> (RegRelative, CgState)
23 getVirtAndRealHp :: CgInfoDownwards -> CgState -> ((HeapOffset, HeapOffset), CgState)
24 getVirtSps :: CgInfoDownwards -> CgState -> ((Int, Int), CgState)
25 initHeapUsage :: (HeapOffset -> CgInfoDownwards -> CgState -> CgState) -> CgInfoDownwards -> CgState -> CgState
26 setRealAndVirtualSps :: Int -> Int -> CgInfoDownwards -> CgState -> CgState
27 setRealHp :: HeapOffset -> CgInfoDownwards -> CgState -> CgState
28 setVirtHp :: HeapOffset -> CgInfoDownwards -> CgState -> CgState
29