ghc-9.12: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.CmmToAsm.RV64.RegInfo

Description

Minimum viable implementation of jump short-cutting: No short-cutting.

The functions here simply implement the no-short-cutting case. Implementing the real behaviour would be a great optimization in future.

Synopsis

Documentation

getJumpDestBlockId :: JumpDest -> Maybe BlockId Source #

Extract BlockId

Never Nothing for Riscv64 NCG.

newtype JumpDest Source #

Constructors

DestBlockId BlockId 

Instances

Instances details
Outputable JumpDest Source # 
Instance details

Defined in GHC.CmmToAsm.RV64.RegInfo

Methods

ppr :: JumpDest -> SDoc Source #