Safe Haskell | Ignore |
---|---|
Language | GHC2021 |
Synopsis
- type NatCmm instr = GenCmmGroup RawCmmStatics (LabelMap RawCmmStatics) (ListGraph instr)
- type NatCmmDecl statics instr = GenCmmDecl statics (LabelMap RawCmmStatics) (ListGraph instr)
- type NatBasicBlock instr = GenBasicBlock instr
- data GenBasicBlock i = BasicBlock BlockId [i]
- blockId :: GenBasicBlock i -> BlockId
- newtype ListGraph i = ListGraph [GenBasicBlock i]
- type RawCmmStatics = GenCmmStatics 'True
- type RawCmmDecl = GenCmmDecl RawCmmStatics (LabelMap RawCmmStatics) CmmGraph
Documentation
type NatCmm instr = GenCmmGroup RawCmmStatics (LabelMap RawCmmStatics) (ListGraph instr) Source #
type NatCmmDecl statics instr = GenCmmDecl statics (LabelMap RawCmmStatics) (ListGraph instr) Source #
type NatBasicBlock instr = GenBasicBlock instr Source #
data GenBasicBlock i #
BasicBlock BlockId [i] |
Instances
Functor GenBasicBlock | |
Defined in GHC.Cmm fmap :: (a -> b) -> GenBasicBlock a -> GenBasicBlock b # (<$) :: a -> GenBasicBlock b -> GenBasicBlock a # | |
OutputableP env instr => OutputableP env (GenBasicBlock instr) | |
Defined in GHC.Cmm pdoc :: env -> GenBasicBlock instr -> SDoc # | |
Outputable instr => Outputable (GenBasicBlock instr) | |
Defined in GHC.Cmm ppr :: GenBasicBlock instr -> SDoc # |
blockId :: GenBasicBlock i -> BlockId #
The branch block id is that of the first block in the branch, which is that branch's entry point
Instances
Functor ListGraph | |
OutputableP env instr => OutputableP env (ListGraph instr) | |
Outputable instr => Outputable (ListGraph instr) | |
type RawCmmStatics = GenCmmStatics 'True #