SPARC.ShortcutJump
data JumpDest Source #
Constructors
Defined in SPARC.ShortcutJump
Methods
ppr :: JumpDest -> SDoc #
pprPrec :: Rational -> JumpDest -> SDoc #
getJumpDestBlockId :: JumpDest -> Maybe BlockId Source #
canShortcut :: Instr -> Maybe JumpDest Source #
shortcutJump :: (BlockId -> Maybe JumpDest) -> Instr -> Instr Source #
shortcutStatics :: (BlockId -> Maybe JumpDest) -> CmmStatics -> CmmStatics Source #
shortBlockId :: (BlockId -> Maybe JumpDest) -> BlockId -> CLabel Source #