ghc-8.2.2: The GHC API

Safe Haskell | None
Language | Haskell2010

CmmInfo

Synopsis

- mkEmptyContInfoTable :: CLabel -> CmmInfoTable
- cmmToRawCmm :: DynFlags -> Stream IO CmmGroup () -> IO (Stream IO RawCmmGroup ())
- mkInfoTable :: DynFlags -> CmmDecl -> UniqSM [RawCmmDecl]
- srtEscape :: DynFlags -> StgHalfWord
- closureInfoPtr :: DynFlags -> CmmExpr -> CmmExpr
- entryCode :: DynFlags -> CmmExpr -> CmmExpr
- getConstrTag :: DynFlags -> CmmExpr -> CmmExpr
- cmmGetClosureType :: DynFlags -> CmmExpr -> CmmExpr
- infoTable :: DynFlags -> CmmExpr -> CmmExpr
- infoTableConstrTag :: DynFlags -> CmmExpr -> CmmExpr
- infoTableSrtBitmap :: DynFlags -> CmmExpr -> CmmExpr
- infoTableClosureType :: DynFlags -> CmmExpr -> CmmExpr
- infoTablePtrs :: DynFlags -> CmmExpr -> CmmExpr
- infoTableNonPtrs :: DynFlags -> CmmExpr -> CmmExpr
- funInfoTable :: DynFlags -> CmmExpr -> CmmExpr
- funInfoArity :: DynFlags -> CmmExpr -> CmmExpr
- stdInfoTableSizeW :: DynFlags -> WordOff
- fixedInfoTableSizeW :: WordOff
- profInfoTableSizeW :: WordOff
- maxStdInfoTableSizeW :: WordOff
- maxRetInfoTableSizeW :: WordOff
- stdInfoTableSizeB :: DynFlags -> ByteOff
- conInfoTableSizeB :: DynFlags -> Int
- stdSrtBitmapOffset :: DynFlags -> ByteOff
- stdClosureTypeOffset :: DynFlags -> ByteOff
- stdPtrsOffset :: DynFlags -> ByteOff
- stdNonPtrsOffset :: DynFlags -> ByteOff

# Documentation

mkEmptyContInfoTable :: CLabel -> CmmInfoTable #

cmmToRawCmm :: DynFlags -> Stream IO CmmGroup () -> IO (Stream IO RawCmmGroup ()) #

mkInfoTable :: DynFlags -> CmmDecl -> UniqSM [RawCmmDecl] #

srtEscape :: DynFlags -> StgHalfWord #

Value of the srt field of an info table when using an StgLargeSRT

closureInfoPtr :: DynFlags -> CmmExpr -> CmmExpr #

entryCode :: DynFlags -> CmmExpr -> CmmExpr #

getConstrTag :: DynFlags -> CmmExpr -> CmmExpr #

cmmGetClosureType :: DynFlags -> CmmExpr -> CmmExpr #

infoTable :: DynFlags -> CmmExpr -> CmmExpr #

infoTableConstrTag :: DynFlags -> CmmExpr -> CmmExpr #

infoTableSrtBitmap :: DynFlags -> CmmExpr -> CmmExpr #

infoTableClosureType :: DynFlags -> CmmExpr -> CmmExpr #

infoTablePtrs :: DynFlags -> CmmExpr -> CmmExpr #

infoTableNonPtrs :: DynFlags -> CmmExpr -> CmmExpr #

funInfoTable :: DynFlags -> CmmExpr -> CmmExpr #

funInfoArity :: DynFlags -> CmmExpr -> CmmExpr #

stdInfoTableSizeW :: DynFlags -> WordOff #

fixedInfoTableSizeW :: WordOff #

profInfoTableSizeW :: WordOff #

maxStdInfoTableSizeW :: WordOff #

maxRetInfoTableSizeW :: WordOff #

stdInfoTableSizeB :: DynFlags -> ByteOff #

conInfoTableSizeB :: DynFlags -> Int #

stdSrtBitmapOffset :: DynFlags -> ByteOff #

stdClosureTypeOffset :: DynFlags -> ByteOff #

stdPtrsOffset :: DynFlags -> ByteOff #

stdNonPtrsOffset :: DynFlags -> ByteOff #