ghc-6.12.3: The GHC APISource codeContentsIndex
SPARC.Regs
Synopsis
showReg :: RegNo -> String
virtualRegSqueeze :: RegClass -> VirtualReg -> FastInt
realRegSqueeze :: RegClass -> RealReg -> FastInt
classOfRealReg :: RealReg -> RegClass
allRealRegs :: [RealReg]
gReg :: Int -> RegNo
iReg :: Int -> RegNo
lReg :: Int -> RegNo
oReg :: Int -> RegNo
fReg :: Int -> RegNo
fp :: Reg
sp :: Reg
g0 :: Reg
g1 :: Reg
g2 :: Reg
o0 :: Reg
o1 :: Reg
f0 :: Reg
f1 :: Reg
f6 :: Reg
f8 :: Reg
f22 :: Reg
f26 :: Reg
f27 :: Reg
allocatableRegs :: [RealReg]
get_GlobalReg_reg_or_addr :: GlobalReg -> Either RealReg CmmExpr
argRegs :: RegNo -> [Reg]
allArgRegs :: [Reg]
callClobberedRegs :: [Reg]
mkVirtualReg :: Unique -> Size -> VirtualReg
regDotColor :: RealReg -> SDoc
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.
realRegSqueeze :: RegClass -> RealReg -> FastIntSource
classOfRealReg :: RealReg -> RegClassSource
allRealRegs :: [RealReg]Source
All the allocatable registers in the machine, including register pairs.
gReg :: Int -> RegNoSource
iReg :: Int -> RegNoSource
lReg :: Int -> RegNoSource
Get the regno for this sort of reg
oReg :: Int -> RegNoSource
fReg :: Int -> RegNoSource
fp :: RegSource
sp :: RegSource
g0 :: RegSource
g1 :: RegSource
Some specific regs used by the code generator.
g2 :: RegSource
o0 :: RegSource
o1 :: RegSource
f0 :: RegSource
f1 :: RegSource
f6 :: RegSource
f8 :: RegSource
f22 :: RegSource
f26 :: RegSource
f27 :: RegSource
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.

get_GlobalReg_reg_or_addr :: GlobalReg -> Either RealReg CmmExprSource
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
callClobberedRegs :: [Reg]Source
mkVirtualReg :: Unique -> Size -> VirtualRegSource
Make a virtual reg with this size.
regDotColor :: RealReg -> SDocSource
Produced by Haddock version 2.6.1