HORIZON HASKELLDocslts/ghc-9.14.xb2f3bfd2026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11

Moduleghc-lib-parser-9.14.1.20251220GHC2021

GHC.Platform.Reg.Class.Unified

Register classes for architectures which don't have separate registers for scalar floating-point values separate from vector registers.

  • 1 type
  • 2 values
newtypenewtype RegClass
#

The class of a register. Used in the register allocator. We treat all registers in a class as being interchangeable.

Instances5Eq, Ord, Show, Uniquable, Outputable
  • Eq RegClassDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Platform.Reg.Class
  • Ord RegClassDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Platform.Reg.Class
  • Show RegClassDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Platform.Reg.Class
  • Uniquable RegClassDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Platform.Reg.Class
  • Outputable RegClassDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Platform.Reg.Class

    This instance is just used for the graph colouring register allocator. Prefer using either pprRegClass or pprRegClass, which is more informative.