ghc-7.4.2: The GHC API

Safe Haskell | None

SPARC.Ppr

Synopsis

- pprNatCmmDecl :: Platform -> NatCmmDecl CmmStatics Instr -> Doc
- pprBasicBlock :: Platform -> NatBasicBlock Instr -> Doc
- pprSectionHeader :: Section -> Doc
- pprData :: Platform -> CmmStatic -> Doc
- pprInstr :: Platform -> Instr -> Doc
- pprSize :: Size -> Doc
- pprImm :: Platform -> Imm -> Doc
- pprDataItem :: Platform -> CmmLit -> Doc

# Documentation

pprNatCmmDecl :: Platform -> NatCmmDecl CmmStatics Instr -> Doc

pprBasicBlock :: Platform -> NatBasicBlock Instr -> Doc

pprSectionHeader :: Section -> Doc

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.

pprData :: Platform -> CmmStatic -> Doc

pprInstr :: Platform -> Instr -> Doc

Pretty print an instruction.

pprSize :: Size -> Doc

Pretty print a size for an instruction suffix.

pprImm :: Platform -> Imm -> Doc

Pretty print an immediate value.

pprDataItem :: Platform -> CmmLit -> Doc

Pretty print a data item.