Determine the class of a register
Moduleghc-10.0.0.20260917GHC2024
GHC.CmmToAsm.Reg.Graph.X86
A description of the register set of the X86.
This isn't used directly in GHC proper.
See RegArchBase.hs for the reference. See MachRegs.hs for the actual trivColorable function used in GHC.
Synopsis
- value classOfReg
- value regsOfClass
- value regName
- value regAlias
- value worst
- value squeese
- Packageghc-10.0.0.20260917
- Exports6
- LanguageGHC2024
- LicenceBSD-3-Clause
- SourceX86.hs
Determine all the regs that make up a certain class.
Determine the common name of a reg returns Nothing if this reg is not part of the machine.
Which regs alias what other regs.
Optimised versions of RegColorBase.{worst, squeese} specific to x86