ghc-7.0.2: The GHC API



Pretty print helpers for the LLVM Code generator.



pprLlvmHeader :: DocSource

Header code for LLVM modules

pprLlvmCmmTop :: LlvmEnv -> Int -> LlvmCmmTop -> (Doc, [LlvmVar])Source

Pretty print LLVM code

pprLlvmData :: LlvmData -> DocSource

Pretty print LLVM data code

infoSection :: StringSource

The section we are putting info tables and their entry code into

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.