ghc-7.7.20130829: The GHC API

Safe HaskellNone



Pretty print helpers for the LLVM Code generator.



pprLlvmHeader :: SDocSource

Header code for LLVM modules

pprLlvmCmmDecl :: Int -> LlvmCmmDecl -> LlvmM (SDoc, [LlvmVar])Source

Pretty print LLVM code

pprLlvmData :: LlvmData -> SDocSource

Pretty print LLVM data code

infoSection :: StringSource

The section we are putting info tables and their entry code into, should be unique since we process the assembly pattern matching this.

iTableSuf :: StringSource

We generate labels for info tables by converting them to the same label as for the entry code but adding this string as a suffix.