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

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Moduleghc-9.14.1GHC2021

GHC.CmmToAsm.Reg.Linear.RV64

Functions to implement the FR (as in "free regs") type class.

For LLVM GHC calling convention (used registers), see https://github.com/llvm/llvm-project/blob/6ab900f8746e7d8e24afafb5886a40801f6799f4/llvm/lib/Target/RISCV/RISCVISelLowering.cpp#L13638-L13685

  • 1 type
  • 4 values
  • Packageghc-9.14.1
  • Exports5
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceRV64.hs
datadata FreeRegs
#

Bitmaps to indicate which registers are free (currently unused)

The bit index represents the RegNo, in case of floating point registers with an offset of 32. The register is free when the bit is set.

Constructors

Instances3Show, Outputable, FR
  • Show FreeRegsDefined in ghc-9.14.1 · GHC.CmmToAsm.Reg.Linear.RV64
  • Outputable FreeRegsDefined in ghc-9.14.1 · GHC.CmmToAsm.Reg.Linear.RV64
  • FR FreeRegsDefined in ghc-9.14.1 · GHC.CmmToAsm.Reg.Linear.FreeRegs