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