Safe Haskell | None |
---|---|
Language | Haskell2010 |
RegAlloc.Linear.SPARC.FreeRegs
Description
Free regs map for SPARC
Synopsis
- data FreeRegs = FreeRegs !Word32 !Word32 !Word32
- noFreeRegs :: FreeRegs
- noFreeRegs :: FreeRegs
- initFreeRegs :: Platform -> FreeRegs
- initFreeRegs :: Platform -> FreeRegs
- getFreeRegs :: RegClass -> FreeRegs -> [RealReg]
- getFreeRegs :: RegClass -> FreeRegs -> [RealReg]
- allocateReg :: Platform -> RealReg -> FreeRegs -> FreeRegs
- allocateReg :: Platform -> RealReg -> FreeRegs -> FreeRegs
- releaseReg :: Platform -> RealReg -> FreeRegs -> FreeRegs
- releaseReg :: Platform -> RealReg -> FreeRegs -> FreeRegs
- bitMask :: Int -> Word32
- bitMask :: Int -> Word32
- showFreeRegs :: FreeRegs -> String
- showFreeRegs :: FreeRegs -> String
Documentation
noFreeRegs :: FreeRegs Source #
A reg map where no regs are free to be allocated.
noFreeRegs :: FreeRegs Source #
A reg map where no regs are free to be allocated.
initFreeRegs :: Platform -> FreeRegs Source #
The initial set of free regs.
initFreeRegs :: Platform -> FreeRegs Source #
The initial set of free regs.
releaseReg :: Platform -> RealReg -> FreeRegs -> FreeRegs Source #
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.
releaseReg :: Platform -> RealReg -> FreeRegs -> FreeRegs Source #
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.
showFreeRegs :: FreeRegs -> String Source #
showFreeRegs :: FreeRegs -> String Source #