llvm-hs-7.0.1: General purpose LLVM bindings

Safe HaskellNone
LanguageHaskell2010

LLVM.Internal.Coding

Documentation

class EncodeM e h c where Source #

Minimal complete definition

encodeM

Methods

encodeM :: h -> e c Source #

Instances
EncodeM IO FastMathFlags FastMathFlags Source # 
Instance details

Defined in LLVM.Internal.FastMathFlags

Monad m => EncodeM m Word64 Word64 Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

encodeM :: Word64 -> m Word64 Source #

Monad m => EncodeM m Int32 CInt Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

encodeM :: Int32 -> m CInt Source #

Monad m => EncodeM m Word64 CULong Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

encodeM :: Word64 -> m CULong Source #

Monad m => EncodeM m Word32 CUInt Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

encodeM :: Word32 -> m CUInt Source #

Monad m => EncodeM m Word CUInt Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

encodeM :: Word -> m CUInt Source #

Monad m => EncodeM m Bool LLVMBool Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

encodeM :: Bool -> m LLVMBool Source #

Monad m => EncodeM m CallingConvention CallingConvention Source # 
Instance details

Defined in LLVM.Internal.CallingConvention

Monad m => EncodeM m SynchronizationScope SynchronizationScope Source # 
Instance details

Defined in LLVM.Internal.Atomicity

Monad m => EncodeM m MemoryOrdering MemoryOrdering Source # 
Instance details

Defined in LLVM.Internal.Atomicity

Monad m => EncodeM m FloatingPointPredicate FCmpPredicate Source # 
Instance details

Defined in LLVM.Internal.FloatingPointPredicate

Monad m => EncodeM m IntegerPredicate ICmpPredicate Source # 
Instance details

Defined in LLVM.Internal.IntegerPredicate

Monad m => EncodeM m LibraryFunction LibFunc Source # 
Instance details

Defined in LLVM.Internal.LibraryFunction

Monad m => EncodeM m RMWOperation RMWOperation Source # 
Instance details

Defined in LLVM.Internal.RMWOperation

MonadAnyCont IO e => EncodeM e ShortByteString CString Source # 
Instance details

Defined in LLVM.Internal.String

MonadAnyCont IO e => EncodeM e ByteString CString Source # 
Instance details

Defined in LLVM.Internal.String

MonadAnyCont IO e => EncodeM e String CString Source # 
Instance details

Defined in LLVM.Internal.String

Methods

encodeM :: String -> e CString Source #

Monad e => EncodeM e String UTF8ByteString Source # 
Instance details

Defined in LLVM.Internal.String

MonadAnyCont IO m => EncodeM m Name CString Source # 
Instance details

Defined in LLVM.Internal.EncodeAST

Methods

encodeM :: Name -> m CString Source #

Monad m => EncodeM m DiagnosticKind DiagnosticKind Source # 
Instance details

Defined in LLVM.Internal.Diagnostic

Monad m => EncodeM m Linkage Linkage Source # 
Instance details

Defined in LLVM.Internal.Global

Monad m => EncodeM m Visibility Visibility Source # 
Instance details

Defined in LLVM.Internal.Global

Monad m => EncodeM m SelectionKind COMDATSelectionKind Source # 
Instance details

Defined in LLVM.Internal.Global

Monad m => EncodeM m AddrSpace AddrSpace Source # 
Instance details

Defined in LLVM.Internal.Type

Monad m => EncodeM m Dialect AsmDialect Source # 
Instance details

Defined in LLVM.Internal.InlineAssembly

Monad m => EncodeM m DebugEmissionKind DebugEmissionKind Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => EncodeM m Encoding Encoding Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => EncodeM m ChecksumKind ChecksumKind Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => EncodeM m BasicTypeTag DwTag Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => EncodeM m DerivedTypeTag DwTag Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => EncodeM m TemplateValueParameterTag DwTag Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => EncodeM m Virtuality DwVirtuality Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => EncodeM m DIMacroInfo Macinfo Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => EncodeM m ImportedEntityTag DwTag Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => EncodeM m Model RelocModel Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => EncodeM m Model CodeModel Source # 
Instance details

Defined in LLVM.Internal.Target

Methods

encodeM :: Model -> m CodeModel Source #

