|
RegAlloc.Linear.SPARC.FreeRegs |
|
|
Description |
Free regs map for SPARC
|
|
Synopsis |
|
|
|
Documentation |
|
data FreeRegs |
|
|
noFreeRegs :: FreeRegs |
A reg map where no regs are free to be allocated.
|
|
initFreeRegs :: FreeRegs |
The initial set of free regs.
|
|
getFreeRegs :: RegClass -> FreeRegs -> [RealReg] |
Get all the free registers of this class.
|
|
allocateReg :: RealReg -> FreeRegs -> FreeRegs |
Grab a register.
|
|
releaseReg :: RealReg -> FreeRegs -> FreeRegs |
Release a register from allocation.
The register liveness information says that most regs die after a C call,
but we still don't want to allocate to some of them.
|
|
bitMask :: Int -> Word32 |
|
showFreeRegs :: FreeRegs -> String |
|
Produced by Haddock version 2.6.1 |