ghc-7.0.1: The GHC API

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

Pretty print an instruction.

pprUserReg :: Reg -> DocSource

Pretty print a register. This is an alias of pprReg for legacy reasons, should remove it.

pprSize :: Size -> DocSource

Pretty print a size for an instruction suffix.

pprImm :: Imm -> DocSource

Pretty print an immediate value.

pprDataItem :: CmmLit -> DocSource

Pretty print a data item.