ghc-9.13: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.CmmToAsm.AArch64.CodeGen

Synopsis

Documentation

generateJumpTableForInstr :: NCGConfig -> Instr -> Maybe (NatCmmDecl RawCmmStatics Instr) Source #

Generate jump table data (if required)

The idea is to emit one table entry per case. The entry is the relative address of the block to jump to (relative to the table's first entry / table's own label.) The calculation itself is done by the linker.