HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Moduleghc-10.0.0.20260917GHC2024

GHC.CmmToAsm.Reg.Regs

  • 1 type
  • 13 values
newtypenewtype Regs
#

A set of registers, with their respective formats, mostly for use in register liveness analysis. See Note [Register formats in liveness analysis] in GHC.CmmToAsm.Reg.Liveness.

Instances2Eq, Outputable
  • Eq RegsDefined in ghc-10.0.0.20260917 · GHC.CmmToAsm.Reg.Regs
  • Outputable RegsDefined in ghc-10.0.0.20260917 · GHC.CmmToAsm.Reg.Regs
valueminusCoveredRegs :: Regs -> Regs -> Regs
#

Remove 2nd argument registers from the 1st argument, but only if the format in the second argument is at least as large as the format in the first argument.

valueshrinkingRegs :: Regs -> Regs -> Regs
#

Computes the set of registers in both arguments whose size is smaller in the second argument than in the first.

valuemapRegs :: (Reg -> Reg) -> Regs -> Regs
#

Map a function that may change the Unique of the register, which entails going via lists.

See Note [UniqSet invariant] in GHC.Types.Unique.Set.