HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleghc-9.10.3GHC2021

GHC.CmmToAsm.X86.Instr

  • 5 types
  • 22 values
  • Packageghc-9.10.3
  • Exports27
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceInstr.hs
datadata Instr
#

Constructors

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

    Instruction instance for x86 instruction set.

Check whether an instruction represents a reg-reg move. The register allocator attempts to eliminate reg->reg moves whenever it can, by assigning the src and dest temporaries to the same real register.

valuepatchRegsOfInstr :: Instr -> (Reg -> Reg) -> Instr
#

Applies the supplied function to all registers in instructions. Typically used to change virtual registers to real registers.