ghc-6.12.3: The GHC APISource codeContentsIndex
PPC.Regs
Synopsis
virtualRegSqueeze :: RegClass -> VirtualReg -> FastInt
realRegSqueeze :: RegClass -> RealReg -> FastInt
mkVirtualReg :: Unique -> Size -> VirtualReg
regDotColor :: RealReg -> SDoc
data Imm
= ImmInt Int
| ImmInteger Integer
| ImmCLbl CLabel
| ImmLit Doc
| ImmIndex CLabel Int
| ImmFloat Rational
| ImmDouble Rational
| ImmConstantSum Imm Imm
| ImmConstantDiff Imm Imm
| LO Imm
| HI Imm
| HA Imm
strImmLit :: String -> Imm
litToImm :: CmmLit -> Imm
data AddrMode
= AddrRegReg Reg Reg
| AddrRegImm Reg Imm
addrOffset :: AddrMode -> Int -> Maybe AddrMode
spRel :: Int -> AddrMode
argRegs :: RegNo -> [Reg]
allArgRegs :: [Reg]
callClobberedRegs :: [Reg]
allMachRegNos :: [RegNo]
classOfRealReg :: RealReg -> RegClass
showReg :: RegNo -> String
allFPArgRegs :: [Reg]
fits16Bits :: Integral a => a -> Bool
makeImmediate :: Integral a => Width -> Bool -> a -> Maybe Imm
fReg :: Int -> RegNo
sp :: Reg
r3 :: Reg
r4 :: Reg
r27 :: Reg
r28 :: Reg
f1 :: Reg
f20 :: Reg
f21 :: Reg
freeReg :: RegNo -> FastBool
globalRegMaybe :: GlobalReg -> Maybe Reg
get_GlobalReg_reg_or_addr :: GlobalReg -> Either Reg CmmExpr
allocatableRegs :: [RealReg]
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.
realRegSqueeze :: RegClass -> RealReg -> FastIntSource
mkVirtualReg :: Unique -> Size -> VirtualRegSource
regDotColor :: RealReg -> SDocSource
data Imm Source
Constructors
ImmInt Int
ImmInteger Integer
ImmCLbl CLabel
ImmLit Doc
ImmIndex CLabel Int
ImmFloat Rational
ImmDouble Rational
ImmConstantSum Imm Imm
ImmConstantDiff Imm Imm
LO Imm
HI Imm
HA Imm
strImmLit :: String -> ImmSource
litToImm :: CmmLit -> ImmSource
data AddrMode Source
Constructors
AddrRegReg Reg Reg
AddrRegImm Reg Imm
addrOffset :: AddrMode -> Int -> Maybe AddrModeSource
spRel :: Int -> AddrModeSource
argRegs :: RegNo -> [Reg]Source
allArgRegs :: [Reg]Source
callClobberedRegs :: [Reg]Source
allMachRegNos :: [RegNo]Source
classOfRealReg :: RealReg -> RegClassSource
showReg :: RegNo -> StringSource
allFPArgRegs :: [Reg]Source
fits16Bits :: Integral a => a -> BoolSource
makeImmediate :: Integral a => Width -> Bool -> a -> Maybe ImmSource
fReg :: Int -> RegNoSource
sp :: RegSource
r3 :: RegSource
r4 :: RegSource
r27 :: RegSource
r28 :: RegSource
f1 :: RegSource
f20 :: RegSource
f21 :: RegSource
freeReg :: RegNo -> FastBoolSource
globalRegMaybe :: GlobalReg -> Maybe RegSource
get_GlobalReg_reg_or_addr :: GlobalReg -> Either Reg CmmExprSource
allocatableRegs :: [RealReg]Source
Produced by Haddock version 2.6.1