CmmBuildInfoTables

ghc-8.4.1: The GHC API

Safe Haskell | None
Language | Haskell2010

CmmBuildInfoTables

Synopsis

- type CAFSet = Set CLabel
- type CAFEnv = LabelMap CAFSet
- cafAnal :: CmmGraph -> CAFEnv
- doSRTs :: DynFlags -> TopSRT -> [(CAFEnv, [CmmDecl])] -> IO (TopSRT, [CmmDecl])
- data TopSRT
- emptySRT :: MonadUnique m => m TopSRT
- isEmptySRT :: TopSRT -> Bool
- srtToData :: TopSRT -> CmmGroup

# Documentation

type CAFSet = Set CLabel Source #

type CAFEnv = LabelMap CAFSet Source #

cafAnal :: CmmGraph -> CAFEnv Source #

An analysis to find live CAFs.

doSRTs :: DynFlags -> TopSRT -> [(CAFEnv, [CmmDecl])] -> IO (TopSRT, [CmmDecl]) Source #

data TopSRT Source #

Instances

Outputable TopSRT Source # |
Instance details Methods ppr :: TopSRT -> SDoc Source # pprPrec :: Rational -> TopSRT -> SDoc Source #

emptySRT :: MonadUnique m => m TopSRT Source #

isEmptySRT :: TopSRT -> Bool Source #

srtToData :: TopSRT -> CmmGroup Source #