ghc-7.0.3: The GHC API

CgInfoTbls

# Documentation

emitClosureCodeAndInfoTable :: ClosureInfo -> CmmFormals -> CgStmts -> Code

emitInfoTableAndCode :: CLabel -> CmmInfo -> CmmFormals -> [CmmBasicBlock] -> Code

dataConTagZ :: DataCon -> ConTagZ

emitReturnTarget :: Name -> CgStmts -> FCode CLabel

emitAlgReturnTarget :: Name -> [(ConTagZ, CgStmts)] -> Maybe CgStmts -> Int -> FCode (CLabel, SemiTaggingStuff)

emitReturnInstr :: Code

stdInfoTableSizeB :: ByteOff

entryCode :: CmmExpr -> CmmExpr

closureInfoPtr :: CmmExpr -> CmmExpr

getConstrTag :: CmmExpr -> CmmExpr

cmmGetClosureType :: CmmExpr -> CmmExpr

infoTable :: CmmExpr -> CmmExpr

infoTableClosureType :: CmmExpr -> CmmExpr

infoTablePtrs :: CmmExpr -> CmmExpr

infoTableNonPtrs :: CmmExpr -> CmmExpr

funInfoTable :: CmmExpr -> CmmExpr

makeRelativeRefTo :: CLabel -> CmmLit -> CmmLit