LLVM 20.0.0git
|
Go to the source code of this file.
Classes | |
struct | LLVMJITSymbolFlags |
Represents the linkage flags for a symbol definition. More... | |
struct | LLVMJITEvaluatedSymbol |
Represents an evaluated symbol address and flags. More... | |
struct | LLVMOrcCSymbolFlagsMapPair |
Represents a pair of a symbol name and LLVMJITSymbolFlags. More... | |
struct | LLVMOrcCSymbolMapPair |
Represents a pair of a symbol name and an evaluated symbol. More... | |
struct | LLVMOrcCSymbolAliasMapEntry |
Represents a SymbolAliasMapEntry. More... | |
struct | LLVMOrcCSymbolAliasMapPair |
Represents a pair of a symbol name and SymbolAliasMapEntry. More... | |
struct | LLVMOrcCSymbolsList |
Represents a list of LLVMOrcSymbolStringPoolEntryRef and the associated length. More... | |
struct | LLVMOrcCDependenceMapPair |
Represents a pair of a JITDylib and LLVMOrcCSymbolsList. More... | |
struct | LLVMOrcCSymbolDependenceGroup |
A set of symbols that share dependencies. More... | |
struct | LLVMOrcCJITDylibSearchOrderElement |
An element type for a JITDylib search order. More... | |
struct | LLVMOrcCLookupSetElement |
An element type for a symbol lookup set. More... | |
Typedefs | |
typedef uint64_t | LLVMOrcJITTargetAddress |
Represents an address in the executor process. | |
typedef uint64_t | LLVMOrcExecutorAddress |
Represents an address in the executor process. | |
typedef uint8_t | LLVMJITSymbolTargetFlags |
Represents target specific flags for a symbol definition. | |
typedef struct LLVMOrcOpaqueExecutionSession * | LLVMOrcExecutionSessionRef |
A reference to an orc::ExecutionSession instance. | |
typedef void(* | LLVMOrcErrorReporterFunction) (void *Ctx, LLVMErrorRef Err) |
Error reporter function. | |
typedef struct LLVMOrcOpaqueSymbolStringPool * | LLVMOrcSymbolStringPoolRef |
A reference to an orc::SymbolStringPool. | |
typedef struct LLVMOrcOpaqueSymbolStringPoolEntry * | LLVMOrcSymbolStringPoolEntryRef |
A reference to an orc::SymbolStringPool table entry. | |
typedef LLVMOrcCSymbolFlagsMapPair * | LLVMOrcCSymbolFlagsMapPairs |
Represents a list of (SymbolStringPtr, JITSymbolFlags) pairs that can be used to construct a SymbolFlagsMap. | |
typedef LLVMOrcCSymbolMapPair * | LLVMOrcCSymbolMapPairs |
Represents a list of (SymbolStringPtr, JITEvaluatedSymbol) pairs that can be used to construct a SymbolMap. | |
typedef LLVMOrcCSymbolAliasMapPair * | LLVMOrcCSymbolAliasMapPairs |
Represents a list of (SymbolStringPtr, (SymbolStringPtr, JITSymbolFlags)) pairs that can be used to construct a SymbolFlagsMap. | |
typedef struct LLVMOrcOpaqueJITDylib * | LLVMOrcJITDylibRef |
A reference to an orc::JITDylib instance. | |
typedef LLVMOrcCDependenceMapPair * | LLVMOrcCDependenceMapPairs |
Represents a list of (JITDylibRef, (LLVMOrcSymbolStringPoolEntryRef*, size_t)) pairs that can be used to construct a SymbolDependenceMap. | |
typedef LLVMOrcCJITDylibSearchOrderElement * | LLVMOrcCJITDylibSearchOrder |
A JITDylib search order. | |
typedef LLVMOrcCLookupSetElement * | LLVMOrcCLookupSet |
A set of symbols to look up / generate. | |
typedef struct LLVMOrcOpaqueMaterializationUnit * | LLVMOrcMaterializationUnitRef |
A reference to a uniquely owned orc::MaterializationUnit instance. | |
typedef struct LLVMOrcOpaqueMaterializationResponsibility * | LLVMOrcMaterializationResponsibilityRef |
A reference to a uniquely owned orc::MaterializationResponsibility instance. | |
typedef void(* | LLVMOrcMaterializationUnitMaterializeFunction) (void *Ctx, LLVMOrcMaterializationResponsibilityRef MR) |
A MaterializationUnit materialize callback. | |
typedef void(* | LLVMOrcMaterializationUnitDiscardFunction) (void *Ctx, LLVMOrcJITDylibRef JD, LLVMOrcSymbolStringPoolEntryRef Symbol) |
A MaterializationUnit discard callback. | |
typedef void(* | LLVMOrcMaterializationUnitDestroyFunction) (void *Ctx) |
A MaterializationUnit destruction callback. | |
typedef struct LLVMOrcOpaqueResourceTracker * | LLVMOrcResourceTrackerRef |
A reference to an orc::ResourceTracker instance. | |
typedef struct LLVMOrcOpaqueDefinitionGenerator * | LLVMOrcDefinitionGeneratorRef |
A reference to an orc::DefinitionGenerator. | |
typedef struct LLVMOrcOpaqueLookupState * | LLVMOrcLookupStateRef |
An opaque lookup state object. | |
typedef LLVMErrorRef(* | LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction) (LLVMOrcDefinitionGeneratorRef GeneratorObj, void *Ctx, LLVMOrcLookupStateRef *LookupState, LLVMOrcLookupKind Kind, LLVMOrcJITDylibRef JD, LLVMOrcJITDylibLookupFlags JDLookupFlags, LLVMOrcCLookupSet LookupSet, size_t LookupSetSize) |
A custom generator function. | |
typedef void(* | LLVMOrcDisposeCAPIDefinitionGeneratorFunction) (void *Ctx) |
Disposer for a custom generator. | |
typedef int(* | LLVMOrcSymbolPredicate) (void *Ctx, LLVMOrcSymbolStringPoolEntryRef Sym) |
Predicate function for SymbolStringPoolEntries. | |
typedef struct LLVMOrcOpaqueThreadSafeContext * | LLVMOrcThreadSafeContextRef |
A reference to an orc::ThreadSafeContext instance. | |
typedef struct LLVMOrcOpaqueThreadSafeModule * | LLVMOrcThreadSafeModuleRef |
A reference to an orc::ThreadSafeModule instance. | |
typedef LLVMErrorRef(* | LLVMOrcGenericIRModuleOperationFunction) (void *Ctx, LLVMModuleRef M) |
A function for inspecting/mutating IR modules, suitable for use with LLVMOrcThreadSafeModuleWithModuleDo. | |
typedef struct LLVMOrcOpaqueJITTargetMachineBuilder * | LLVMOrcJITTargetMachineBuilderRef |
A reference to an orc::JITTargetMachineBuilder instance. | |
typedef struct LLVMOrcOpaqueObjectLayer * | LLVMOrcObjectLayerRef |
A reference to an orc::ObjectLayer instance. | |
typedef struct LLVMOrcOpaqueObjectLinkingLayer * | LLVMOrcObjectLinkingLayerRef |
A reference to an orc::ObjectLinkingLayer instance. | |
typedef struct LLVMOrcOpaqueIRTransformLayer * | LLVMOrcIRTransformLayerRef |
A reference to an orc::IRTransformLayer instance. | |
typedef LLVMErrorRef(* | LLVMOrcIRTransformLayerTransformFunction) (void *Ctx, LLVMOrcThreadSafeModuleRef *ModInOut, LLVMOrcMaterializationResponsibilityRef MR) |
A function for applying transformations as part of an transform layer. | |
typedef struct LLVMOrcOpaqueObjectTransformLayer * | LLVMOrcObjectTransformLayerRef |
A reference to an orc::ObjectTransformLayer instance. | |
typedef LLVMErrorRef(* | LLVMOrcObjectTransformLayerTransformFunction) (void *Ctx, LLVMMemoryBufferRef *ObjInOut) |
A function for applying transformations to an object file buffer. | |
typedef struct LLVMOrcOpaqueIndirectStubsManager * | LLVMOrcIndirectStubsManagerRef |
A reference to an orc::IndirectStubsManager instance. | |
typedef struct LLVMOrcOpaqueLazyCallThroughManager * | LLVMOrcLazyCallThroughManagerRef |
A reference to an orc::LazyCallThroughManager instance. | |
typedef struct LLVMOrcOpaqueDumpObjects * | LLVMOrcDumpObjectsRef |
A reference to an orc::DumpObjects object. | |
typedef void(* | LLVMOrcExecutionSessionLookupHandleResultFunction) (LLVMErrorRef Err, LLVMOrcCSymbolMapPairs Result, size_t NumPairs, void *Ctx) |
Callback type for ExecutionSession lookups. | |
Enumerations | |
enum | LLVMJITSymbolGenericFlags { LLVMJITSymbolGenericFlagsNone = 0 , LLVMJITSymbolGenericFlagsExported = 1U << 0 , LLVMJITSymbolGenericFlagsWeak = 1U << 1 , LLVMJITSymbolGenericFlagsCallable = 1U << 2 , LLVMJITSymbolGenericFlagsMaterializationSideEffectsOnly = 1U << 3 } |
Represents generic linkage flags for a symbol definition. More... | |
enum | LLVMOrcLookupKind { LLVMOrcLookupKindStatic , LLVMOrcLookupKindDLSym } |
Lookup kind. More... | |
enum | LLVMOrcJITDylibLookupFlags { LLVMOrcJITDylibLookupFlagsMatchExportedSymbolsOnly , LLVMOrcJITDylibLookupFlagsMatchAllSymbols } |
JITDylib lookup flags. More... | |
enum | LLVMOrcSymbolLookupFlags { LLVMOrcSymbolLookupFlagsRequiredSymbol , LLVMOrcSymbolLookupFlagsWeaklyReferencedSymbol } |
Symbol lookup flags for lookup sets. More... | |