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