ghc-7.0.3: The GHC API

BlockId

# Documentation

data BlockId Source

Constructors

BlockId Unique |

Instances

Eq BlockId |
Ord BlockId |
Show BlockId |
Outputable BlockId |
Uniquable BlockId |

mkBlockId :: Unique -> BlockId Source

data BlockEnv a Source

Instances

Outputable a => Outputable (BlockEnv a) |

emptyBlockEnv :: BlockEnv aSource

elemBlockEnv :: BlockEnv a -> BlockId -> Bool Source

lookupBlockEnv :: BlockEnv a -> BlockId -> Maybe aSource

extendBlockEnv :: BlockEnv a -> BlockId -> a -> BlockEnv aSource

mkBlockEnv :: [(BlockId, a)] -> BlockEnv aSource

mapBlockEnv :: (a -> b) -> BlockEnv a -> BlockEnv bSource

eltsBlockEnv :: BlockEnv elt -> [elt]Source

plusBlockEnv :: BlockEnv elt -> BlockEnv elt -> BlockEnv eltSource

delFromBlockEnv :: BlockEnv elt -> BlockId -> BlockEnv eltSource

blockEnvToList :: BlockEnv elt -> [(BlockId, elt)]Source

lookupWithDefaultBEnv :: BlockEnv a -> a -> BlockId -> aSource

isNullBEnv :: BlockEnv a -> Bool Source

sizeBEnv :: BlockEnv a -> Int Source

foldBlockEnv :: (BlockId -> a -> b -> b) -> b -> BlockEnv a -> bSource

foldBlockEnv' :: (a -> b -> b) -> b -> BlockEnv a -> bSource

addToBEnv_Acc :: (elt -> elts -> elts) -> (elt -> elts) -> BlockEnv elts -> BlockId -> elt -> BlockEnv eltsSource

data BlockSet Source

Instances

Outputable BlockSet |

emptyBlockSet :: BlockSet Source

unitBlockSet :: BlockId -> BlockSet Source

isEmptyBlockSet :: BlockSet -> Bool Source

elemBlockSet :: BlockId -> BlockSet -> Bool Source

extendBlockSet :: BlockSet -> BlockId -> BlockSet Source

sizeBlockSet :: BlockSet -> Int Source

unionBlockSets :: BlockSet -> BlockSet -> BlockSet Source

removeBlockSet :: BlockSet -> BlockId -> BlockSet Source

mkBlockSet :: [BlockId] -> BlockSet Source

blockSetToList :: BlockSet -> [BlockId]Source

foldBlockSet :: (BlockId -> b -> b) -> b -> BlockSet -> bSource

blockLbl :: BlockId -> CLabel Source

infoTblLbl :: BlockId -> CLabel Source

retPtLbl :: BlockId -> CLabel Source