ghc-7.4.2: The GHC API

Safe HaskellNone

SPARC.Ppr

Synopsis

Documentation

pprSectionHeader :: Section -> DocSource

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

Pretty print an instruction.

pprSize :: Size -> DocSource

Pretty print a size for an instruction suffix.

pprImm :: Platform -> Imm -> DocSource

Pretty print an immediate value.

pprDataItem :: Platform -> CmmLit -> DocSource

Pretty print a data item.