ghc-lib-0.20210331: The GHC API, decoupled from GHC versions
Safe HaskellNone
LanguageHaskell2010

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 #