Package org.lwjgl.llvm
@NullMarked
package org.lwjgl.llvm
Contains bindings to LLVM, a collection of modular and reusable compiler and toolchain technologies.
BINDINGS ONLY
LWJGL does not currently include pre-built LLVM/Clang binaries. The user must download or build LLVM separately and use
Configuration
to point LWJGL to the appropriate binaries.
Resources
-
ClassDescriptionContains the function pointers loaded from
ClangIndex.getLibrary()
.Contains the function pointers loaded fromClangIndex.getLibrary()
.Contains the function pointers loaded fromClangIndex.getLibrary()
.Contains the function pointers loaded fromClangIndex.getLibrary()
.Contains the function pointers loaded from the CLANGSharedLibrary
.Contains the function pointers loaded fromClangIndex.getLibrary()
.struct CXCodeCompleteResults { {@link CXCompletionResult CXCompletionResult} * Results; unsigned NumResults; }
An array ofCXCodeCompleteResults
structs.struct CXComment { void const * ASTNode; CXTranslationUnit TranslationUnit; }
An array ofCXComment
structs.struct CXCompletionResult { enum CXCursorKind CursorKind; CXCompletionString CompletionString; }
An array ofCXCompletionResult
structs.struct CXCursor { enum CXCursorKind kind; int xdata; void const * data[3]; }
An array ofCXCursor
structs.Callback function:(* anonymous)
Callback function:(* anonymous)
struct CXCursorAndRangeVisitor { void * context; enum CXVisitorResult (* visit) (void * context, CXCursor cursor, CXSourceRange range); }
An array ofCXCursorAndRangeVisitor
structs.Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
struct CXFileUniqueID { unsigned long long data[3]; }
An array ofCXFileUniqueID
structs.struct CXIdxAttrInfo { CXIdxAttrKind kind; {@link CXCursor CXCursor} cursor; {@link CXIdxLoc CXIdxLoc} loc; }
An array ofCXIdxAttrInfo
structs.struct CXIdxBaseClassInfo { {@link CXIdxEntityInfo CXIdxEntityInfo} const * base; {@link CXCursor CXCursor} cursor; {@link CXIdxLoc CXIdxLoc} loc; }
An array ofCXIdxBaseClassInfo
structs.struct CXIdxContainerInfo { {@link CXCursor CXCursor} cursor; }
An array ofCXIdxContainerInfo
structs.struct CXIdxCXXClassDeclInfo { {@link CXIdxDeclInfo CXIdxDeclInfo} const * declInfo; {@link CXIdxBaseClassInfo CXIdxBaseClassInfo} const * const * bases; unsigned numBases; }
An array ofCXIdxCXXClassDeclInfo
structs.struct CXIdxDeclInfo { {@link CXIdxEntityInfo CXIdxEntityInfo} const * entityInfo; {@link CXCursor CXCursor} cursor; {@link CXIdxLoc CXIdxLoc} loc; {@link CXIdxContainerInfo CXIdxContainerInfo} const * semanticContainer; {@link CXIdxContainerInfo CXIdxContainerInfo} const * lexicalContainer; int isRedeclaration; int isDefinition; int isContainer; {@link CXIdxContainerInfo CXIdxContainerInfo} const * declAsContainer; int isImplicit; {@link CXIdxAttrInfo CXIdxAttrInfo} const * const * attributes; unsigned numAttributes; unsigned flags; }
An array ofCXIdxDeclInfo
structs.struct CXIdxEntityInfo { CXIdxEntityKind kind; CXIdxEntityCXXTemplateKind templateKind; CXIdxEntityLanguage lang; char const * name; char const * USR; {@link CXCursor CXCursor} cursor; {@link CXIdxAttrInfo CXIdxAttrInfo} const * const * attributes; unsigned numAttributes; }
An array ofCXIdxEntityInfo
structs.struct CXIdxEntityRefInfo { CXIdxEntityRefKind kind; {@link CXCursor CXCursor} cursor; {@link CXIdxLoc CXIdxLoc} loc; {@link CXIdxEntityInfo CXIdxEntityInfo} const * referencedEntity; {@link CXIdxEntityInfo CXIdxEntityInfo} const * parentEntity; {@link CXIdxContainerInfo CXIdxContainerInfo} const * container; CXSymbolRole role; }
An array ofCXIdxEntityRefInfo
structs.struct CXIdxIBOutletCollectionAttrInfo { {@link CXIdxAttrInfo CXIdxAttrInfo} const * attrInfo; {@link CXIdxEntityInfo CXIdxEntityInfo} const * objcClass; {@link CXCursor CXCursor} classCursor; {@link CXIdxLoc CXIdxLoc} classLoc; }
An array ofCXIdxIBOutletCollectionAttrInfo
structs.struct CXIdxImportedASTFileInfo { CXFile file; CXModule module; {@link CXIdxLoc CXIdxLoc} loc; int isImplicit; }
An array ofCXIdxImportedASTFileInfo
structs.struct CXIdxIncludedFileInfo { {@link CXIdxLoc CXIdxLoc} hashLoc; char const * filename; CXFile file; int isImport; int isAngled; int isModuleImport; }
An array ofCXIdxIncludedFileInfo
structs.struct CXIdxLoc { void * ptr_data[2]; unsigned int_data; }
An array ofCXIdxLoc
structs.struct CXIdxObjCCategoryDeclInfo { {@link CXIdxObjCContainerDeclInfo CXIdxObjCContainerDeclInfo} const * containerInfo; {@link CXIdxEntityInfo CXIdxEntityInfo} const * objcClass; {@link CXCursor CXCursor} classCursor; {@link CXIdxLoc CXIdxLoc} classLoc; {@link CXIdxObjCProtocolRefListInfo CXIdxObjCProtocolRefListInfo} const * protocols; }
An array ofCXIdxObjCCategoryDeclInfo
structs.struct CXIdxObjCContainerDeclInfo { {@link CXIdxDeclInfo CXIdxDeclInfo} const * declInfo; CXIdxObjCContainerKind kind; }
An array ofCXIdxObjCContainerDeclInfo
structs.struct CXIdxObjCInterfaceDeclInfo { {@link CXIdxObjCContainerDeclInfo CXIdxObjCContainerDeclInfo} const * containerInfo; {@link CXIdxBaseClassInfo CXIdxBaseClassInfo} const * superInfo; {@link CXIdxObjCProtocolRefListInfo CXIdxObjCProtocolRefListInfo} const * protocols; }
An array ofCXIdxObjCInterfaceDeclInfo
structs.struct CXIdxObjCPropertyDeclInfo { {@link CXIdxDeclInfo CXIdxDeclInfo} const * declInfo; {@link CXIdxEntityInfo CXIdxEntityInfo} const * getter; {@link CXIdxEntityInfo CXIdxEntityInfo} const * setter; }
An array ofCXIdxObjCPropertyDeclInfo
structs.struct CXIdxObjCProtocolRefInfo { {@link CXIdxEntityInfo CXIdxEntityInfo} const * protocol; {@link CXCursor CXCursor} cursor; {@link CXIdxLoc CXIdxLoc} loc; }
An array ofCXIdxObjCProtocolRefInfo
structs.struct CXIdxObjCProtocolRefListInfo { {@link CXIdxObjCProtocolRefInfo CXIdxObjCProtocolRefInfo} const * const * protocols; unsigned numProtocols; }
An array ofCXIdxObjCProtocolRefListInfo
structs.Callback function:(* anonymous)
Callback function:(* anonymous)
struct CXIndexOptions { unsigned Size; unsigned char ThreadBackgroundPriorityForIndexing; unsigned char ThreadBackgroundPriorityForEditing; unsigned ExcludeDeclarationsFromPCH : 1; unsigned DisplayDiagnostics : 1; unsigned StorePreamblesInMemory : 1; unsigned Reserved : 13; char const * PreambleStoragePath; char const * InvocationEmissionPath; }
An array ofCXIndexOptions
structs.struct CXPlatformAvailability { {@link CXString CXString} Platform; {@link CXVersion CXVersion} Introduced; {@link CXVersion CXVersion} Deprecated; {@link CXVersion CXVersion} Obsoleted; int Unavailable; {@link CXString CXString} Message; }
An array ofCXPlatformAvailability
structs.struct CXSourceLocation { void const * ptr_data[2]; unsigned int_data; }
An array ofCXSourceLocation
structs.struct CXSourceRange { void const * ptr_data[2]; unsigned begin_int_data; unsigned end_int_data; }
An array ofCXSourceRange
structs.struct CXSourceRangeList { unsigned count; {@link CXSourceRange CXSourceRange} * ranges; }
An array ofCXSourceRangeList
structs.struct CXString { void const * data; unsigned private_flags; }
An array ofCXString
structs.struct CXStringSet { {@link CXString CXString} * Strings; unsigned Count; }
An array ofCXStringSet
structs.struct CXToken { unsigned int_data[4]; void * ptr_data; }
An array ofCXToken
structs.struct CXTUResourceUsage { void * data; unsigned numEntries; {@link CXTUResourceUsageEntry CXTUResourceUsageEntry} * entries; }
An array ofCXTUResourceUsage
structs.struct CXTUResourceUsageEntry { enum CXTUResourceUsageKind kind; unsigned long amount; }
An array ofCXTUResourceUsageEntry
structs.struct CXType { enum CXTypeKind kind; void * data[2]; }
An array ofCXType
structs.struct CXUnsavedFile { char const * Filename; char const * Contents; unsigned long Length; }
An array ofCXUnsavedFile
structs.struct CXVersion { int Major; int Minor; int Subminor; }
An array ofCXVersion
structs.Callback function:(* anonymous)
Callback function:(* anonymous)
struct IndexerCallbacks { int (* abortQuery) (CXClientData client_data, void * reserved); void (* diagnostic) (CXClientData client_data, CXDiagnosticSet diagnosticSet, void * reserved); CXIdxClientFile (* enteredMainFile) (CXClientData client_data, CXFile mainFile, void * reserved); CXIdxClientFile (* ppIncludedFile) (CXClientData client_data, CXIdxIncludedFileInfo const * info); CXIdxClientASTFile (* importedASTFile) (CXClientData client_data, CXIdxImportedASTFileInfo const * info); CXIdxClientContainer (* startedTranslationUnit) (CXClientData client_data, void * reserved); void (* indexDeclaration) (CXClientData client_data, CXIdxDeclInfo const * info); void (* indexEntityReference) (CXClientData client_data, CXIdxEntityRefInfo const * info); }
An array ofIndexerCallbacks
structs.Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded from the LLVMSharedLibrary
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Callback function:(* anonymous)
Callback function:(* anonymous)
Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Callback function:(* anonymous)
Callback function:(* anonymous)
Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.struct LLVMJITEvaluatedSymbol { LLVMOrcExecutorAddress Address; {@link LLVMJITSymbolFlags LLVMJITSymbolFlags} Flags; }
An array ofLLVMJITEvaluatedSymbol
structs.struct LLVMJITSymbolFlags { uint8_t GenericFlags; uint8_t TargetFlags; }
An array ofLLVMJITSymbolFlags
structs.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded from the LTOSharedLibrary
.struct LLVMMCJITCompilerOptions { unsigned int OptLevel; LLVMCodeModel CodeModel; LLVMBool NoFramePointerElim; LLVMBool EnableFastISel; LLVMMCJITMemoryManagerRef MCJMM; }
An array ofLLVMMCJITCompilerOptions
structs.Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:LLVMMemoryManagerCreateContextCallback
Callback function:LLVMMemoryManagerCreateContextCallback
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:LLVMMemoryManagerNotifyTerminatingCallback
Callback function:LLVMMemoryManagerNotifyTerminatingCallback
Callback function:(* anonymous)
Callback function:(* anonymous)
Contains the function pointers loaded fromLLVMCore.getLibrary()
.struct LLVMOpInfo1 { {@link LLVMOpInfoSymbol1 struct LLVMOpInfoSymbol1} AddSymbol; {@link LLVMOpInfoSymbol1 struct LLVMOpInfoSymbol1} SubtractSymbol; uint64_t Value; uint64_t VariantKind; }
An array ofLLVMOpInfo1
structs.Callback function:(* anonymous)
Callback function:(* anonymous)
struct LLVMOpInfoSymbol1 { uint64_t Present; char const * Name; uint64_t Value; }
An array ofLLVMOpInfoSymbol1
structs.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Callback function:LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction
Callback function:LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction
struct LLVMOrcCDependenceMapPair { LLVMOrcJITDylibRef JD; {@link LLVMOrcCSymbolsList LLVMOrcCSymbolsList} Names; }
An array ofLLVMOrcCDependenceMapPair
structs.struct LLVMOrcCJITDylibSearchOrderElement { LLVMOrcJITDylibRef JD; LLVMOrcJITDylibLookupFlags JDLookupFlags; }
An array ofLLVMOrcCJITDylibSearchOrderElement
structs.struct LLVMOrcCLookupSetElement { LLVMOrcSymbolStringPoolEntryRef Name; LLVMOrcSymbolLookupFlags LookupFlags; }
An array ofLLVMOrcCLookupSetElement
structs.struct LLVMOrcCSymbolAliasMapEntry { LLVMOrcSymbolStringPoolEntryRef Name; {@link LLVMJITSymbolFlags LLVMJITSymbolFlags} Flags; }
An array ofLLVMOrcCSymbolAliasMapEntry
structs.struct LLVMOrcCSymbolAliasMapPair { LLVMOrcSymbolStringPoolEntryRef Name; {@link LLVMOrcCSymbolAliasMapEntry LLVMOrcCSymbolAliasMapEntry} Entry; }
An array ofLLVMOrcCSymbolAliasMapPair
structs.struct LLVMOrcCSymbolDependenceGroup { {@link LLVMOrcCSymbolsList LLVMOrcCSymbolsList} Symbols; {@link LLVMOrcCDependenceMapPair LLVMOrcCDependenceMapPair}s Dependencies; size_t NumDependencies; }
An array ofLLVMOrcCSymbolDependenceGroup
structs.struct LLVMOrcCSymbolFlagsMapPair { LLVMOrcSymbolStringPoolEntryRef Name; {@link LLVMJITSymbolFlags LLVMJITSymbolFlags} Flags; }
An array ofLLVMOrcCSymbolFlagsMapPair
structs.struct LLVMOrcCSymbolMapPair { LLVMOrcSymbolStringPoolEntryRef Name; {@link LLVMJITEvaluatedSymbol LLVMJITEvaluatedSymbol} Sym; }
An array ofLLVMOrcCSymbolMapPair
structs.struct LLVMOrcCSymbolsList { LLVMOrcSymbolStringPoolEntryRef * Symbols; size_t Length; }
An array ofLLVMOrcCSymbolsList
structs.Callback function:LLVMOrcDisposeCAPIDefinitionGeneratorFunction
Callback function:LLVMOrcDisposeCAPIDefinitionGeneratorFunction
Contains the function pointers loaded fromLLVMCore.getLibrary()
.Callback function:LLVMOrcErrorReporterFunction
Callback function:LLVMOrcErrorReporterFunction
Callback function:LLVMOrcExecutionSessionLookupHandleResultFunction
Callback function:LLVMOrcExecutionSessionLookupHandleResultFunction
Callback function:LLVMOrcGenericIRModuleOperationFunction
Callback function:LLVMOrcGenericIRModuleOperationFunction
Callback function:LLVMOrcIRTransformLayerTransformFunction
Callback function:LLVMOrcIRTransformLayerTransformFunction
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:LLVMOrcMaterializationUnitDestroyFunction
Callback function:LLVMOrcMaterializationUnitDestroyFunction
Callback function:LLVMOrcMaterializationUnitDiscardFunction
Callback function:LLVMOrcMaterializationUnitDiscardFunction
Callback function:LLVMOrcMaterializationUnitMaterializeFunction
Callback function:LLVMOrcMaterializationUnitMaterializeFunction
Callback function:LLVMOrcObjectTransformLayerTransformFunction
Callback function:LLVMOrcObjectTransformLayerTransformFunction
Callback function:LLVMOrcSymbolPredicate
Callback function:LLVMOrcSymbolPredicate
Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Callback function:(* anonymous)
Callback function:(* anonymous)
Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Contains the function pointers loaded fromLLVMCore.getLibrary()
.Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
Callback function:(* anonymous)
struct LTOObjectBuffer { char const * Buffer; size_t Size; }
An array ofLTOObjectBuffer
structs.