Moduleghc-9.10.3GHC2021
GHC.Cmm
- 28 types
- 11 values
- Packageghc-9.10.3
- Exports39
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceCmm.hs
Cmm top-level datatypes
25 declarationsCmm group before SRT generation
Cmm group with SRTs
Raw cmm group (TODO (osa): not sure what that means)
A top-level chunk, abstracted over the type of the contents of the basic blocks (Cmm or instructions are the likely instantiations).
Instances2OutputableP, Functor
(OutputableP Platform d, OutputableP Platform info, OutputableP Platform i) => OutputableP Platform (GenCmmDecl d info i)Defined in ghc-9.10.3 · GHC.CmmFunctor (GenCmmDecl d h)Defined in ghc-9.10.3 · GHC.Cmm
Instances1OutputableP
OutputableP Platform CmmGraphDefined in ghc-9.10.3 · GHC.Cmm
Constructors
Instances1Show
Show SectionTypeDefined in ghc-9.10.3 · GHC.Cmm
Constructors
CmmStatics :: CLabel -> CmmInfoTable -> CostCentreStack -> [CmmLit] -> [CmmLit] -> GenCmmStatics 'FalseCmmStaticsRaw :: CLabel -> [CmmStatic] -> GenCmmStatics rawOnlyStatic data, after SRTs are generated
Instances1OutputableP
OutputableP Platform (GenCmmStatics a)Defined in ghc-9.10.3 · GHC.Cmm
Constructors
CmmStaticLit CmmLita literal value, size given by cmmLitRep of the literal.
CmmUninitialised Intuninitialised data, N bytes long
CmmString ByteStringstring of 8-bit values only, not zero terminated.
CmmFileEmbed FilePath Intan embedded binary file and its byte length
Instances2Outputable, OutputableP
Outputable CmmStaticDefined in ghc-9.10.3 · GHC.CmmOutputableP Platform CmmStaticDefined in ghc-9.10.3 · GHC.Cmm
Instances1Eq
Eq SectionProtectionDefined in ghc-9.10.3 · GHC.Cmm
Should a data in this section be considered constant at runtime
Blocks containing lists
Constructors
BasicBlock BlockId [i]
Instances3Functor, OutputableP, Outputable
Functor GenBasicBlockDefined in ghc-9.10.3 · GHC.CmmOutputableP env instr => OutputableP env (GenBasicBlock instr)Defined in ghc-9.10.3 · GHC.CmmOutputable instr => Outputable (GenBasicBlock instr)Defined in ghc-9.10.3 · GHC.Cmm
The branch block id is that of the first block in the branch, which is that branch's entry point
Constructors
Instances3Functor, OutputableP, Outputable
Functor ListGraphDefined in ghc-9.10.3 · GHC.CmmOutputableP env instr => OutputableP env (ListGraph instr)Defined in ghc-9.10.3 · GHC.CmmOutputable instr => Outputable (ListGraph instr)Defined in ghc-9.10.3 · GHC.Cmm
Info Tables
7 declarationsCmmTopInfo is attached to each CmmDecl (see defn of CmmGroup), and contains the extra info (beyond the executable code) that belongs to that CmmDecl.
Constructors
Instances1OutputableP
OutputableP Platform CmmTopInfoDefined in ghc-9.10.3 · GHC.Cmm
Instances1Outputable
Outputable CmmStackInfoDefined in ghc-9.10.3 · GHC.Cmm
Info table as a haskell data type
Constructors
Instances3Eq, Ord, OutputableP
Eq CmmInfoTableDefined in ghc-9.10.3 · GHC.CmmOrd CmmInfoTableDefined in ghc-9.10.3 · GHC.CmmOutputableP Platform CmmInfoTableDefined in ghc-9.10.3 · GHC.Cmm
Constructors
Constr ConTagZ ConstrDescriptionFun FunArity ArgDescrThunkThunkSelector SelectorOffsetBlackHoleIndStatic
Instances3Eq, Ord, Outputable
Eq ClosureTypeInfoDefined in ghc-9.10.3 · GHC.Runtime.Heap.LayoutOrd ClosureTypeInfoDefined in ghc-9.10.3 · GHC.Runtime.Heap.LayoutOutputable ClosureTypeInfoDefined in ghc-9.10.3 · GHC.Runtime.Heap.Layout
Constructors
Instances2Eq, Ord
Eq ProfilingInfoDefined in ghc-9.10.3 · GHC.CmmOrd ProfilingInfoDefined in ghc-9.10.3 · GHC.Cmm
Statements, expressions and types
0 declarationsmodule GHC.Cmm.Node
module GHC.Cmm.Expr