ghc-lib-0.20201201: The GHC API, decoupled from GHC versions
Safe HaskellNone
LanguageHaskell2010

GHC.CmmToAsm.SPARC.Ppr

Synopsis

Documentation

pprBasicBlock :: Platform -> LabelMap RawCmmStatics -> NatBasicBlock Instr -> SDoc Source #

pprData :: Platform -> CmmStatic -> SDoc Source #

pprInstr :: Platform -> Instr -> SDoc Source #

Pretty print an instruction.

pprFormat :: Format -> SDoc Source #

Pretty print a format for an instruction suffix.

pprImm :: Platform -> Imm -> SDoc Source #

Pretty print an immediate value.

pprDataItem :: Platform -> CmmLit -> SDoc Source #

Pretty print a data item.

Orphan instances

OutputableP Platform Instr Source # 
Instance details

Methods

pdoc :: Platform -> Instr -> SDoc