ghc-6.12.2: The GHC APISource codeContentsIndex
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.

Synopsis
classOfReg :: Reg -> RegClass
regsOfClass :: RegClass -> UniqSet Reg
regName :: Reg -> Maybe String
regAlias :: Reg -> UniqSet Reg
worst :: Int -> RegClass -> RegClass -> Int
squeese :: RegClass -> [(Int, RegClass)] -> Int
Documentation
classOfReg :: Reg -> RegClassSource
Determine the class of a register
regsOfClass :: RegClass -> UniqSet RegSource
Determine all the regs that make up a certain class.
regName :: Reg -> Maybe StringSource
Determine the common name of a reg returns Nothing if this reg is not part of the machine.
regAlias :: Reg -> UniqSet RegSource
Which regs alias what other regs
worst :: Int -> RegClass -> RegClass -> IntSource
Optimised versions of RegColorBase.{worst, squeese} specific to x86
squeese :: RegClass -> [(Int, RegClass)] -> IntSource
Produced by Haddock version 2.6.1