ghc-8.2.2: The GHC API

Safe Haskell | None
Language | Haskell2010

RegAlloc.Linear.FreeRegs

# Documentation

class Show freeRegs => FR freeRegs where #

Minimal complete definition

frAllocateReg, frGetFreeRegs, frInitFreeRegs, frReleaseReg

Methods

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

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

frInitFreeRegs :: Platform -> freeRegs #

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

Instances

FR FreeRegs # |
Methods frAllocateReg :: Platform -> RealReg -> FreeRegs -> FreeRegs # frGetFreeRegs :: Platform -> RegClass -> FreeRegs -> [RealReg] # frInitFreeRegs :: Platform -> FreeRegs # frReleaseReg :: Platform -> RealReg -> FreeRegs -> FreeRegs #
FR FreeRegs # |
Methods frAllocateReg :: Platform -> RealReg -> FreeRegs -> FreeRegs # frGetFreeRegs :: Platform -> RegClass -> FreeRegs -> [RealReg] # frInitFreeRegs :: Platform -> FreeRegs # frReleaseReg :: Platform -> RealReg -> FreeRegs -> FreeRegs #
FR FreeRegs # |
Methods frAllocateReg :: Platform -> RealReg -> FreeRegs -> FreeRegs # frGetFreeRegs :: Platform -> RegClass -> FreeRegs -> [RealReg] # frInitFreeRegs :: Platform -> FreeRegs # frReleaseReg :: Platform -> RealReg -> FreeRegs -> FreeRegs #
FR FreeRegs # |
Methods frAllocateReg :: Platform -> RealReg -> FreeRegs -> FreeRegs # frGetFreeRegs :: Platform -> RegClass -> FreeRegs -> [RealReg] # frInitFreeRegs :: Platform -> FreeRegs # frReleaseReg :: Platform -> RealReg -> FreeRegs -> FreeRegs #

maxSpillSlots :: DynFlags -> Int #