HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleghc-9.10.3GHC2021

GHC.Cmm.Reg

  • 4 types
  • 18 values
  • Packageghc-9.10.3
  • Exports22
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceReg.hs

Cmm Registers

3 declarations
datadata CmmReg
#
Instances10Eq, Ord, Show, Outputable, DefinerOfRegs, UserOfRegs, …

Local registers

2 declarations
datadata LocalReg
#

Constructors

Instances9Eq, Ord, Show, Outputable, Uniquable, DefinerOfRegs, …

Global registers

17 declarations
datadata GlobalReg
#

An abstract global register for the STG machine.

See also GlobalRegUse, which denotes a usage of a register at a particular type (e.g. using a 32-bit wide register to store an 8-bit wide value), as per Note [GlobalReg vs GlobalRegUse].

Instances9Eq, Ord, Show, Outputable, OutputableP, DefinerOfRegs, …
datadata GlobalRegUse
#

A use of a global register at a particular type.

While a GlobalReg identifies a global register in the STG machine, a GlobalRegUse also contains information about the type we are storing in the register.

See Note [GlobalReg vs GlobalRegUse] for more information.

Constructors

Instances6Eq, Ord, Show, Outputable, DefinerOfRegs, UserOfRegs