Safe Haskell | None |
---|---|
Language | Haskell98 |
- data CompileLayer
- newtype ModuleHandle = ModuleHandle Word
- disposeCompileLayer :: Ptr CompileLayer -> IO ()
- addModule :: Ptr CompileLayer -> Ptr DataLayout -> Ptr Module -> Ptr LambdaResolver -> Ptr (OwnerTransfered CString) -> IO ModuleHandle
- removeModule :: Ptr CompileLayer -> ModuleHandle -> IO ()
- findSymbol :: Ptr CompileLayer -> CString -> LLVMBool -> IO (Ptr JITSymbol)
- findSymbolIn :: Ptr CompileLayer -> ModuleHandle -> CString -> LLVMBool -> IO (Ptr JITSymbol)
Documentation
data CompileLayer Source #
newtype ModuleHandle Source #
Abstract type representing a module in a CompileLayer
.
disposeCompileLayer :: Ptr CompileLayer -> IO () Source #
addModule :: Ptr CompileLayer -> Ptr DataLayout -> Ptr Module -> Ptr LambdaResolver -> Ptr (OwnerTransfered CString) -> IO ModuleHandle Source #
removeModule :: Ptr CompileLayer -> ModuleHandle -> IO () Source #
findSymbol :: Ptr CompileLayer -> CString -> LLVMBool -> IO (Ptr JITSymbol) Source #
findSymbolIn :: Ptr CompileLayer -> ModuleHandle -> CString -> LLVMBool -> IO (Ptr JITSymbol) Source #