Monad m => EncodeM m Level CodeGenOptLevel Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => EncodeM m FloatABI FloatABIType Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => EncodeM m FloatingPointOperationFusionMode FPOpFusionMode Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => EncodeM m DebugCompressionType DebugCompressionType Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => EncodeM m ThreadModel ThreadModel Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => EncodeM m EABIVersion EABI Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => EncodeM m DebuggerKind DebuggerKind Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => EncodeM m FloatingPointDenormalMode FPDenormalMode Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => EncodeM m ExceptionHandling ExceptionHandling Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => EncodeM m JITSymbolFlags JITSymbolFlags Source # 
Instance details

Defined in LLVM.Internal.OrcJIT

(Monad m, MonadThrow m, MonadAnyCont IO m) => EncodeM m GCOVVersion CString Source # 
Instance details

Defined in LLVM.Internal.PassManager

EncodeM EncodeAST ShortByteString MDKindID Source # 
Instance details

Defined in LLVM.Internal.Metadata

EncodeM EncodeAST FastMathFlags () Source # 
Instance details

Defined in LLVM.Internal.FastMathFlags

EncodeM EncodeAST AttributeList AttributeList Source # 
Instance details

Defined in LLVM.Internal.Attribute

(MonadThrow m, MonadIO m, MonadAnyCont IO m) => EncodeM m Specification (Ptr MemoryBuffer) Source # 
Instance details

Defined in LLVM.Internal.MemoryBuffer

(MonadThrow m, MonadIO m, MonadAnyCont IO m) => EncodeM m Specification (OwnerTransfered (Ptr MemoryBuffer)) Source # 
Instance details

Defined in LLVM.Internal.MemoryBuffer

EncodeM EncodeAST ShortByteString (Ptr MDString) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST Terminator (Ptr Instruction) Source # 
Instance details

Defined in LLVM.Internal.Instruction

EncodeM EncodeAST Operand (Ptr Value) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST CallableOperand (Ptr Value) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST Metadata (Ptr Metadata) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST MDNode (Ptr MDNode) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DILocation (Ptr DILocation) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DIExpression (Ptr DIExpression) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DIGlobalVariableExpression (Ptr DIGlobalVariableExpression) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DIMacroNode (Ptr DIMacroNode) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DINode (Ptr DINode) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DIObjCProperty (Ptr DIObjCProperty) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DIImportedEntity (Ptr DIImportedEntity) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DIEnumerator (Ptr DIEnumerator) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DISubrange (Ptr DISubrange) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DIScope (Ptr DIScope) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DIModule (Ptr DIModule) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DINamespace (Ptr DINamespace) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DICompileUnit (Ptr DICompileUnit) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DIFile (Ptr DIFile) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DILocalScope (Ptr DILocalScope) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DISubprogram (Ptr DISubprogram) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DIType (Ptr DIType) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DIBasicType (Ptr DIBasicType) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DISubroutineType (Ptr DISubroutineType) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DIDerivedType (Ptr DIDerivedType) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DICompositeType (Ptr DICompositeType) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DITemplateParameter (Ptr DITemplateParameter) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DILexicalBlockBase (Ptr DILexicalBlockBase) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DIVariable (Ptr DIVariable) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DIGlobalVariable (Ptr DIGlobalVariable) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST DILocalVariable (Ptr DILocalVariable) Source # 
Instance details

Defined in LLVM.Internal.Operand

EncodeM EncodeAST Constant (Ptr Constant) Source # 
Instance details

Defined in LLVM.Internal.Constant

EncodeM EncodeAST InlineAssembly (Ptr InlineAsm) Source # 
Instance details

Defined in LLVM.Internal.InlineAssembly

EncodeM EncodeAST Type (Ptr Type) Source # 
Instance details

Defined in LLVM.Internal.Type

EncodeM EncodeAST Name (Ptr BasicBlock) Source # 
Instance details

Defined in LLVM.Internal.EncodeAST

Monad m => EncodeM m Atomicity (SynchronizationScope, MemoryOrdering) Source # 
Instance details

Defined in LLVM.Internal.Atomicity

(Integral i, MonadAnyCont IO e) => EncodeM e ShortByteString (Ptr CChar, i) Source # 
Instance details

Defined in LLVM.Internal.String

