Safe Haskell | None |
---|---|
Language | Haskell2010 |
RegAlloc.Graph.ArchX86
Description
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.
Documentation
classOfReg :: Reg -> RegClass
Determine the class of a register
regsOfClass :: RegClass -> UniqSet Reg
Determine all the regs that make up a certain class.
regName :: Reg -> Maybe String
Determine the common name of a reg returns Nothing if this reg is not part of the machine.