ghc-7.6.1: The GHC API

Safe HaskellNone

SPARC.Ppr

Synopsis

Documentation

pprSectionHeader :: Section -> SDoc

Pretty print a section / segment header. On SPARC all the data sections must be at least 8 byte aligned incase we store doubles in them.

pprInstr :: Platform -> Instr -> SDoc

Pretty print an instruction.

pprSize :: Size -> SDoc

Pretty print a size for an instruction suffix.

pprImm :: Platform -> Imm -> SDoc

Pretty print an immediate value.

pprDataItem :: Platform -> CmmLit -> SDoc

Pretty print a data item.