Methods

encodeM :: ShortByteString -> e (Ptr CChar, i) Source #

(Integral i, MonadAnyCont IO e) => EncodeM e ByteString (Ptr CChar, i) Source # 
Instance details

Defined in LLVM.Internal.String

Methods

encodeM :: ByteString -> e (Ptr CChar, i) Source #

(Integral i, MonadAnyCont IO e) => EncodeM e String (Ptr CChar, i) Source # 
Instance details

Defined in LLVM.Internal.String

Methods

encodeM :: String -> e (Ptr CChar, i) Source #

Monad m => EncodeM m FunctionAttribute (Ptr FunctionAttrBuilder -> EncodeAST ()) Source # 
Instance details

Defined in LLVM.Internal.Attribute

Monad m => EncodeM m ParameterAttribute (Ptr ParameterAttrBuilder -> EncodeAST ()) Source # 
Instance details

Defined in LLVM.Internal.Attribute

MonadIO m => EncodeM m SymbolResolver (IORef [IO ()] -> Ptr ExecutionSession -> IO (Ptr SymbolResolver)) Source # 
Instance details

Defined in LLVM.Internal.OrcJIT

MonadIO m => EncodeM m PartitioningFn (IORef [IO ()] -> IO (FunPtr PartitioningFn)) Source # 
Instance details

Defined in LLVM.Internal.OrcJIT.CompileOnDemandLayer

EncodeM EncodeAST Instruction (Ptr Instruction, EncodeAST ()) Source # 
Instance details

Defined in LLVM.Internal.Instruction

Monad m => EncodeM m (Maybe MemoryOrdering) MemoryOrdering Source # 
Instance details

Defined in LLVM.Internal.Atomicity

Monad m => EncodeM m (Maybe StorageClass) DLLStorageClass Source # 
Instance details

Defined in LLVM.Internal.Global

Monad m => EncodeM m (Maybe Model) ThreadLocalMode Source # 
Instance details

Defined in LLVM.Internal.Global

Monad m => EncodeM m (Maybe UnnamedAddr) UnnamedAddr Source # 
Instance details

Defined in LLVM.Internal.Global

Monad m => EncodeM m (Maybe TailCallKind) TailCallKind Source # 
Instance details

Defined in LLVM.Internal.TailCallKind

Applicative m => EncodeM m [DIFlag] DIFlags Source # 
Instance details

Defined in LLVM.Internal.Operand

Methods

encodeM :: [DIFlag] -> m DIFlags Source #

EncodeM EncodeAST [Either GroupID FunctionAttribute] FunctionAttributeSet Source # 
Instance details

Defined in LLVM.Internal.Attribute

EncodeM EncodeAST (Maybe Encoding) Encoding Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => EncodeM m (Maybe Word) (NothingAsMinusOne Word) Source # 
Instance details

Defined in LLVM.Internal.Coding

Monad m => EncodeM m (Maybe Bool) (NothingAsMinusOne Bool) Source # 
Instance details

Defined in LLVM.Internal.Coding

(Monad m, EncodeM m h (Ptr c)) => EncodeM m (Maybe h) (Ptr c) Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

encodeM :: Maybe h -> m (Ptr c) Source #

(Monad e, EncodeM e String c) => EncodeM e (Maybe String) (NothingAsEmptyString c) Source # 
Instance details

Defined in LLVM.Internal.String

