GHC.CmmToAsm.Reg.Linear.FreeRegs

ghc-9.0.0.20201227: The GHC API

Safe Haskell | None
Language | Haskell2010

GHC.CmmToAsm.Reg.Linear.FreeRegs

# Documentation

class Show freeRegs => FR freeRegs where Source #

Methods

frAllocateReg :: Platform -> RealReg -> freeRegs -> freeRegs Source #

frGetFreeRegs :: Platform -> RegClass -> freeRegs -> [RealReg] Source #

frInitFreeRegs :: Platform -> freeRegs Source #

frReleaseReg :: Platform -> RealReg -> freeRegs -> freeRegs Source #

#### Instances

Instances details

FR FreeRegs # |
Instance details Defined in GHC.CmmToAsm.Reg.Linear.FreeRegs Methods frAllocateReg :: Platform -> RealReg -> FreeRegs -> FreeRegs Source # frGetFreeRegs :: Platform -> RegClass -> FreeRegs -> [RealReg] Source # frInitFreeRegs :: Platform -> FreeRegs Source # frReleaseReg :: Platform -> RealReg -> FreeRegs -> FreeRegs Source #
FR FreeRegs # |
Instance details Defined in GHC.CmmToAsm.Reg.Linear.FreeRegs Methods frAllocateReg :: Platform -> RealReg -> FreeRegs -> FreeRegs Source # frGetFreeRegs :: Platform -> RegClass -> FreeRegs -> [RealReg] Source # frInitFreeRegs :: Platform -> FreeRegs Source # frReleaseReg :: Platform -> RealReg -> FreeRegs -> FreeRegs Source #
FR FreeRegs # |
Instance details Defined in GHC.CmmToAsm.Reg.Linear.FreeRegs Methods frAllocateReg :: Platform -> RealReg -> FreeRegs -> FreeRegs Source # frGetFreeRegs :: Platform -> RegClass -> FreeRegs -> [RealReg] Source # frInitFreeRegs :: Platform -> FreeRegs Source # frReleaseReg :: Platform -> RealReg -> FreeRegs -> FreeRegs Source #
FR FreeRegs # |
Instance details Defined in GHC.CmmToAsm.Reg.Linear.FreeRegs Methods frAllocateReg :: Platform -> RealReg -> FreeRegs -> FreeRegs Source # frGetFreeRegs :: Platform -> RegClass -> FreeRegs -> [RealReg] Source # frInitFreeRegs :: Platform -> FreeRegs Source # frReleaseReg :: Platform -> RealReg -> FreeRegs -> FreeRegs Source #

maxSpillSlots :: NCGConfig -> Int Source #