Safe Haskell | None |
---|---|
Language | GHC2021 |
Register classes for architectures which don't have separate registers for scalar floating-point values separate from vector registers.
Synopsis
- data RegClass where
- pattern RcInteger :: RegClass
- pattern RcFloatOrVector :: RegClass
- pprRegClass :: RegClass -> SDoc
- allRegClasses :: [RegClass]
Documentation
The class of a register. Used in the register allocator. We treat all registers in a class as being interchangeable.
pattern RcInteger :: RegClass | |
pattern RcFloatOrVector :: RegClass |
Instances
Uniquable RegClass Source # | |
Outputable RegClass Source # | This instance is just used for the graph colouring register allocator.
Prefer using either |
Show RegClass Source # | |
Eq RegClass Source # | |
Ord RegClass Source # | |
Defined in GHC.Platform.Reg.Class |
pprRegClass :: RegClass -> SDoc Source #
allRegClasses :: [RegClass] Source #