| Safe Haskell | Safe-Infered | 
|---|
LLVM.FFI.ExecutionEngine
Contents
- data ExecutionEngine
 - createExecutionEngine :: Ptr ExecutionEngineRef -> ModuleProviderRef -> Ptr CString -> IO CInt
 - ptrDisposeExecutionEngine :: FunPtr (ExecutionEngineRef -> IO ())
 - createInterpreter :: Ptr ExecutionEngineRef -> ModuleProviderRef -> Ptr CString -> IO CInt
 - createJITCompiler :: Ptr ExecutionEngineRef -> ModuleProviderRef -> CUInt -> Ptr CString -> IO CInt
 - addModuleProvider :: ExecutionEngineRef -> ModuleProviderRef -> IO ()
 - removeModuleProvider :: ExecutionEngineRef -> ModuleProviderRef -> Ptr ModuleRef -> Ptr CString -> IO CInt
 - findFunction :: ExecutionEngineRef -> CString -> Ptr ValueRef -> IO CInt
 - freeMachineCodeForFunction :: ExecutionEngineRef -> ValueRef -> IO ()
 - runStaticConstructors :: ExecutionEngineRef -> IO ()
 - runStaticDestructors :: ExecutionEngineRef -> IO ()
 - runFunction :: ExecutionEngineRef -> ValueRef -> CUInt -> Ptr GenericValueRef -> IO GenericValueRef
 - runFunctionAsMain :: ExecutionEngineRef -> ValueRef -> CUInt -> Ptr CString -> Ptr CString -> IO CInt
 - getExecutionEngineTargetData :: ExecutionEngineRef -> IO TargetDataRef
 - addGlobalMapping :: ExecutionEngineRef -> ValueRef -> Ptr () -> IO ()
 - getPointerToGlobal :: ExecutionEngineRef -> ValueRef -> IO (FunPtr a)
 - addModule :: ExecutionEngineRef -> ModuleRef -> IO ()
 - createExecutionEngineForModule :: Ptr ExecutionEngineRef -> ModuleRef -> Ptr CString -> IO Bool
 - createInterpreterForModule :: Ptr ExecutionEngineRef -> ModuleRef -> Ptr CString -> IO Bool
 - createJITCompilerForModule :: Ptr ExecutionEngineRef -> ModuleRef -> CUInt -> Ptr CString -> IO Bool
 - disposeExecutionEngine :: ExecutionEngineRef -> IO ()
 - removeModule :: ExecutionEngineRef -> ModuleRef -> Ptr ModuleRef -> Ptr CString -> IO Bool
 - data GenericValue
 - type GenericValueRef = Ptr GenericValue
 - createGenericValueOfInt :: TypeRef -> CULLong -> CInt -> IO GenericValueRef
 - genericValueToInt :: GenericValueRef -> CInt -> CULLong
 - genericValueIntWidth :: GenericValueRef -> IO CUInt
 - createGenericValueOfFloat :: TypeRef -> CDouble -> IO GenericValueRef
 - genericValueToFloat :: TypeRef -> GenericValueRef -> CDouble
 - createGenericValueOfPointer :: Ptr a -> IO GenericValueRef
 - genericValueToPointer :: GenericValueRef -> IO (Ptr a)
 - ptrDisposeGenericValue :: FunPtr (GenericValueRef -> IO ())
 - linkInJIT :: IO ()
 
Execution engines
data ExecutionEngine Source
Instances
createExecutionEngine :: Ptr ExecutionEngineRef -> ModuleProviderRef -> Ptr CString -> IO CIntSource
ptrDisposeExecutionEngine :: FunPtr (ExecutionEngineRef -> IO ())Source
createInterpreter :: Ptr ExecutionEngineRef -> ModuleProviderRef -> Ptr CString -> IO CIntSource
createJITCompiler :: Ptr ExecutionEngineRef -> ModuleProviderRef -> CUInt -> Ptr CString -> IO CIntSource
addModuleProvider :: ExecutionEngineRef -> ModuleProviderRef -> IO ()Source
removeModuleProvider :: ExecutionEngineRef -> ModuleProviderRef -> Ptr ModuleRef -> Ptr CString -> IO CIntSource
freeMachineCodeForFunction :: ExecutionEngineRef -> ValueRef -> IO ()Source
runStaticConstructors :: ExecutionEngineRef -> IO ()Source
runStaticDestructors :: ExecutionEngineRef -> IO ()Source
runFunction :: ExecutionEngineRef -> ValueRef -> CUInt -> Ptr GenericValueRef -> IO GenericValueRefSource
getExecutionEngineTargetData :: ExecutionEngineRef -> IO TargetDataRefSource
getPointerToGlobal :: ExecutionEngineRef -> ValueRef -> IO (FunPtr a)Source
createExecutionEngineForModule :: Ptr ExecutionEngineRef -> ModuleRef -> Ptr CString -> IO BoolSource
createJITCompilerForModule :: Ptr ExecutionEngineRef -> ModuleRef -> CUInt -> Ptr CString -> IO BoolSource
disposeExecutionEngine :: ExecutionEngineRef -> IO ()Source
Generic values
data GenericValue Source
Instances
type GenericValueRef = Ptr GenericValueSource
createGenericValueOfInt :: TypeRef -> CULLong -> CInt -> IO GenericValueRefSource
genericValueToPointer :: GenericValueRef -> IO (Ptr a)Source