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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleghc-10.0.0.20260917GHC2024

GHC.Platform.Reg.Class.Separate

Register classes for architectures which have registers for scalar floating-point values that are separate from all 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, Outputable, Uniquable
  • Eq RegClassDefined in ghc-10.0.0.20260917 · GHC.Platform.Reg.Class
  • Ord RegClassDefined in ghc-10.0.0.20260917 · GHC.Platform.Reg.Class
  • Show RegClassDefined in ghc-10.0.0.20260917 · GHC.Platform.Reg.Class
  • Outputable RegClassDefined in ghc-10.0.0.20260917 · 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.

  • Uniquable RegClassDefined in ghc-10.0.0.20260917 · GHC.Platform.Reg.Class