SPARC.Ppr

ghc-7.8.2: The GHC API

Safe Haskell | None
Language | Haskell98

SPARC.Ppr

Synopsis

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

# Documentation

pprNatCmmDecl :: NatCmmDecl CmmStatics Instr -> SDoc Source

pprBasicBlock :: BlockEnv CmmStatics -> NatBasicBlock Instr -> SDoc Source

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.

pprData :: CmmStatic -> SDoc Source

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.