Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- virtualRegSqueeze :: RegClass -> VirtualReg -> Int
- realRegSqueeze :: RegClass -> RealReg -> Int
- mkVirtualReg :: Unique -> Format -> VirtualReg
- regDotColor :: RealReg -> SDoc
- data Imm
- strImmLit :: String -> Imm
- litToImm :: CmmLit -> Imm
- data AddrMode
- = AddrRegReg Reg Reg
- | AddrRegImm Reg Imm
- addrOffset :: AddrMode -> Int -> Maybe AddrMode
- spRel :: DynFlags -> Int -> AddrMode
- argRegs :: RegNo -> [Reg]
- allArgRegs :: [Reg]
- callClobberedRegs :: Platform -> [Reg]
- allMachRegNos :: [RegNo]
- classOfRealReg :: RealReg -> RegClass
- showReg :: RegNo -> String
- allFPArgRegs :: Platform -> [Reg]
- fits16Bits :: Integral a => a -> Bool
- makeImmediate :: Integral a => Width -> Bool -> a -> Maybe Imm
- fReg :: Int -> RegNo
- r0 :: Reg
- sp :: Reg
- toc :: Reg
- r3 :: Reg
- r4 :: Reg
- r11 :: Reg
- r12 :: Reg
- r27 :: Reg
- r28 :: Reg
- r30 :: Reg
- tmpReg :: Platform -> Reg
- f1 :: Reg
- f20 :: Reg
- f21 :: Reg
- allocatableRegs :: Platform -> [RealReg]
Documentation
virtualRegSqueeze :: RegClass -> VirtualReg -> Int Source #
regSqueeze_class reg Calculate the maximum number of register colors that could be denied to a node of this class due to having this reg as a neighbour.
mkVirtualReg :: Unique -> Format -> VirtualReg Source #
regDotColor :: RealReg -> SDoc Source #
allArgRegs :: [Reg] Source #
callClobberedRegs :: Platform -> [Reg] Source #
allMachRegNos :: [RegNo] Source #
classOfRealReg :: RealReg -> RegClass Source #
allFPArgRegs :: Platform -> [Reg] Source #
fits16Bits :: Integral a => a -> Bool Source #
allocatableRegs :: Platform -> [RealReg] Source #