ghc-7.2.2: The GHC API

X86.Regs

Synopsis

Documentation

virtualRegSqueeze :: RegClass -> VirtualReg -> FastIntSource

regSqueeze_class reg Calculuate the maximum number of register colors that could be denied to a node of this class due to having this reg as a neighbour.

data AddrMode Source

Constructors

AddrBaseIndex EABase EAIndex Displacement 
ImmAddr Imm Int 

spRelSource

Arguments

:: Int

desired stack offset in words, positive or negative

-> AddrMode 

allMachRegNos :: [RegNo]Source

The complete set of machine registers.

classOfRealReg :: RealReg -> RegClassSource

Take the class of a register.

showReg :: RegNo -> StringSource

Get the name of the register with this number.

ripRel :: Displacement -> AddrModeSource

allocatableRegs :: [RealReg]Source

these are the regs which we cannot assume stay alive over a C call.