ghc-9.12: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Platform.Reg.Class.Unified

Description

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

Synopsis

Documentation

data RegClass where Source #

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

Bundled Patterns

pattern RcInteger :: RegClass 
pattern RcFloatOrVector :: RegClass 

Instances

Instances details
Uniquable RegClass Source # 
Instance details

Defined in GHC.Platform.Reg.Class

Outputable RegClass Source #

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

Instance details

Defined in GHC.Platform.Reg.Class

Methods

ppr :: RegClass -> SDoc Source #

Show RegClass Source # 
Instance details

Defined in GHC.Platform.Reg.Class

Eq RegClass Source # 
Instance details

Defined in GHC.Platform.Reg.Class

Ord RegClass Source # 
Instance details

Defined in GHC.Platform.Reg.Class