Pretty print LLVM IR Code.
- ppLlvmModule :: LlvmModule -> Doc
- ppLlvmComments :: [LMString] -> Doc
- ppLlvmComment :: LMString -> Doc
- ppLlvmGlobals :: [LMGlobal] -> Doc
- ppLlvmGlobal :: LMGlobal -> Doc
- ppLlvmAlias :: LlvmAlias -> Doc
- ppLlvmAliases :: [LlvmAlias] -> Doc
- ppLlvmFunctionDecls :: LlvmFunctionDecls -> Doc
- ppLlvmFunctionDecl :: LlvmFunctionDecl -> Doc
- ppLlvmFunctions :: LlvmFunctions -> Doc
- ppLlvmFunction :: LlvmFunction -> Doc
- llvmSDoc :: SDoc -> Doc
Top level LLVM objects.
ppLlvmModule :: LlvmModule -> DocSource
Print out a whole LLVM module.
ppLlvmComments :: [LMString] -> DocSource
Print out a multi-line comment, can be inside a function or on its own
ppLlvmComment :: LMString -> DocSource
Print out a comment, can be inside a function or on its own
ppLlvmGlobals :: [LMGlobal] -> DocSource
Print out a list of global mutable variable definitions
ppLlvmGlobal :: LMGlobal -> DocSource
Print out a global mutable variable definition
ppLlvmAlias :: LlvmAlias -> DocSource
Print out an LLVM type alias.
ppLlvmAliases :: [LlvmAlias] -> DocSource
Print out a list of LLVM type aliases.
ppLlvmFunctionDecls :: LlvmFunctionDecls -> DocSource
Print out a list of function declaration.
ppLlvmFunctionDecl :: LlvmFunctionDecl -> DocSource
Print out a function declaration. Declarations define the function type but don't define the actual body of the function.
ppLlvmFunctions :: LlvmFunctions -> DocSource
Print out a list of function definitions.
ppLlvmFunction :: LlvmFunction -> DocSource
Print out a function definition.