Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ExecutionEngine Source #
Instances
ExecutionEngine (Ptr ExecutionEngine) (FunPtr ()) Source # | |
Defined in LLVM.Internal.ExecutionEngine withModuleInEngine :: Ptr ExecutionEngine -> Module -> (ExecutableModule (Ptr ExecutionEngine) -> IO a) -> IO a Source # getFunction :: ExecutableModule (Ptr ExecutionEngine) -> Name -> IO (Maybe (FunPtr ())) Source # |
createExecutionEngineForModule :: Ptr (Ptr ExecutionEngine) -> Ptr Module -> Ptr (OwnerTransfered CString) -> IO CUInt Source #
createInterpreterForModule :: Ptr (Ptr ExecutionEngine) -> Ptr Module -> Ptr (OwnerTransfered CString) -> IO CUInt Source #
createJITCompilerForModule :: Ptr (Ptr ExecutionEngine) -> Ptr Module -> CUInt -> Ptr (OwnerTransfered CString) -> IO CUInt Source #
createMCJITCompilerForModule :: Ptr (Ptr ExecutionEngine) -> Ptr Module -> Ptr MCJITCompilerOptions -> CSize -> Ptr (OwnerTransfered CString) -> IO CUInt Source #
disposeExecutionEngine :: Ptr ExecutionEngine -> IO () Source #
removeModule :: Ptr ExecutionEngine -> Ptr Module -> Ptr (Ptr Module) -> Ptr CString -> IO CUInt Source #
getPointerToGlobal :: Ptr ExecutionEngine -> Ptr GlobalValue -> IO (Ptr ()) Source #
linkInInterpreter :: IO () Source #
linkInMCJIT :: IO () Source #
data MCJITCompilerOptions Source #
initializeMCJITCompilerOptions :: Ptr MCJITCompilerOptions -> CSize -> IO () Source #
setMCJITCompilerOptionsOptLevel :: Ptr MCJITCompilerOptions -> CUInt -> IO () Source #