SMRep

# Words and bytes

type WordOff

type ByteOff

wordsToBytes

bytesToWordsRoundUp

roundUpToWords

data StgWord

fromStgWord

toStgWord

data StgHalfWord

fromStgHalfWord

toStgHalfWord

hALF_WORD_SIZE

hALF_WORD_SIZE_IN_BITS

# Closure repesentation

data SMRep

type IsStatic

data ClosureTypeInfo

data ArgDescr

type Liveness

type ConstrDescription

## Construction

mkHeapRep

blackHoleRep

indStaticRep

mkStackRep

mkRTSRep

arrPtrsRep

smallArrPtrsRep

arrWordsRep

## Predicates

isStaticRep

isConRep

isThunkRep

isFunRep

isStaticNoCafCon

isStackRep

## Size-related things

heapClosureSizeW

fixedHdrSizeW

arrWordsHdrSize

arrWordsHdrSizeW

arrPtrsHdrSize

arrPtrsHdrSizeW

profHdrSize

thunkHdrSize

nonHdrSize

nonHdrSizeW

smallArrPtrsHdrSize

smallArrPtrsHdrSizeW

hdrSize

hdrSizeW

fixedHdrSize

## RTS closure types

rtsClosureType

rET_SMALL

rET_BIG

aRG_GEN

aRG_GEN_BIG

## Arrays

card

cardRoundUp

cardTableSizeB

cardTableSizeW

# Operations over [Word8] strings that don't belong here

pprWord8String

stringToWord8s