llvm-hs-pretty-0.5.0.0: A pretty printer for LLVM IR.

Safe HaskellNone
LanguageHaskell2010

LLVM.Pretty

Contents

Synopsis

Documentation

ppllvm :: Module -> Text #

Pretty print a LLVM module

ppll :: Pretty a => a -> Text #

Pretty print a printable LLVM expression

Orphan instances

Pretty ShortByteString # 
Instance details

Pretty Definition # 
Instance details

Methods

pretty :: Definition -> Doc ann #

prettyList :: [Definition] -> Doc ann #

Pretty Module # 
Instance details

Methods

pretty :: Module -> Doc ann #

prettyList :: [Module] -> Doc ann #

Pretty DataLayout # 
Instance details

Methods

pretty :: DataLayout -> Doc ann #

prettyList :: [DataLayout] -> Doc ann #

Pretty Global # 
Instance details

Methods

pretty :: Global -> Doc ann #

prettyList :: [Global] -> Doc ann #

Pretty Parameter # 
Instance details

Methods

pretty :: Parameter -> Doc ann #

prettyList :: [Parameter] -> Doc ann #

Pretty BasicBlock # 
Instance details

Methods

pretty :: BasicBlock -> Doc ann #

prettyList :: [BasicBlock] -> Doc ann #

Pretty UnnamedAddr # 
Instance details

Methods

pretty :: UnnamedAddr -> Doc ann #

prettyList :: [UnnamedAddr] -> Doc ann #

Pretty Terminator # 
Instance details

Methods

pretty :: Terminator -> Doc ann #

prettyList :: [Terminator] -> Doc ann #

Pretty MemoryOrdering # 
Instance details

Methods

pretty :: MemoryOrdering -> Doc ann #

prettyList :: [MemoryOrdering] -> Doc ann #

Pretty SynchronizationScope # 
Instance details

Pretty LandingPadClause # 
Instance details

Pretty Instruction # 
Instance details

Methods

pretty :: Instruction -> Doc ann #

prettyList :: [Instruction] -> Doc ann #

Pretty Operand # 
Instance details

Methods

pretty :: Operand -> Doc ann #

prettyList :: [Operand] -> Doc ann #

Pretty CallableOperand # 
Instance details

Pretty Metadata # 
Instance details

Methods

pretty :: Metadata -> Doc ann #

prettyList :: [Metadata] -> Doc ann #

Pretty MetadataNodeID # 
Instance details

Methods

pretty :: MetadataNodeID -> Doc ann #

prettyList :: [MetadataNodeID] -> Doc ann #

Pretty MDNode # 
Instance details

Methods

pretty :: MDNode -> Doc ann #

prettyList :: [MDNode] -> Doc ann #

Pretty DILocation # 
Instance details

Methods

pretty :: DILocation -> Doc ann #

prettyList :: [DILocation] -> Doc ann #

Pretty DIExpression # 
Instance details

Methods

pretty :: DIExpression -> Doc ann #

prettyList :: [DIExpression] -> Doc ann #

Pretty DIGlobalVariableExpression # 
Instance details

Pretty DIFlag # 
Instance details

Methods

pretty :: DIFlag -> Doc ann #

prettyList :: [DIFlag] -> Doc ann #

Pretty DIMacroInfo # 
Instance details

Methods

pretty :: DIMacroInfo -> Doc ann #

prettyList :: [DIMacroInfo] -> Doc ann #

Pretty DIMacroNode # 
Instance details

Methods

pretty :: DIMacroNode -> Doc ann #

prettyList :: [DIMacroNode] -> Doc ann #

Pretty DINode # 
Instance details

Methods

pretty :: DINode -> Doc ann #

prettyList :: [DINode] -> Doc ann #

Pretty DIObjCProperty # 
Instance details

Methods

pretty :: DIObjCProperty -> Doc ann #

prettyList :: [DIObjCProperty] -> Doc ann #

Pretty ImportedEntityTag # 
Instance details

Pretty DIImportedEntity # 
Instance details

Pretty DIEnumerator # 
Instance details

Methods

pretty :: DIEnumerator -> Doc ann #

prettyList :: [DIEnumerator] -> Doc ann #

Pretty DISubrange # 
Instance details

Methods

pretty :: DISubrange -> Doc ann #

prettyList :: [DISubrange] -> Doc ann #

Pretty DIScope # 
Instance details

Methods

