|
typedef uint64_t | LLVMOrcJITTargetAddress |
| Represents an address in the executor process. More...
|
|
typedef uint64_t | LLVMOrcExecutorAddress |
| Represents an address in the executor process. More...
|
|
typedef uint8_t | LLVMJITSymbolTargetFlags |
| Represents target specific flags for a symbol definition. More...
|
|
typedef struct LLVMOrcOpaqueExecutionSession * | LLVMOrcExecutionSessionRef |
| A reference to an orc::ExecutionSession instance. More...
|
|
typedef void(* | LLVMOrcErrorReporterFunction) (void *Ctx, LLVMErrorRef Err) |
| Error reporter function. More...
|
|
typedef struct LLVMOrcOpaqueSymbolStringPool * | LLVMOrcSymbolStringPoolRef |
| A reference to an orc::SymbolStringPool. More...
|
|
typedef struct LLVMOrcOpaqueSymbolStringPoolEntry * | LLVMOrcSymbolStringPoolEntryRef |
| A reference to an orc::SymbolStringPool table entry. More...
|
|
typedef LLVMOrcCSymbolFlagsMapPair * | LLVMOrcCSymbolFlagsMapPairs |
| Represents a list of (SymbolStringPtr, JITSymbolFlags) pairs that can be used to construct a SymbolFlagsMap. More...
|
|
typedef LLVMJITCSymbolMapPair * | LLVMOrcCSymbolMapPairs |
| Represents a list of (SymbolStringPtr, JITEvaluatedSymbol) pairs that can be used to construct a SymbolMap. More...
|
|
typedef LLVMOrcCSymbolAliasMapPair * | LLVMOrcCSymbolAliasMapPairs |
| Represents a list of (SymbolStringPtr, (SymbolStringPtr, JITSymbolFlags)) pairs that can be used to construct a SymbolFlagsMap. More...
|
|
typedef struct LLVMOrcOpaqueJITDylib * | LLVMOrcJITDylibRef |
| A reference to an orc::JITDylib instance. More...
|
|
typedef LLVMOrcCDependenceMapPair * | LLVMOrcCDependenceMapPairs |
| Represents a list of (JITDylibRef, (LLVMOrcSymbolStringPoolEntryRef*, size_t)) pairs that can be used to construct a SymbolDependenceMap. More...
|
|
typedef LLVMOrcCLookupSetElement * | LLVMOrcCLookupSet |
| A set of symbols to look up / generate. More...
|
|
typedef struct LLVMOrcOpaqueMaterializationUnit * | LLVMOrcMaterializationUnitRef |
| A reference to a uniquely owned orc::MaterializationUnit instance. More...
|
|
typedef struct LLVMOrcOpaqueMaterializationResponsibility * | LLVMOrcMaterializationResponsibilityRef |
| A reference to a uniquely owned orc::MaterializationResponsibility instance. More...
|
|
typedef void(* | LLVMOrcMaterializationUnitMaterializeFunction) (void *Ctx, LLVMOrcMaterializationResponsibilityRef MR) |
| A MaterializationUnit materialize callback. More...
|
|
typedef void(* | LLVMOrcMaterializationUnitDiscardFunction) (void *Ctx, LLVMOrcJITDylibRef JD, LLVMOrcSymbolStringPoolEntryRef Symbol) |
| A MaterializationUnit discard callback. More...
|
|
typedef void(* | LLVMOrcMaterializationUnitDestroyFunction) (void *Ctx) |
| A MaterializationUnit destruction callback. More...
|
|
typedef struct LLVMOrcOpaqueResourceTracker * | LLVMOrcResourceTrackerRef |
| A reference to an orc::ResourceTracker instance. More...
|
|
typedef struct LLVMOrcOpaqueDefinitionGenerator * | LLVMOrcDefinitionGeneratorRef |
| A reference to an orc::DefinitionGenerator. More...
|
|
typedef struct LLVMOrcOpaqueLookupState * | LLVMOrcLookupStateRef |
| An opaque lookup state object. More...
|
|
typedef LLVMErrorRef(* | LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction) (LLVMOrcDefinitionGeneratorRef GeneratorObj, void *Ctx, LLVMOrcLookupStateRef *LookupState, LLVMOrcLookupKind Kind, LLVMOrcJITDylibRef JD, LLVMOrcJITDylibLookupFlags JDLookupFlags, LLVMOrcCLookupSet LookupSet, size_t LookupSetSize) |
| A custom generator function. More...
|
|
typedef int(* | LLVMOrcSymbolPredicate) (void *Ctx, LLVMOrcSymbolStringPoolEntryRef Sym) |
| Predicate function for SymbolStringPoolEntries. More...
|
|
typedef struct LLVMOrcOpaqueThreadSafeContext * | LLVMOrcThreadSafeContextRef |
| A reference to an orc::ThreadSafeContext instance. More...
|
|
typedef struct LLVMOrcOpaqueThreadSafeModule * | LLVMOrcThreadSafeModuleRef |
| A reference to an orc::ThreadSafeModule instance. More...
|
|
typedef LLVMErrorRef(* | LLVMOrcGenericIRModuleOperationFunction) (void *Ctx, LLVMModuleRef M) |
| A function for inspecting/mutating IR modules, suitable for use with LLVMOrcThreadSafeModuleWithModuleDo. More...
|
|
typedef struct LLVMOrcOpaqueJITTargetMachineBuilder * | LLVMOrcJITTargetMachineBuilderRef |
| A reference to an orc::JITTargetMachineBuilder instance. More...
|
|
typedef struct LLVMOrcOpaqueObjectLayer * | LLVMOrcObjectLayerRef |
| A reference to an orc::ObjectLayer instance. More...
|
|
typedef struct LLVMOrcOpaqueObjectLinkingLayer * | LLVMOrcObjectLinkingLayerRef |
| A reference to an orc::ObjectLinkingLayer instance. More...
|
|
typedef struct LLVMOrcOpaqueIRTransformLayer * | LLVMOrcIRTransformLayerRef |
| A reference to an orc::IRTransformLayer instance. More...
|
|
typedef LLVMErrorRef(* | LLVMOrcIRTransformLayerTransformFunction) (void *Ctx, LLVMOrcThreadSafeModuleRef *ModInOut, LLVMOrcMaterializationResponsibilityRef MR) |
| A function for applying transformations as part of an transform layer. More...
|
|
typedef struct LLVMOrcOpaqueObjectTransformLayer * | LLVMOrcObjectTransformLayerRef |
| A reference to an orc::ObjectTransformLayer instance. More...
|
|
typedef LLVMErrorRef(* | LLVMOrcObjectTransformLayerTransformFunction) (void *Ctx, LLVMMemoryBufferRef *ObjInOut) |
| A function for applying transformations to an object file buffer. More...
|
|
typedef struct LLVMOrcOpaqueIndirectStubsManager * | LLVMOrcIndirectStubsManagerRef |
| A reference to an orc::IndirectStubsManager instance. More...
|
|
typedef struct LLVMOrcOpaqueLazyCallThroughManager * | LLVMOrcLazyCallThroughManagerRef |
| A reference to an orc::LazyCallThroughManager instance. More...
|
|
typedef struct LLVMOrcOpaqueDumpObjects * | LLVMOrcDumpObjectsRef |
| A reference to an orc::DumpObjects object. More...
|
|
|
void | LLVMOrcExecutionSessionSetErrorReporter (LLVMOrcExecutionSessionRef ES, LLVMOrcErrorReporterFunction ReportError, void *Ctx) |
| Attach a custom error reporter function to the ExecutionSession. More...
|
|
LLVMOrcSymbolStringPoolRef | LLVMOrcExecutionSessionGetSymbolStringPool (LLVMOrcExecutionSessionRef ES) |
| Return a reference to the SymbolStringPool for an ExecutionSession. More...
|
|
void | LLVMOrcSymbolStringPoolClearDeadEntries (LLVMOrcSymbolStringPoolRef SSP) |
| Clear all unreferenced symbol string pool entries. More...
|
|
LLVMOrcSymbolStringPoolEntryRef | LLVMOrcExecutionSessionIntern (LLVMOrcExecutionSessionRef ES, const char *Name) |
| Intern a string in the ExecutionSession's SymbolStringPool and return a reference to it. More...
|
|
void | LLVMOrcRetainSymbolStringPoolEntry (LLVMOrcSymbolStringPoolEntryRef S) |
| Increments the ref-count for a SymbolStringPool entry. More...
|
|
void | LLVMOrcReleaseSymbolStringPoolEntry (LLVMOrcSymbolStringPoolEntryRef S) |
| Reduces the ref-count for of a SymbolStringPool entry. More...
|
|
const char * | LLVMOrcSymbolStringPoolEntryStr (LLVMOrcSymbolStringPoolEntryRef S) |
|
void | LLVMOrcReleaseResourceTracker (LLVMOrcResourceTrackerRef RT) |
| Reduces the ref-count of a ResourceTracker. More...
|
|
void | LLVMOrcResourceTrackerTransferTo (LLVMOrcResourceTrackerRef SrcRT, LLVMOrcResourceTrackerRef DstRT) |
| Transfers tracking of all resources associated with resource tracker SrcRT to resource tracker DstRT. More...
|
|
LLVMErrorRef | LLVMOrcResourceTrackerRemove (LLVMOrcResourceTrackerRef RT) |
| Remove all resources associated with the given tracker. More...
|
|
void | LLVMOrcDisposeDefinitionGenerator (LLVMOrcDefinitionGeneratorRef DG) |
| Dispose of a JITDylib::DefinitionGenerator. More...
|
|
void | LLVMOrcDisposeMaterializationUnit (LLVMOrcMaterializationUnitRef MU) |
| Dispose of a MaterializationUnit. More...
|
|
LLVMOrcMaterializationUnitRef | LLVMOrcCreateCustomMaterializationUnit (const char *Name, void *Ctx, LLVMOrcCSymbolFlagsMapPairs Syms, size_t NumSyms, LLVMOrcSymbolStringPoolEntryRef InitSym, LLVMOrcMaterializationUnitMaterializeFunction Materialize, LLVMOrcMaterializationUnitDiscardFunction Discard, LLVMOrcMaterializationUnitDestroyFunction Destroy) |
| Create a custom MaterializationUnit. More...
|
|
LLVMOrcMaterializationUnitRef | LLVMOrcAbsoluteSymbols (LLVMOrcCSymbolMapPairs Syms, size_t NumPairs) |
| Create a MaterializationUnit to define the given symbols as pointing to the corresponding raw addresses. More...
|
|
LLVMOrcMaterializationUnitRef | LLVMOrcLazyReexports (LLVMOrcLazyCallThroughManagerRef LCTM, LLVMOrcIndirectStubsManagerRef ISM, LLVMOrcJITDylibRef SourceRef, LLVMOrcCSymbolAliasMapPairs CallableAliases, size_t NumPairs) |
| Create a MaterializationUnit to define lazy re-expots. More...
|
|
void | LLVMOrcDisposeMaterializationResponsibility (LLVMOrcMaterializationResponsibilityRef MR) |
| Disposes of the passed MaterializationResponsibility object. More...
|
|
LLVMOrcJITDylibRef | LLVMOrcMaterializationResponsibilityGetTargetDylib (LLVMOrcMaterializationResponsibilityRef MR) |
| Returns the target JITDylib that these symbols are being materialized into. More...
|
|
LLVMOrcExecutionSessionRef | LLVMOrcMaterializationResponsibilityGetExecutionSession (LLVMOrcMaterializationResponsibilityRef MR) |
| Returns the ExecutionSession for this MaterializationResponsibility. More...
|
|
LLVMOrcCSymbolFlagsMapPairs | LLVMOrcMaterializationResponsibilityGetSymbols (LLVMOrcMaterializationResponsibilityRef MR, size_t *NumPairs) |
| Returns the symbol flags map for this responsibility instance. More...
|
|
void | LLVMOrcDisposeCSymbolFlagsMap (LLVMOrcCSymbolFlagsMapPairs Pairs) |
| Disposes of the passed LLVMOrcCSymbolFlagsMap. More...
|
|
LLVMOrcSymbolStringPoolEntryRef | LLVMOrcMaterializationResponsibilityGetInitializerSymbol (LLVMOrcMaterializationResponsibilityRef MR) |
| Returns the initialization pseudo-symbol, if any. More...
|
|
LLVMOrcSymbolStringPoolEntryRef * | LLVMOrcMaterializationResponsibilityGetRequestedSymbols (LLVMOrcMaterializationResponsibilityRef MR, size_t *NumSymbols) |
| Returns the names of any symbols covered by this MaterializationResponsibility object that have queries pending. More...
|
|
void | LLVMOrcDisposeSymbols (LLVMOrcSymbolStringPoolEntryRef *Symbols) |
| Disposes of the passed LLVMOrcSymbolStringPoolEntryRef* . More...
|
|
LLVMErrorRef | LLVMOrcMaterializationResponsibilityNotifyResolved (LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcCSymbolMapPairs Symbols, size_t NumPairs) |
|
LLVMErrorRef | LLVMOrcMaterializationResponsibilityNotifyEmitted (LLVMOrcMaterializationResponsibilityRef MR) |
| Notifies the target JITDylib (and any pending queries on that JITDylib) that all symbols covered by this MaterializationResponsibility instance have been emitted. More...
|
|
LLVMErrorRef | LLVMOrcMaterializationResponsibilityDefineMaterializing (LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcCSymbolFlagsMapPairs Pairs, size_t NumPairs) |
| Attempt to claim responsibility for new definitions. More...
|
|
void | LLVMOrcMaterializationResponsibilityFailMaterialization (LLVMOrcMaterializationResponsibilityRef MR) |
| Notify all not-yet-emitted covered by this MaterializationResponsibility instance that an error has occurred. More...
|
|
LLVMErrorRef | LLVMOrcMaterializationResponsibilityReplace (LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcMaterializationUnitRef MU) |
| Transfers responsibility to the given MaterializationUnit for all symbols defined by that MaterializationUnit. More...
|
|
LLVMErrorRef | LLVMOrcMaterializationResponsibilityDelegate (LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcSymbolStringPoolEntryRef *Symbols, size_t NumSymbols, LLVMOrcMaterializationResponsibilityRef *Result) |
| Delegates responsibility for the given symbols to the returned materialization responsibility. More...
|
|
void | LLVMOrcMaterializationResponsibilityAddDependencies (LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcSymbolStringPoolEntryRef Name, LLVMOrcCDependenceMapPairs Dependencies, size_t NumPairs) |
| Adds dependencies to a symbol that the MaterializationResponsibility is responsible for. More...
|
|
void | LLVMOrcMaterializationResponsibilityAddDependenciesForAll (LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcCDependenceMapPairs Dependencies, size_t NumPairs) |
| Adds dependencies to all symbols that the MaterializationResponsibility is responsible for. More...
|
|
LLVMOrcJITDylibRef | LLVMOrcExecutionSessionCreateBareJITDylib (LLVMOrcExecutionSessionRef ES, const char *Name) |
| Create a "bare" JITDylib. More...
|
|
LLVMErrorRef | LLVMOrcExecutionSessionCreateJITDylib (LLVMOrcExecutionSessionRef ES, LLVMOrcJITDylibRef *Result, const char *Name) |
| Create a JITDylib. More...
|
|
LLVMOrcJITDylibRef | LLVMOrcExecutionSessionGetJITDylibByName (LLVMOrcExecutionSessionRef ES, const char *Name) |
| Returns the JITDylib with the given name, or NULL if no such JITDylib exists. More...
|
|
LLVMOrcResourceTrackerRef | LLVMOrcJITDylibCreateResourceTracker (LLVMOrcJITDylibRef JD) |
| Return a reference to a newly created resource tracker associated with JD. More...
|
|
LLVMOrcResourceTrackerRef | LLVMOrcJITDylibGetDefaultResourceTracker (LLVMOrcJITDylibRef JD) |
| Return a reference to the default resource tracker for the given JITDylib. More...
|
|
LLVMErrorRef | LLVMOrcJITDylibDefine (LLVMOrcJITDylibRef JD, LLVMOrcMaterializationUnitRef MU) |
| Add the given MaterializationUnit to the given JITDylib. More...
|
|
LLVMErrorRef | LLVMOrcJITDylibClear (LLVMOrcJITDylibRef JD) |
| Calls remove on all trackers associated with this JITDylib, see JITDylib::clear(). More...
|
|
void | LLVMOrcJITDylibAddGenerator (LLVMOrcJITDylibRef JD, LLVMOrcDefinitionGeneratorRef DG) |
| Add a DefinitionGenerator to the given JITDylib. More...
|
|
LLVMOrcDefinitionGeneratorRef | LLVMOrcCreateCustomCAPIDefinitionGenerator (LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction F, void *Ctx) |
| Create a custom generator. More...
|
|
LLVMErrorRef | LLVMOrcCreateDynamicLibrarySearchGeneratorForProcess (LLVMOrcDefinitionGeneratorRef *Result, char GlobalPrefx, LLVMOrcSymbolPredicate Filter, void *FilterCtx) |
| Get a DynamicLibrarySearchGenerator that will reflect process symbols into the JITDylib. More...
|
|
LLVMErrorRef | LLVMOrcCreateDynamicLibrarySearchGeneratorForPath (LLVMOrcDefinitionGeneratorRef *Result, const char *FileName, char GlobalPrefix, LLVMOrcSymbolPredicate Filter, void *FilterCtx) |
| Get a LLVMOrcCreateDynamicLibararySearchGeneratorForPath that will reflect library symbols into the JITDylib. More...
|
|
LLVMErrorRef | LLVMOrcCreateStaticLibrarySearchGeneratorForPath (LLVMOrcDefinitionGeneratorRef *Result, LLVMOrcObjectLayerRef ObjLayer, const char *FileName, const char *TargetTriple) |
| Get a LLVMOrcCreateStaticLibrarySearchGeneratorForPath that will reflect static library symbols into the JITDylib. More...
|
|
LLVMOrcThreadSafeContextRef | LLVMOrcCreateNewThreadSafeContext (void) |
| Create a ThreadSafeContext containing a new LLVMContext. More...
|
|
LLVMContextRef | LLVMOrcThreadSafeContextGetContext (LLVMOrcThreadSafeContextRef TSCtx) |
| Get a reference to the wrapped LLVMContext. More...
|
|
void | LLVMOrcDisposeThreadSafeContext (LLVMOrcThreadSafeContextRef TSCtx) |
| Dispose of a ThreadSafeContext. More...
|
|
LLVMOrcThreadSafeModuleRef | LLVMOrcCreateNewThreadSafeModule (LLVMModuleRef M, LLVMOrcThreadSafeContextRef TSCtx) |
| Create a ThreadSafeModule wrapper around the given LLVM module. More...
|
|
void | LLVMOrcDisposeThreadSafeModule (LLVMOrcThreadSafeModuleRef TSM) |
| Dispose of a ThreadSafeModule. More...
|
|
LLVMErrorRef | LLVMOrcThreadSafeModuleWithModuleDo (LLVMOrcThreadSafeModuleRef TSM, LLVMOrcGenericIRModuleOperationFunction F, void *Ctx) |
| Apply the given function to the module contained in this ThreadSafeModule. More...
|
|
LLVMErrorRef | LLVMOrcJITTargetMachineBuilderDetectHost (LLVMOrcJITTargetMachineBuilderRef *Result) |
| Create a JITTargetMachineBuilder by detecting the host. More...
|
|
LLVMOrcJITTargetMachineBuilderRef | LLVMOrcJITTargetMachineBuilderCreateFromTargetMachine (LLVMTargetMachineRef TM) |
| Create a JITTargetMachineBuilder from the given TargetMachine template. More...
|
|
void | LLVMOrcDisposeJITTargetMachineBuilder (LLVMOrcJITTargetMachineBuilderRef JTMB) |
| Dispose of a JITTargetMachineBuilder. More...
|
|
char * | LLVMOrcJITTargetMachineBuilderGetTargetTriple (LLVMOrcJITTargetMachineBuilderRef JTMB) |
| Returns the target triple for the given JITTargetMachineBuilder as a string. More...
|
|
void | LLVMOrcJITTargetMachineBuilderSetTargetTriple (LLVMOrcJITTargetMachineBuilderRef JTMB, const char *TargetTriple) |
| Sets the target triple for the given JITTargetMachineBuilder to the given string. More...
|
|
LLVMErrorRef | LLVMOrcObjectLayerAddObjectFile (LLVMOrcObjectLayerRef ObjLayer, LLVMOrcJITDylibRef JD, LLVMMemoryBufferRef ObjBuffer) |
| Add an object to an ObjectLayer to the given JITDylib. More...
|
|
LLVMErrorRef | LLVMOrcObjectLayerAddObjectFileWithRT (LLVMOrcObjectLayerRef ObjLayer, LLVMOrcResourceTrackerRef RT, LLVMMemoryBufferRef ObjBuffer) |
| Add an object to an ObjectLayer using the given ResourceTracker. More...
|
|
void | LLVMOrcObjectLayerEmit (LLVMOrcObjectLayerRef ObjLayer, LLVMOrcMaterializationResponsibilityRef R, LLVMMemoryBufferRef ObjBuffer) |
| Emit an object buffer to an ObjectLayer. More...
|
|
void | LLVMOrcDisposeObjectLayer (LLVMOrcObjectLayerRef ObjLayer) |
| Dispose of an ObjectLayer. More...
|
|
void | LLVMOrcIRTransformLayerEmit (LLVMOrcIRTransformLayerRef IRTransformLayer, LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcThreadSafeModuleRef TSM) |
|
void | LLVMOrcIRTransformLayerSetTransform (LLVMOrcIRTransformLayerRef IRTransformLayer, LLVMOrcIRTransformLayerTransformFunction TransformFunction, void *Ctx) |
| Set the transform function of the provided transform layer, passing through a pointer to user provided context. More...
|
|
void | LLVMOrcObjectTransformLayerSetTransform (LLVMOrcObjectTransformLayerRef ObjTransformLayer, LLVMOrcObjectTransformLayerTransformFunction TransformFunction, void *Ctx) |
| Set the transform function on an LLVMOrcObjectTransformLayer. More...
|
|
LLVMOrcIndirectStubsManagerRef | LLVMOrcCreateLocalIndirectStubsManager (const char *TargetTriple) |
| Create a LocalIndirectStubsManager from the given target triple. More...
|
|
void | LLVMOrcDisposeIndirectStubsManager (LLVMOrcIndirectStubsManagerRef ISM) |
| Dispose of an IndirectStubsManager. More...
|
|
LLVMErrorRef | LLVMOrcCreateLocalLazyCallThroughManager (const char *TargetTriple, LLVMOrcExecutionSessionRef ES, LLVMOrcJITTargetAddress ErrorHandlerAddr, LLVMOrcLazyCallThroughManagerRef *LCTM) |
|
void | LLVMOrcDisposeLazyCallThroughManager (LLVMOrcLazyCallThroughManagerRef LCTM) |
| Dispose of an LazyCallThroughManager. More...
|
|
LLVMOrcDumpObjectsRef | LLVMOrcCreateDumpObjects (const char *DumpDir, const char *IdentifierOverride) |
| Create a DumpObjects instance. More...
|
|
void | LLVMOrcDisposeDumpObjects (LLVMOrcDumpObjectsRef DumpObjects) |
| Dispose of a DumpObjects instance. More...
|
|
LLVMErrorRef | LLVMOrcDumpObjects_CallOperator (LLVMOrcDumpObjectsRef DumpObjects, LLVMMemoryBufferRef *ObjBuffer) |
| Dump the contents of the given MemoryBuffer. More...
|
|