SPARC.ShortcutJump

ghc-8.10.7: The GHC API

Safe Haskell | None
Language | Haskell2010

SPARC.ShortcutJump

# Documentation

data JumpDest #

Constructors

DestBlockId BlockId |
DestImm Imm |

#### Instances

Instances details

Outputable JumpDest # |
Instance details Defined in SPARC.ShortcutJump Methods ppr :: JumpDest -> SDoc # pprPrec :: Rational -> JumpDest -> SDoc #

getJumpDestBlockId :: JumpDest -> Maybe BlockId #

canShortcut :: Instr -> Maybe JumpDest #

shortcutJump :: (BlockId -> Maybe JumpDest) -> Instr -> Instr #

shortcutStatics :: (BlockId -> Maybe JumpDest) -> CmmStatics -> CmmStatics #

shortBlockId :: (BlockId -> Maybe JumpDest) -> BlockId -> CLabel #