LlvmCodeGen.Ppr

ghc-8.10.1: The GHC API

Safe Haskell | None
Language | Haskell2010

LlvmCodeGen.Ppr

Description

Pretty print helpers for the LLVM Code generator.

Synopsis

- pprLlvmCmmDecl :: LlvmCmmDecl -> LlvmM (SDoc, [LlvmVar])
- pprLlvmData :: LlvmData -> SDoc
- infoSection :: String

# Documentation

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

Pretty print LLVM code

pprLlvmData :: LlvmData -> SDoc #

Pretty print LLVM data code

infoSection :: String #

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