SPARC.Ppr

ghc-7.6.3: The GHC API

Safe Haskell | None

SPARC.Ppr

Synopsis

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

# Documentation

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

pprBasicBlock :: Platform -> NatBasicBlock Instr -> SDoc

pprSectionHeader :: Section -> SDoc

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

pprInstr :: Platform -> Instr -> SDoc

Pretty print an instruction.

pprSize :: Size -> SDoc

Pretty print a size for an instruction suffix.

pprImm :: Platform -> Imm -> SDoc

Pretty print an immediate value.

pprDataItem :: Platform -> CmmLit -> SDoc

Pretty print a data item.