Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
newtype TargetAddress Source #
data JITEvaluatedSymbol Source #
data ExpectedJITEvaluatedSymbol Source #
Instances
(MonadIO m, MonadAnyCont IO m) => DecodeM m (Either JITSymbolError JITSymbol) (Ptr ExpectedJITEvaluatedSymbol) Source # | |
Defined in LLVM.Internal.OrcJIT |
data MangleAndInterner Source #
data ThreadSafeContext Source #
data ThreadSafeModule Source #
data ObjectLayer Source #
data ExecutionSession Source #
data SymbolStringPtr Source #
Instances
Monad m => EncodeM m MangledSymbol (Ptr SymbolStringPtr) Source # | |
Defined in LLVM.Internal.OrcJIT encodeM :: MangledSymbol -> m (Ptr SymbolStringPtr) Source # |
disposeExecutionSession :: Ptr ExecutionSession -> IO () Source #
endSession :: Ptr ExecutionSession -> IO () Source #
createJITDylib :: Ptr ExecutionSession -> CString -> IO (Ptr JITDylib) Source #
lookupSymbol :: Ptr ExecutionSession -> Ptr JITDylib -> Ptr MangleAndInterner -> CString -> IO (Ptr ExpectedJITEvaluatedSymbol) Source #
disposeThreadSafeContext :: Ptr ThreadSafeContext -> IO () Source #
cloneAsThreadSafeModule :: Ptr Module -> IO (Ptr ThreadSafeModule) Source #
disposeThreadSafeModule :: Ptr ThreadSafeModule -> IO () Source #
objectLayerAddObjectFile :: Ptr ObjectLayer -> Ptr JITDylib -> CString -> IO () Source #
disposeObjectLayer :: Ptr ObjectLayer -> IO () Source #
createIRCompileLayer :: Ptr ExecutionSession -> Ptr ObjectLayer -> Ptr TargetMachine -> IO (Ptr IRLayer) Source #
addDynamicLibrarySearchGeneratorForCurrentProcess :: Ptr JITDylib -> Ptr DataLayout -> IO () Source #
addDynamicLibrarySearchGenerator :: Ptr JITDylib -> Ptr DataLayout -> CString -> IO () Source #
defineAbsoluteSymbols :: Ptr JITDylib -> CUInt -> Ptr (Ptr SymbolStringPtr) -> Ptr (Ptr JITEvaluatedSymbol) -> IO () Source #
irLayerAddModule :: Ptr ThreadSafeModule -> Ptr JITDylib -> Ptr DataLayout -> Ptr IRLayer -> IO () Source #
getExpectedSymbolAddress :: Ptr ExpectedJITEvaluatedSymbol -> Ptr (OwnerTransfered CString) -> IO TargetAddress Source #
disposeJITEvaluatedSymbol :: Ptr JITEvaluatedSymbol -> IO () Source #
createMangleAndInterner :: Ptr ExecutionSession -> Ptr DataLayout -> IO (Ptr MangleAndInterner) Source #
disposeMangleAndInterner :: Ptr MangleAndInterner -> IO () Source #
mangleSymbol :: Ptr MangleAndInterner -> CString -> IO (Ptr SymbolStringPtr) Source #
disposeMangledSymbol :: Ptr SymbolStringPtr -> IO () Source #