HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleghc-9.10.3GHC2021

GHC.CmmToAsm.PPC.Instr

  • 2 types
  • 20 values
  • Packageghc-9.10.3
  • Exports22
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceInstr.hs
datadata Instr
#

Constructors

Instances1Instruction
  • Instruction InstrDefined in ghc-9.10.3 · GHC.CmmToAsm.PPC · orphan

    Instruction instance for powerpc

valuejumpDestsOfInstr :: Instr -> [BlockId]
#

Checks whether this instruction is a jump/branch instruction. One that can change the flow of control in a way that the register allocator needs to worry about.

Get the registers that are being used by this instruction. regUsage doesn't need to do any trickery for jumps and such. Just state precisely the regs read and written by that insn. The consequences of control flow transfers, as far as register allocation goes, are taken care of by the register allocator.

valueisJumpishInstr :: Instr -> Bool
#

Checks whether this instruction is a jump/branch instruction. One that can change the flow of control in a way that the register allocator needs to worry about.