pretty :: DIScope -> Doc ann #

prettyList :: [DIScope] -> Doc ann #

Pretty DIModule # 
Instance details

Methods

pretty :: DIModule -> Doc ann #

prettyList :: [DIModule] -> Doc ann #

Pretty DINamespace # 
Instance details

Methods

pretty :: DINamespace -> Doc ann #

prettyList :: [DINamespace] -> Doc ann #

Pretty DebugEmissionKind # 
Instance details

Pretty DICompileUnit # 
Instance details

Methods

pretty :: DICompileUnit -> Doc ann #

prettyList :: [DICompileUnit] -> Doc ann #

Pretty DIFile # 
Instance details

Methods

pretty :: DIFile -> Doc ann #

prettyList :: [DIFile] -> Doc ann #

Pretty ChecksumKind # 
Instance details

Methods

pretty :: ChecksumKind -> Doc ann #

prettyList :: [ChecksumKind] -> Doc ann #

Pretty DILocalScope # 
Instance details

Methods

pretty :: DILocalScope -> Doc ann #

prettyList :: [DILocalScope] -> Doc ann #

Pretty DISubprogram # 
Instance details

Methods

pretty :: DISubprogram -> Doc ann #

prettyList :: [DISubprogram] -> Doc ann #

Pretty BasicTypeTag # 
Instance details

Methods

pretty :: BasicTypeTag -> Doc ann #

prettyList :: [BasicTypeTag] -> Doc ann #

Pretty DIType # 
Instance details

Methods

pretty :: DIType -> Doc ann #

prettyList :: [DIType] -> Doc ann #

Pretty DIBasicType # 
Instance details

Methods

pretty :: DIBasicType -> Doc ann #

prettyList :: [DIBasicType] -> Doc ann #

Pretty DISubroutineType # 
Instance details

Pretty DerivedTypeTag # 
Instance details

Methods

pretty :: DerivedTypeTag -> Doc ann #

prettyList :: [DerivedTypeTag] -> Doc ann #

Pretty DIDerivedType # 
Instance details

Methods

pretty :: DIDerivedType -> Doc ann #

prettyList :: [DIDerivedType] -> Doc ann #

Pretty DICompositeType # 
Instance details

Pretty Encoding # 
Instance details

Methods

pretty :: Encoding -> Doc ann #

prettyList :: [Encoding] -> Doc ann #

Pretty DITemplateParameter # 
Instance details

Pretty DILexicalBlockBase # 
Instance details

Pretty DIVariable # 
Instance details

Methods

pretty :: DIVariable -> Doc ann #

prettyList :: [DIVariable] -> Doc ann #

Pretty DIGlobalVariable # 
Instance details

Pretty DILocalVariable # 
Instance details

Pretty Constant # 
Instance details

Methods

pretty :: Constant -> Doc ann #

prettyList :: [Constant] -> Doc ann #

Pretty Type # 
Instance details

Methods

pretty :: Type -> Doc ann #

prettyList :: [Type] -> Doc ann #

Pretty SelectionKind # 
Instance details

Methods

pretty :: SelectionKind -> Doc ann #

prettyList :: [SelectionKind] -> Doc ann #

Pretty CallingConvention # 
Instance details

Pretty FloatingPointPredicate # 
Instance details

Pretty FunctionAttribute # 
Instance details

Pretty GroupID # 
Instance details

Methods

pretty :: GroupID -> Doc ann #

prettyList :: [GroupID] -> Doc ann #

Pretty IntegerPredicate # 
Instance details

Pretty Linkage # 
Instance details

Methods

pretty :: Linkage -> Doc ann #

prettyList :: [Linkage] -> Doc ann #

Pretty Name # 
Instance details

Methods

pretty :: Name -> Doc ann #

prettyList :: [Name] -> Doc ann #

Pretty ParameterAttribute # 
Instance details

Pretty RMWOperation # 
Instance details

Methods

pretty :: RMWOperation -> Doc ann #

prettyList :: [RMWOperation] -> Doc ann #

Pretty a => Pretty (Named a) # 
Instance details

Methods

pretty :: Named a -> Doc ann #

prettyList :: [Named a] -> Doc ann #

Pretty a => Pretty (MDRef a) # 
Instance details

Methods

pretty :: MDRef a -> Doc ann #

prettyList :: [MDRef a] -> Doc ann #

Pretty (Either GroupID FunctionAttribute) # 
Instance details