ghc-9.10.3: The GHC API

Safe Haskell | None
Language | GHC2021

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 Source # |
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 Source # |
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 Source # |
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 Source # |
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 #