@NonnullDefault
Package org.lwjgl.llvm
Contains bindings to LLVM, a collection of modular and reusable compiler and toolchain technologies.
UNSTABLE API
Until these bindings are sufficiently tested, this API should be considered unstable.
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.
-
Interface Summary Interface Description CXCursorAndRangeVisitI Instances of this interface may be set to thevisit
field of theCXCursorAndRangeVisitor
struct.CXCursorVisitorI Instances of this interface may be passed to thevisitChildren
method.CXExecuteOnThreadI Instances of this interface may be passed to theexecuteOnThread
method.CXFieldVisitorI Instances of this interface may be passed to theType_visitFields
method.CXInclusionVisitorI Instances of this interface may be passed to thegetInclusions
method.IndexerAbortQueryI Instances of this interface may be set to theabortQuery
field of theIndexerCallbacks
struct.IndexerDiagnosticI Instances of this interface may be set to thediagnostic
field of theIndexerCallbacks
struct.IndexerEnteredMainFileI Instances of this interface may be set to theenteredMainFile
field of theIndexerCallbacks
struct.IndexerImportedASTFileI Instances of this interface may be set to theimportedASTFile
field of theIndexerCallbacks
struct.IndexerIncludedFileI Instances of this interface may be set to theppIncludedFile
field of theIndexerCallbacks
struct.IndexerIndexDeclarationI Instances of this interface may be set to theindexDeclaration
field of theIndexerCallbacks
struct.IndexerIndexEntityReferenceI Instances of this interface may be set to theindexEntityReference
field of theIndexerCallbacks
struct.IndexerStartedTranslationUnitI Instances of this interface may be set to thestartedTranslationUnit
field of theIndexerCallbacks
struct.LLVMDiagnosticHandlerI Instances of this interface may be passed to theContextSetDiagnosticHandler
method.LLVMFatalErrorHandlerI Instances of this interface may be passed to theInstallFatalErrorHandler
method.LLVMMemoryManagerAllocateCodeSectionCallbackI Instances of this interface may be passed to theCreateSimpleMCJITMemoryManager
method.LLVMMemoryManagerAllocateDataSectionCallbackI Instances of this interface may be passed to theCreateSimpleMCJITMemoryManager
method.LLVMMemoryManagerDestroyCallbackI Instances of this interface may be passed to theCreateSimpleMCJITMemoryManager
method.LLVMMemoryManagerFinalizeMemoryCallbackI Instances of this interface may be passed to theCreateSimpleMCJITMemoryManager
method.LLVMOpInfoCallbackI Instances of this interface may be passed to theCreateDisasm
,CreateDisasmCPU
andCreateDisasmCPUFeatures
methods.LLVMOrcLazyCompileCallbackFnI Instances of this interface may be passed to theOrcCreateLazyCompileCallback
method.LLVMOrcSymbolResolverFnI Instances of this interface may be passed to theOrcAddEagerlyCompiledIR
,OrcAddLazilyCompiledIR
andOrcAddObjectFile
methods.LLVMSymbolLookupCallbackI Instances of this interface may be passed to theCreateDisasm
,CreateDisasmCPU
andCreateDisasmCPUFeatures
methods.LLVMYieldCallbackI Instances of this interface may be passed to theContextSetYieldCallback
method.LTODiagnosticHandlerI Instances of this interface may be passed to thecodegen_set_diagnostic_handler
method. -
Class Summary Class Description ClangBuildSystem ClangBuildSystem.Functions Contains the function pointers loaded fromClangIndex.getLibrary()
.ClangCompilationDatabase ClangCompilationDatabase.Functions Contains the function pointers loaded fromClangIndex.getLibrary()
.ClangDocumentation ClangDocumentation.Functions Contains the function pointers loaded fromClangIndex.getLibrary()
.ClangIndex ClangIndex.Functions Contains the function pointers loaded from the CLANGSharedLibrary
.CXCodeCompleteResults Contains the results of code-completion.CXCodeCompleteResults.Buffer An array ofCXCodeCompleteResults
structs.CXComment A parsed comment.CXComment.Buffer An array ofCXComment
structs.CXCompletionResult A single result of code completion.CXCompletionResult.Buffer An array ofCXCompletionResult
structs.CXCursor A cursor representing some element in the abstract syntax tree for a translation unit.CXCursor.Buffer An array ofCXCursor
structs.CXCursorAndRangeVisit Instances of this class may be set to thevisit
field of theCXCursorAndRangeVisitor
struct.CXCursorAndRangeVisitor LayoutCXCursorAndRangeVisitor.Buffer An array ofCXCursorAndRangeVisitor
structs.CXCursorVisitor Instances of this class may be passed to thevisitChildren
method.CXExecuteOnThread Instances of this class may be passed to theexecuteOnThread
method.CXFieldVisitor Instances of this class may be passed to theType_visitFields
method.CXFileUniqueID Uniquely identifies a CXFile, that refers to the same underlying file, across an indexing session.CXFileUniqueID.Buffer An array ofCXFileUniqueID
structs.CXIdxAttrInfo LayoutCXIdxAttrInfo.Buffer An array ofCXIdxAttrInfo
structs.CXIdxBaseClassInfo LayoutCXIdxBaseClassInfo.Buffer An array ofCXIdxBaseClassInfo
structs.CXIdxContainerInfo LayoutCXIdxContainerInfo.Buffer An array ofCXIdxContainerInfo
structs.CXIdxCXXClassDeclInfo LayoutCXIdxCXXClassDeclInfo.Buffer An array ofCXIdxCXXClassDeclInfo
structs.CXIdxDeclInfo Member documentationCXIdxDeclInfo.Buffer An array ofCXIdxDeclInfo
structs.CXIdxEntityInfo LayoutCXIdxEntityInfo.Buffer An array ofCXIdxEntityInfo
structs.CXIdxEntityRefInfo Data forIndexerCallbacks.indexEntityReference()
.CXIdxEntityRefInfo.Buffer An array ofCXIdxEntityRefInfo
structs.CXIdxIBOutletCollectionAttrInfo LayoutCXIdxIBOutletCollectionAttrInfo.Buffer An array ofCXIdxIBOutletCollectionAttrInfo
structs.CXIdxImportedASTFileInfo Data for IndexerCallbacks#importedASTFile.CXIdxImportedASTFileInfo.Buffer An array ofCXIdxImportedASTFileInfo
structs.CXIdxIncludedFileInfo Data forppIncludedFile
callback.CXIdxIncludedFileInfo.Buffer An array ofCXIdxIncludedFileInfo
structs.CXIdxLoc Source location passed to index callbacks.CXIdxLoc.Buffer An array ofCXIdxLoc
structs.CXIdxObjCCategoryDeclInfo LayoutCXIdxObjCCategoryDeclInfo.Buffer An array ofCXIdxObjCCategoryDeclInfo
structs.CXIdxObjCContainerDeclInfo LayoutCXIdxObjCContainerDeclInfo.Buffer An array ofCXIdxObjCContainerDeclInfo
structs.CXIdxObjCInterfaceDeclInfo LayoutCXIdxObjCInterfaceDeclInfo.Buffer An array ofCXIdxObjCInterfaceDeclInfo
structs.CXIdxObjCPropertyDeclInfo LayoutCXIdxObjCPropertyDeclInfo.Buffer An array ofCXIdxObjCPropertyDeclInfo
structs.CXIdxObjCProtocolRefInfo LayoutCXIdxObjCProtocolRefInfo.Buffer An array ofCXIdxObjCProtocolRefInfo
structs.CXIdxObjCProtocolRefListInfo LayoutCXIdxObjCProtocolRefListInfo.Buffer An array ofCXIdxObjCProtocolRefListInfo
structs.CXInclusionVisitor Instances of this class may be passed to thegetInclusions
method.CXPlatformAvailability Describes the availability of a given entity on a particular platform, e.g., a particular class might only be available on Mac OS 10.7 or newer.CXPlatformAvailability.Buffer An array ofCXPlatformAvailability
structs.CXSourceLocation Identifies a specific source location within a translation unit.CXSourceLocation.Buffer An array ofCXSourceLocation
structs.CXSourceRange Identifies a half-open character range in the source code.CXSourceRange.Buffer An array ofCXSourceRange
structs.CXSourceRangeList Identifies an array of ranges.CXSourceRangeList.Buffer An array ofCXSourceRangeList
structs.CXString A character string.CXString.Buffer An array ofCXString
structs.CXStringSet LayoutCXStringSet.Buffer An array ofCXStringSet
structs.CXToken Describes a single preprocessing token.CXToken.Buffer An array ofCXToken
structs.CXTUResourceUsage The memory usage of a CXTranslationUnit, broken into categories.CXTUResourceUsage.Buffer An array ofCXTUResourceUsage
structs.CXTUResourceUsageEntry Member documentationCXTUResourceUsageEntry.Buffer An array ofCXTUResourceUsageEntry
structs.CXType The type of an element in the abstract syntax tree.CXType.Buffer An array ofCXType
structs.CXUnsavedFile Provides the contents of a file that has not yet been saved to disk.CXUnsavedFile.Buffer An array ofCXUnsavedFile
structs.CXVersion Describes a version number of the formmajor.minor.subminor
.CXVersion.Buffer An array ofCXVersion
structs.IndexerAbortQuery Instances of this class may be set to theabortQuery
field of theIndexerCallbacks
struct.IndexerCallbacks A group of callbacks used byindexSourceFile
andindexTranslationUnit
.IndexerCallbacks.Buffer An array ofIndexerCallbacks
structs.IndexerDiagnostic Instances of this class may be set to thediagnostic
field of theIndexerCallbacks
struct.IndexerEnteredMainFile Instances of this class may be set to theenteredMainFile
field of theIndexerCallbacks
struct.IndexerImportedASTFile Instances of this class may be set to theimportedASTFile
field of theIndexerCallbacks
struct.IndexerIncludedFile Instances of this class may be set to theppIncludedFile
field of theIndexerCallbacks
struct.IndexerIndexDeclaration Instances of this class may be set to theindexDeclaration
field of theIndexerCallbacks
struct.IndexerIndexEntityReference Instances of this class may be set to theindexEntityReference
field of theIndexerCallbacks
struct.IndexerStartedTranslationUnit Instances of this class may be set to thestartedTranslationUnit
field of theIndexerCallbacks
struct.LLVMAnalysis LLVMAnalysis.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMBitReader LLVMBitReader.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMBitWriter LLVMBitWriter.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMComdat LLVMComdat.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMCore LLVMCore.Functions Contains the function pointers loaded from the LLVMSharedLibrary
.LLVMDebugInfo LLVMDebugInfo.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMDiagnosticHandler Instances of this class may be passed to theContextSetDiagnosticHandler
method.LLVMDisassembler LLVMDisassembler.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMError LLVMError.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMErrorHandling LLVMErrorHandling.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMExecutionEngine LLVMExecutionEngine.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMFatalErrorHandler Instances of this class may be passed to theInstallFatalErrorHandler
method.LLVMInitialization LLVMInitialization.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMIRReader LLVMIRReader.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMLinker LLVMLinker.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMLTO LLVMLTO.Functions Contains the function pointers loaded from the LTOSharedLibrary
.LLVMMCJITCompilerOptions LayoutLLVMMCJITCompilerOptions.Buffer An array ofLLVMMCJITCompilerOptions
structs.LLVMMemoryManagerAllocateCodeSectionCallback Instances of this class may be passed to theCreateSimpleMCJITMemoryManager
method.LLVMMemoryManagerAllocateDataSectionCallback Instances of this class may be passed to theCreateSimpleMCJITMemoryManager
method.LLVMMemoryManagerDestroyCallback Instances of this class may be passed to theCreateSimpleMCJITMemoryManager
method.LLVMMemoryManagerFinalizeMemoryCallback Instances of this class may be passed to theCreateSimpleMCJITMemoryManager
method.LLVMObject LLVMObject.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMOpInfo1 LayoutLLVMOpInfo1.Buffer An array ofLLVMOpInfo1
structs.LLVMOpInfoCallback Instances of this class may be passed to theCreateDisasm
,CreateDisasmCPU
andCreateDisasmCPUFeatures
methods.LLVMOpInfoSymbol1 The initial support in LLVM MC for the most general form of a relocatable expression is "AddSymbol - SubtractSymbol + Offset".LLVMOpInfoSymbol1.Buffer An array ofLLVMOpInfoSymbol1
structs.LLVMOptRemarkArg Element of the "Args" list.LLVMOptRemarkArg.Buffer An array ofLLVMOptRemarkArg
structs.LLVMOptRemarkDebugLoc DebugLoc containing File, Line and Column.LLVMOptRemarkDebugLoc.Buffer An array ofLLVMOptRemarkDebugLoc
structs.LLVMOptRemarkEntry One remark entry.LLVMOptRemarkEntry.Buffer An array ofLLVMOptRemarkEntry
structs.LLVMOptRemarks LLVMOptRemarks.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMOptRemarkStringRef String containing a buffer and a length.LLVMOptRemarkStringRef.Buffer An array ofLLVMOptRemarkStringRef
structs.LLVMORC LLVMORC.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMOrcLazyCompileCallbackFn Instances of this class may be passed to theOrcCreateLazyCompileCallback
method.LLVMOrcSymbolResolverFn Instances of this class may be passed to theOrcAddEagerlyCompiledIR
,OrcAddLazilyCompiledIR
andOrcAddObjectFile
methods.LLVMSupport LLVMSupport.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMSymbolLookupCallback Instances of this class may be passed to theCreateDisasm
,CreateDisasmCPU
andCreateDisasmCPUFeatures
methods.LLVMTarget LLVMTarget.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMTargetMachine LLVMTargetMachine.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMTargetX86 LLVMTargetX86.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMTransforms LLVMTransforms.Functions Contains the function pointers loaded fromLLVMCore.getLibrary()
.LLVMYieldCallback Instances of this class may be passed to theContextSetYieldCallback
method.LTODiagnosticHandler Instances of this class may be passed to thecodegen_set_diagnostic_handler
method.LTOObjectBuffer Type to wrap a single object returned byThinLTO
.LTOObjectBuffer.Buffer An array ofLTOObjectBuffer
structs.