Safe Haskell | Ignore |
---|---|
Language | GHC2021 |
Synopsis
- allMachRegNos :: [RegNo]
- allocatableRegs :: Platform -> [RealReg]
- allGpArgRegs :: [Reg]
- allFpArgRegs :: [Reg]
- data AddrMode
- = AddrRegReg Reg Reg
- | AddrRegImm Reg Imm
- | AddrReg Reg
- data Imm
- strImmLit :: FastString -> Imm
- litToImm :: CmmLit -> Imm
- virtualRegSqueeze :: RegClass -> VirtualReg -> Int
- realRegSqueeze :: RegClass -> RealReg -> Int
- mkVirtualReg :: Unique -> Format -> VirtualReg
- classOfRealReg :: RealReg -> RegClass
- fmtOfRealReg :: RealReg -> Format
- regDotColor :: RealReg -> SDoc
Documentation
allMachRegNos :: [RegNo] Source #
allocatableRegs :: Platform -> [RealReg] Source #
allGpArgRegs :: [Reg] Source #
allFpArgRegs :: [Reg] Source #
Instances
strImmLit :: FastString -> Imm Source #
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 #
classOfRealReg :: RealReg -> RegClass Source #
fmtOfRealReg :: RealReg -> Format Source #
regDotColor :: RealReg -> SDoc Source #