Safe Haskell | None |
---|
Pretty print helpers for the LLVM Code generator.
- pprLlvmHeader :: SDoc
- pprLlvmCmmDecl :: Int -> LlvmCmmDecl -> LlvmM (SDoc, [LlvmVar])
- pprLlvmData :: LlvmData -> SDoc
- infoSection :: String
- iTableSuf :: String
Documentation
Header code for LLVM modules
pprLlvmCmmDecl :: Int -> LlvmCmmDecl -> LlvmM (SDoc, [LlvmVar])Source
Pretty print LLVM code
pprLlvmData :: LlvmData -> SDocSource
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.