ghc-lib-8.8.1.20191204: The GHC API, decoupled from GHC versions

Safe HaskellNone
LanguageHaskell2010

Cmm

Contents

Synopsis

Cmm top-level datatypes

type GenCmmGroup d h g = [GenCmmDecl d h g] Source #

data GenCmmDecl d h g Source #

A top-level chunk, abstracted over the type of the contents of the basic blocks (Cmm or instructions are the likely instantiations).

Constructors

CmmProc h CLabel [GlobalReg] g 
CmmData Section d 
Instances
(Outputable d, Outputable info, Outputable i) => Outputable (GenCmmDecl d info i) Source # 
Instance details

Defined in PprCmmDecl

Methods

ppr :: GenCmmDecl d info i -> SDoc #

pprPrec :: Rational -> GenCmmDecl d info i -> SDoc #

data GenCmmGraph n Source #

Constructors

CmmGraph 

Fields

Instances
Outputable CmmGraph Source # 
Instance details

Defined in PprCmm

data CmmStatics Source #

Constructors

Statics CLabel [CmmStatic] 
Instances
Outputable CmmStatics Source # 
Instance details

Defined in PprCmmDecl

data CmmStatic Source #

Instances
Outputable CmmStatic Source # 
Instance details

Defined in PprCmmDecl

isSecConstant :: Section -> Bool Source #

Should a data in this section be considered constant

Blocks containing lists

data GenBasicBlock i Source #

Constructors

BasicBlock BlockId [i] 
Instances
Outputable instr => Outputable (GenBasicBlock instr) Source # 
Instance details

Defined in Cmm

Methods

ppr :: GenBasicBlock instr -> SDoc #

pprPrec :: Rational -> GenBasicBlock instr -> SDoc #

blockId :: GenBasicBlock i -> BlockId Source #

The branch block id is that of the first block in the branch, which is that branch's entry point

newtype ListGraph i Source #

Constructors

ListGraph [GenBasicBlock i] 
Instances
Outputable instr => Outputable (ListGraph instr) Source # 
Instance details

Defined in Cmm

Methods

ppr :: ListGraph instr -> SDoc #

pprPrec :: Rational -> ListGraph instr -> SDoc #

Info Tables

data CmmTopInfo Source #

Instances
Outputable CmmTopInfo Source # 
Instance details

Defined in PprCmm

data CmmStackInfo Source #

Instances
Outputable CmmStackInfo Source # 
Instance details

Defined in PprCmm

data CmmInfoTable Source #

Info table as a haskell data type

Instances
Outputable CmmInfoTable Source # 
Instance details

Defined in PprCmmDecl

data ClosureTypeInfo Source #

Instances
Outputable ClosureTypeInfo Source # 
Instance details

Defined in SMRep

Statements, expressions and types

module CmmNode

module CmmExpr