ghc-7.10.0.20150123: The GHC API

Safe HaskellNone
LanguageHaskell2010

SPARC.Ppr

Synopsis

Documentation

pprSectionHeader :: Section -> SDoc Source

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 -> SDoc Source

Pretty print an instruction.

pprSize :: Size -> SDoc Source

Pretty print a size for an instruction suffix.

pprImm :: Imm -> SDoc Source

Pretty print an immediate value.

pprDataItem :: CmmLit -> SDoc Source

Pretty print a data item.