(MonadIO m, MonadState EncodeState m, MonadAnyCont IO m, EncodeM m a (Ptr a'), DescendentOf Metadata a') => EncodeM m [a] (TupleArray a') Source # 
Instance details

Defined in LLVM.Internal.Operand

Methods

encodeM :: [a] -> m (TupleArray a') Source #

EncodeM EncodeAST a (Ptr (AttrBuilder b) -> EncodeAST ()) => EncodeM EncodeAST [a] (AttributeSet b) Source # 
Instance details

Defined in LLVM.Internal.Attribute

Methods

encodeM :: [a] -> EncodeAST (AttributeSet b) Source #

(EncodeM EncodeAST a (Ptr Instruction, EncodeAST ()), Show a) => EncodeM EncodeAST (Named a) (EncodeAST ()) Source # 
Instance details

Defined in LLVM.Internal.Instruction

Methods

encodeM :: Named a -> EncodeAST (EncodeAST ()) Source #

(EncodeM EncodeAST a (Ptr Instruction), Show a) => EncodeM EncodeAST (Named a) (Ptr Instruction) Source # 
Instance details

Defined in LLVM.Internal.Instruction

(EncodeM EncodeAST a (Ptr b), DescendentOf MDNode b) => EncodeM EncodeAST (MDRef a) (Ptr b) Source # 
Instance details

Defined in LLVM.Internal.Operand

Methods

encodeM :: MDRef a -> EncodeAST (Ptr b) Source #

Monad m => EncodeM m (Maybe Word32) (Word32, LLVMBool) Source # 
Instance details

Defined in LLVM.Internal.Coding

Monad m => EncodeM m (Maybe Word32) (CUInt, LLVMBool) Source # 
Instance details

Defined in LLVM.Internal.Coding

(Monad m, EncodeM m h c, Storable c, MonadAnyCont IO m) => EncodeM m [h] (CUInt, Ptr c) Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

encodeM :: [h] -> m (CUInt, Ptr c) Source #

Monad m => EncodeM m (Maybe Atomicity) (SynchronizationScope, MemoryOrdering) Source # 
Instance details

Defined in LLVM.Internal.Atomicity

(MonadIO m, MonadAnyCont IO m) => EncodeM m (Maybe (IO ())) (TargetAddress, IO ()) Source # 
Instance details

Defined in LLVM.Internal.OrcJIT.CompileOnDemandLayer

Methods

encodeM :: Maybe (IO ()) -> m (TargetAddress, IO ()) Source #

EncodeM e ByteString es => EncodeM e (Map CPUFeature Bool) es Source # 
Instance details

Defined in LLVM.Internal.Target

Methods

encodeM :: Map CPUFeature Bool -> e es Source #

MonadIO m => EncodeM m (MangledSymbol -> IO (Either JITSymbolError JITSymbol)) (FunPtr SymbolResolverFn) Source # 
Instance details

Defined in LLVM.Internal.OrcJIT

MonadIO m => EncodeM m (Either JITSymbolError JITSymbol) (Ptr JITSymbol -> IO ()) Source # 
Instance details

Defined in LLVM.Internal.OrcJIT

class DecodeM d h c where Source #

Minimal complete definition

decodeM

Methods

decodeM :: c -> d h Source #

Instances
Monad m => DecodeM m Word64 Word64 Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

decodeM :: Word64 -> m Word64 Source #

Monad m => DecodeM m Int CInt Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

decodeM :: CInt -> m Int Source #

Monad m => DecodeM m Int32 CInt Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

decodeM :: CInt -> m Int32 Source #

Monad m => DecodeM m Word64 CULong Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

decodeM :: CULong -> m Word64 Source #

Monad m => DecodeM m Word32 CUInt Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

decodeM :: CUInt -> m Word32 Source #

Monad m => DecodeM m Word CUInt Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

decodeM :: CUInt -> m Word Source #

Monad m => DecodeM m Bool LLVMBool Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

decodeM :: LLVMBool -> m Bool Source #

Monad m => DecodeM m CallingConvention CallingConvention Source # 
Instance details

Defined in LLVM.Internal.CallingConvention

Monad m => DecodeM m SynchronizationScope SynchronizationScope Source # 
Instance details

Defined in LLVM.Internal.Atomicity

Monad m => DecodeM m MemoryOrdering MemoryOrdering Source # 
Instance details

Defined in LLVM.Internal.Atomicity

Monad m => DecodeM m FloatingPointPredicate FCmpPredicate Source # 
Instance details

Defined in LLVM.Internal.FloatingPointPredicate

Monad m => DecodeM m IntegerPredicate ICmpPredicate Source # 
Instance details

Defined in LLVM.Internal.IntegerPredicate

Monad m => DecodeM m LibraryFunction LibFunc Source # 
Instance details

Defined in LLVM.Internal.LibraryFunction

Monad m => DecodeM m RMWOperation RMWOperation Source # 
Instance details

Defined in LLVM.Internal.RMWOperation

MonadIO d => DecodeM d ShortByteString CString Source # 
Instance details

Defined in LLVM.Internal.String

MonadIO d => DecodeM d ByteString CString Source # 
Instance details

Defined in LLVM.Internal.String

MonadIO d => DecodeM d String CString Source # 
Instance details

Defined in LLVM.Internal.String

Methods

decodeM :: CString -> d String Source #

Monad d => DecodeM d String UTF8ByteString Source # 
Instance details

Defined in LLVM.Internal.String

Monad m => DecodeM m FastMathFlags FastMathFlags Source # 
Instance details

Defined in LLVM.Internal.FastMathFlags

Monad m => DecodeM m DiagnosticKind DiagnosticKind Source # 
Instance details

Defined in LLVM.Internal.Diagnostic

Monad m => DecodeM m Linkage Linkage Source # 
Instance details

Defined in LLVM.Internal.Global

Monad m => DecodeM m Visibility Visibility Source # 
Instance details

Defined in LLVM.Internal.Global

Monad m => DecodeM m SelectionKind COMDATSelectionKind Source # 
Instance details

Defined in LLVM.Internal.Global

Monad m => DecodeM m AddrSpace AddrSpace Source # 
Instance details

Defined in LLVM.Internal.Type

Monad m => DecodeM m Dialect AsmDialect Source # 
Instance details

Defined in LLVM.Internal.InlineAssembly

Monad m => DecodeM m DebugEmissionKind DebugEmissionKind Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => DecodeM m Encoding Encoding Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => DecodeM m ChecksumKind ChecksumKind Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => DecodeM m BasicTypeTag DwTag Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => DecodeM m DerivedTypeTag DwTag Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => DecodeM m TemplateValueParameterTag DwTag Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => DecodeM m Virtuality DwVirtuality Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => DecodeM m DIMacroInfo Macinfo Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => DecodeM m ImportedEntityTag DwTag Source # 
Instance details

Defined in LLVM.Internal.Operand

Monad m => DecodeM m Model RelocModel Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => DecodeM m Model CodeModel Source # 
Instance details

Defined in LLVM.Internal.Target

Methods

decodeM :: CodeModel -> m Model Source #

Monad m => DecodeM m Level CodeGenOptLevel Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => DecodeM m FloatABI FloatABIType Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => DecodeM m FloatingPointOperationFusionMode FPOpFusionMode Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => DecodeM m DebugCompressionType DebugCompressionType Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => DecodeM m ThreadModel ThreadModel Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => DecodeM m EABIVersion EABI Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => DecodeM m DebuggerKind DebuggerKind Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => DecodeM m FloatingPointDenormalMode FPDenormalMode Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => DecodeM m ExceptionHandling ExceptionHandling Source # 
Instance details

Defined in LLVM.Internal.Target

Monad m => DecodeM m JITSymbolFlags JITSymbolFlags Source # 
Instance details

Defined in LLVM.Internal.OrcJIT

MonadIO m => DecodeM m MangledSymbol CString Source # 
Instance details

Defined in LLVM.Internal.OrcJIT

DecodeM DecodeAST ShortByteString MDKindID Source # 
Instance details

Defined in LLVM.Internal.Metadata

DecodeM DecodeAST FunctionAttribute FunctionAttribute Source # 
Instance details

Defined in LLVM.Internal.Attribute

DecodeM DecodeAST ParameterAttribute ParameterAttribute Source # 
Instance details

Defined in LLVM.Internal.Attribute

(MonadIO d, DecodeM IO s (OwnerTransfered CString)) => DecodeM d s (Ptr (OwnerTransfered CString)) Source # 
Instance details

Defined in LLVM.Internal.String

MonadIO d => DecodeM d ShortByteString (OwnerTransfered CString) Source # 
Instance details

Defined in LLVM.Internal.String

MonadIO d => DecodeM d ByteString (OwnerTransfered CString) Source # 
Instance details

Defined in LLVM.Internal.String

MonadIO d => DecodeM d String (OwnerTransfered CString) Source # 
Instance details

Defined in LLVM.Internal.String

MonadIO d => DecodeM d String (Ptr MemoryBuffer) Source # 
Instance details

Defined in LLVM.Internal.MemoryBuffer

MonadIO d => DecodeM d ByteString (Ptr MemoryBuffer) Source # 
Instance details

Defined in LLVM.Internal.MemoryBuffer

DecodeM DecodeAST ShortByteString (Ptr MDString) Source # 
Instance details

Defined in LLVM.Internal.Metadata

DecodeM DecodeAST Terminator (Ptr Instruction) Source # 
Instance details

Defined in LLVM.Internal.Instruction

DecodeM DecodeAST Instruction (Ptr Instruction) Source # 
Instance details

Defined in LLVM.Internal.Instruction

DecodeM DecodeAST Operand (Ptr MDValue) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST Operand (Ptr Value) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST CallableOperand (Ptr Value) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST Metadata (Ptr MetadataAsVal) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST Metadata (Ptr Metadata) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DILocation (Ptr DILocation) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DIExpression (Ptr DIExpression) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DIGlobalVariableExpression (Ptr DIGlobalVariableExpression) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DIMacroNode (Ptr DIMacroNode) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DINode (Ptr DINode) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DIObjCProperty (Ptr DIObjCProperty) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DIImportedEntity (Ptr DIImportedEntity) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DIEnumerator (Ptr DIEnumerator) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DISubrange (Ptr DISubrange) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DIScope (Ptr DIScope) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DIModule (Ptr DIModule) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DINamespace (Ptr DINamespace) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DICompileUnit (Ptr DICompileUnit) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DIFile (Ptr DIFile) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DILocalScope (Ptr DILocalScope) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DISubprogram (Ptr DISubprogram) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DIType (Ptr DIType) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DIBasicType (Ptr DIBasicType) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DISubroutineType (Ptr DISubroutineType) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DIDerivedType (Ptr DIDerivedType) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DICompositeType (Ptr DICompositeType) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DITemplateParameter (Ptr DITemplateParameter) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DILexicalBlockBase (Ptr DILexicalBlockBase) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DIVariable (Ptr DIVariable) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DIGlobalVariable (Ptr DIGlobalVariable) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST DILocalVariable (Ptr DILocalVariable) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST Constant (Ptr Constant) Source # 
Instance details

Defined in LLVM.Internal.Constant

DecodeM DecodeAST InlineAssembly (Ptr InlineAsm) Source # 
Instance details

Defined in LLVM.Internal.InlineAssembly

DecodeM DecodeAST Type (Ptr Type) Source # 
Instance details

Defined in LLVM.Internal.Type

DecodeM DecodeAST Name (Ptr BasicBlock) Source # 
Instance details

Defined in LLVM.Internal.DecodeAST

Monad m => DecodeM m Atomicity (SynchronizationScope, MemoryOrdering) Source # 
Instance details

Defined in LLVM.Internal.Atomicity

(Integral i, Storable i, MonadIO d, DecodeM d s (CString, i)) => DecodeM d s (Ptr i -> IO CString) Source # 
Instance details

Defined in LLVM.Internal.String

Methods

decodeM :: (Ptr i -> IO CString) -> d s Source #

(Integral i, MonadIO d) => DecodeM d ShortByteString (Ptr CChar, i) Source # 
Instance details

Defined in LLVM.Internal.String

Methods

decodeM :: (Ptr CChar, i) -> d ShortByteString Source #

(Integral i, MonadIO d) => DecodeM d ByteString (Ptr CChar, i) Source # 
Instance details

Defined in LLVM.Internal.String

Methods

decodeM :: (Ptr CChar, i) -> d ByteString Source #

(Integral i, MonadIO d) => DecodeM d String (Ptr CChar, i) Source # 
Instance details

Defined in LLVM.Internal.String

Methods

decodeM :: (Ptr CChar, i) -> d String Source #

DecodeM DecodeAST AttributeList (AttrSetDecoder a, a) Source # 
Instance details

Defined in LLVM.Internal.Attribute

Monad m => DecodeM m (Maybe MemoryOrdering) MemoryOrdering Source # 
Instance details

Defined in LLVM.Internal.Atomicity

Monad m => DecodeM m (Maybe StorageClass) DLLStorageClass Source # 
Instance details

Defined in LLVM.Internal.Global

Monad m => DecodeM m (Maybe Model) ThreadLocalMode Source # 
Instance details

Defined in LLVM.Internal.Global

Monad m => DecodeM m (Maybe UnnamedAddr) UnnamedAddr Source # 
Instance details

Defined in LLVM.Internal.Global

Monad m => DecodeM m (Maybe TailCallKind) TailCallKind Source # 
Instance details

Defined in LLVM.Internal.TailCallKind

Applicative m => DecodeM m [DIFlag] DIFlags Source # 
Instance details

Defined in LLVM.Internal.Operand

Methods

decodeM :: DIFlags -> m [DIFlag] Source #

DecodeM DecodeAST (Maybe Encoding) Encoding Source # 
Instance details

Defined in LLVM.Internal.Operand

(Monad m, DecodeM m h (Ptr c)) => DecodeM m (Maybe h) (Ptr c) Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

decodeM :: Ptr c -> m (Maybe h) Source #

(MonadIO m, MonadAnyCont IO m, DecodeM m a (Ptr a')) => DecodeM m [a] (TupleArray a') Source # 
Instance details

Defined in LLVM.Internal.Operand

Methods

decodeM :: TupleArray a' -> m [a] Source #

DecodeM DecodeAST [Maybe Metadata] (Ptr MDNode) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST a (Attribute b) => DecodeM DecodeAST [a] (AttributeSet b) Source # 
Instance details

Defined in LLVM.Internal.Attribute

DecodeM DecodeAST [Definition] (ModuleAsm CString) Source # 
Instance details

Defined in LLVM.Internal.InlineAssembly

(DecodeM DecodeAST a (Ptr b), DescendentOf MDNode b) => DecodeM DecodeAST (MDRef a) (Ptr b) Source # 
Instance details

Defined in LLVM.Internal.Operand

Methods

decodeM :: Ptr b -> DecodeAST (MDRef a) Source #

DecodeM DecodeAST (MDRef MDNode) (Ptr MDNode) Source # 
Instance details

Defined in LLVM.Internal.Operand

DecodeM DecodeAST a (Ptr Instruction) => DecodeM DecodeAST (DecodeAST (Named a)) (Ptr Instruction) Source # 
Instance details

Defined in LLVM.Internal.Instruction

(Monad m, DecodeM m h c, Storable c, MonadIO m) => DecodeM m [h] (CUInt, Ptr c) Source # 
Instance details

Defined in LLVM.Internal.Coding

Methods

decodeM :: (CUInt, Ptr c) -> m [h] Source #

Monad m => DecodeM m (Maybe Atomicity) (SynchronizationScope, MemoryOrdering) Source # 
Instance details

Defined in LLVM.Internal.Atomicity

(Monad d, DecodeM d ByteString es) => DecodeM d (Map CPUFeature Bool) es Source # 
Instance details

Defined in LLVM.Internal.Target

Methods

decodeM :: es -> d (Map CPUFeature Bool) Source #

(MonadIO m, MonadAnyCont IO m) => DecodeM m (Either JITSymbolError JITSymbol) (Ptr JITSymbol) Source # 
Instance details

Defined in LLVM.Internal.OrcJIT

DecodeM DecodeAST (ShortByteString, SelectionKind) (Ptr COMDAT) Source # 
Instance details

Defined in LLVM.Internal.Global

genCodingInstance :: (Data c, Data h) => TypeQ -> Name -> [(c, h)] -> Q [Dec] Source #

allocaArray :: (Integral i, Storable a, MonadAnyCont IO m) => i -> m (Ptr a) Source #

alloca :: (Storable a, MonadAnyCont IO m) => m (Ptr a) Source #

peek :: (Storable a, MonadIO m) => Ptr a -> m a Source #

peekByteOff :: (Storable a, MonadIO m) => Ptr a -> Int -> m a Source #

poke :: (Storable a, MonadIO m) => Ptr a -> a -> m () Source #

pokeByteOff :: (Storable a, MonadIO m) => Ptr a -> Int -> a -> m () Source #

peekArray :: (Integral i, Storable a, MonadIO m) => i -> Ptr a -> m [a] Source #

decodeOptional :: (DecodeM m b a, Storable a, MonadAnyCont IO m, MonadIO m) => (Ptr a -> IO LLVMBool) -> m (Maybe b) Source #

decodeArray :: (DecodeM m b' b, MonadIO m) => (a -> IO CUInt) -> (a -> CUInt -> IO b) -> a -> m [b'] Source #