ghc-7.6.1.20121122: The GHC API

Safe HaskellNone

SPARC.Ppr

Synopsis

Documentation

pprSectionHeader :: Section -> SDocSource

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 -> SDocSource

Pretty print an instruction.

pprSize :: Size -> SDocSource

Pretty print a size for an instruction suffix.

pprImm :: Platform -> Imm -> SDocSource

Pretty print an immediate value.

pprDataItem :: Platform -> CmmLit -> SDocSource

Pretty print a data item.