Safe Haskell | Safe-Infered |
---|
LlvmCodeGen.Ppr
Description
Pretty print helpers for the LLVM Code generator.
- pprLlvmHeader :: Doc
- pprLlvmCmmDecl :: LlvmEnv -> Int -> LlvmCmmDecl -> (Doc, [LlvmVar])
- pprLlvmData :: LlvmData -> Doc
- infoSection :: String
- iTableSuf :: String
Documentation
Header code for LLVM modules
pprLlvmCmmDecl :: LlvmEnv -> Int -> LlvmCmmDecl -> (Doc, [LlvmVar])Source
Pretty print LLVM code
pprLlvmData :: LlvmData -> DocSource
Pretty print LLVM data code
The section we are putting info tables and their entry code into, should be unique since we process the assembly pattern matching this.