ghc-7.7.20130829: The GHC API

Safe HaskellNone

SPARC.Regs

Synopsis

Documentation

showReg :: RegNo -> StringSource

Get the standard name for the register with this number.

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.

allRealRegs :: [RealReg]Source

All the allocatable registers in the machine, including register pairs.

gReg :: Int -> RegNoSource

Get the regno for this sort of reg

iReg :: Int -> RegNoSource

Get the regno for this sort of reg

lReg :: Int -> RegNoSource

Get the regno for this sort of reg

oReg :: Int -> RegNoSource

Get the regno for this sort of reg

fReg :: Int -> RegNoSource

Get the regno for this sort of reg

fp :: RegSource

Some specific regs used by the code generator.

sp :: RegSource

Some specific regs used by the code generator.

g0 :: RegSource

Some specific regs used by the code generator.

g1 :: RegSource

Some specific regs used by the code generator.

g2 :: RegSource

Some specific regs used by the code generator.

o0 :: RegSource

Some specific regs used by the code generator.

o1 :: RegSource

Some specific regs used by the code generator.

f0 :: RegSource

Some specific regs used by the code generator.

f1 :: RegSource

Some specific regs used by the code generator.

f6 :: RegSource

Some specific regs used by the code generator.

f8 :: RegSource

Some specific regs used by the code generator.

f22 :: RegSource

Some specific regs used by the code generator.

f26 :: RegSource

Some specific regs used by the code generator.

f27 :: RegSource

Some specific regs used by the code generator.

allocatableRegs :: [RealReg]Source

Produce the second-half-of-a-double register given the first half.

All the regs that the register allocator can allocate to, with the the fixed use regs removed.

argRegs :: RegNo -> [Reg]Source

The registers to place arguments for function calls, for some number of arguments.

allArgRegs :: [Reg]Source

All all the regs that could possibly be returned by argRegs

mkVirtualReg :: Unique -> Size -> VirtualRegSource

Make a virtual reg with this size.