llvm-hs-6.0.0: General purpose LLVM bindings
LLVM.Internal.FFI.OrcJIT.CompileOnDemandLayer
data IndirectStubsManagerBuilder Source #
data JITCompileCallbackManager Source #
data Set a Source #
data CompileOnDemandLayer Source #
Instances
type PartitioningFn = Ptr Function -> Ptr (Set (Ptr Function)) -> IO () Source #
wrapPartitioningFn :: PartitioningFn -> IO (FunPtr PartitioningFn) Source #
wrapErrorHandler :: IO () -> IO (FunPtr (IO ())) Source #
createLocalCompileCallbackManager :: CString -> TargetAddress -> IO (Ptr JITCompileCallbackManager) Source #
disposeCallbackManager :: Ptr JITCompileCallbackManager -> IO () Source #
createLocalIndirectStubsManagerBuilder :: CString -> IO (Ptr IndirectStubsManagerBuilder) Source #
disposeIndirectStubsManagerBuilder :: Ptr IndirectStubsManagerBuilder -> IO () Source #
insertFun :: Ptr (Set (Ptr Function)) -> Ptr Function -> IO () Source #
createCompileOnDemandLayer :: Ptr CompileLayer -> FunPtr PartitioningFn -> Ptr JITCompileCallbackManager -> Ptr IndirectStubsManagerBuilder -> LLVMBool -> IO (Ptr CompileOnDemandLayer) Source #