- 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 -> 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)
- 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
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 -> 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
Generic values
type GenericValueRef = Ptr GenericValueSource
createGenericValueOfInt :: TypeRef -> CULLong -> CInt -> IO GenericValueRefSource
genericValueToPointer :: GenericValueRef -> IO (Ptr a)Source