Crate llvm_sys_wrapper

Source

Modules§

LLVM
analysis
Various analyses of the LLVM IR.
bit_reader
Input of the LLVM bitcode format.
bit_writer
Output of the LLVM bitcode format.
core
The LLVM intermediate representation.
debuginfo
Generation of DWARF debug info.
disassembler
A disassembler library.
error_handling
execution_engine
Runtime code generation and execution.
initialization
Initialization routines which must be called before using library features.
ir_reader
The IR reader
link_time_optimizer
Link-time-optimization
linker
The module/file/archive linker
lto
Abstract link time optimization.
object
Object file reading and writing
orc
The ORC JIT.
prelude
Core types used throughout LLVM.
support
target
Target information
target_machine
Target machine information, to generate assembly or object files.
transforms

Macros§

fn_type

Structs§

Builder
Context
Engine
FuncallResult
Function
Module
Phi
Struct

Enums§

LLVMAtomicOrdering
LLVMAtomicRMWBinOp
LLVMBasicBlock
LLVMBuilder
LLVMCallConv
LLVMContext
LLVMDLLStorageClass
LLVMDiagnosticInfo
LLVMDiagnosticSeverity
LLVMIntPredicate
LLVMLandingPadClauseTy
LLVMLinkage
LLVMMemoryBuffer
LLVMModule
LLVMModuleProvider
LLVMOpaqueAttributeRef
LLVMOpaqueDIBuilder
LLVMOpaqueMetadata
LLVMOpcode
LLVMPassManager
LLVMPassRegistry
LLVMRealPredicate
LLVMThreadLocalMode
LLVMType
LLVMTypeKind
LLVMUse
LLVMValue
LLVMValueKind
LLVMVisibility

Constants§

LLVMAttributeFunctionIndex
LLVMAttributeReturnIndex

Functions§

LLVMAddAlias
LLVMAddAttributeAtIndex
LLVMAddCallSiteAttribute
LLVMAddCase
Add a case to a switch instruction
LLVMAddClause
Add a catch or filter clause to a landingpad instruction
LLVMAddDestination
Add a destination to an indirectbr instruction
LLVMAddFunction
LLVMAddGlobal
LLVMAddGlobalInAddressSpace
LLVMAddIncoming
LLVMAddNamedMetadataOperand
LLVMAddTargetDependentFunctionAttr
LLVMAlignOf
LLVMAppendBasicBlock
LLVMAppendBasicBlockInContext
LLVMArrayType
LLVMBasicBlockAsValue
LLVMBlockAddress
LLVMBuildAShr
LLVMBuildAdd
LLVMBuildAddrSpaceCast
LLVMBuildAggregateRet
LLVMBuildAlloca
LLVMBuildAnd
LLVMBuildArrayAlloca
LLVMBuildArrayMalloc
LLVMBuildAtomicCmpXchg
LLVMBuildAtomicRMW
LLVMBuildBinOp
LLVMBuildBitCast
LLVMBuildBr
LLVMBuildCall
LLVMBuildCast
LLVMBuildCondBr
LLVMBuildExactSDiv
LLVMBuildExactUDiv
LLVMBuildExtractElement
LLVMBuildExtractValue
LLVMBuildFAdd
LLVMBuildFCmp
LLVMBuildFDiv
LLVMBuildFMul
LLVMBuildFNeg
LLVMBuildFPCast
LLVMBuildFPExt
LLVMBuildFPToSI
LLVMBuildFPToUI
LLVMBuildFPTrunc
LLVMBuildFRem
LLVMBuildFSub
LLVMBuildFence
LLVMBuildFree
LLVMBuildGEP
LLVMBuildGlobalString
LLVMBuildGlobalStringPtr
LLVMBuildICmp
LLVMBuildInBoundsGEP
LLVMBuildIndirectBr
LLVMBuildInsertElement
LLVMBuildInsertValue
LLVMBuildIntCast
LLVMBuildIntToPtr
LLVMBuildInvoke
LLVMBuildIsNotNull
LLVMBuildIsNull
LLVMBuildLShr
LLVMBuildLandingPad
LLVMBuildLoad
LLVMBuildMalloc
LLVMBuildMul
LLVMBuildNSWAdd
LLVMBuildNSWMul
LLVMBuildNSWNeg
LLVMBuildNSWSub
LLVMBuildNUWAdd
LLVMBuildNUWMul
LLVMBuildNUWNeg
LLVMBuildNUWSub
LLVMBuildNeg
LLVMBuildNot
LLVMBuildOr
LLVMBuildPhi
LLVMBuildPointerCast
LLVMBuildPtrDiff
LLVMBuildPtrToInt
LLVMBuildResume
LLVMBuildRet
LLVMBuildRetVoid
LLVMBuildSDiv
LLVMBuildSExt
LLVMBuildSExtOrBitCast
LLVMBuildSIToFP
LLVMBuildSRem
LLVMBuildSelect
LLVMBuildShl
LLVMBuildShuffleVector
LLVMBuildStore
LLVMBuildStructGEP
LLVMBuildSub
LLVMBuildSwitch
LLVMBuildTrunc
LLVMBuildTruncOrBitCast
LLVMBuildUDiv
LLVMBuildUIToFP
LLVMBuildURem
LLVMBuildUnreachable
LLVMBuildVAArg
LLVMBuildXor
LLVMBuildZExt
LLVMBuildZExtOrBitCast
LLVMClearInsertionPosition
LLVMCloneModule
LLVMConstAShr
LLVMConstAdd
LLVMConstAddrSpaceCast
LLVMConstAllOnes
LLVMConstAnd
LLVMConstArray
LLVMConstBitCast
LLVMConstExactSDiv
LLVMConstExactUDiv
LLVMConstExtractElement
LLVMConstExtractValue
LLVMConstFAdd
LLVMConstFCmp
LLVMConstFDiv
LLVMConstFMul
LLVMConstFNeg
LLVMConstFPCast
LLVMConstFPExt
LLVMConstFPToSI
LLVMConstFPToUI
LLVMConstFPTrunc
LLVMConstFRem
LLVMConstFSub
LLVMConstGEP
LLVMConstICmp
LLVMConstInBoundsGEP
LLVMConstInlineAsm
LLVMConstInsertElement
LLVMConstInsertValue
LLVMConstInt
LLVMConstIntCast
LLVMConstIntGetSExtValue
LLVMConstIntGetZExtValue
LLVMConstIntOfArbitraryPrecision
LLVMConstIntOfString
LLVMConstIntOfStringAndSize
LLVMConstIntToPtr
LLVMConstLShr
LLVMConstMul
LLVMConstNSWAdd
LLVMConstNSWMul
LLVMConstNSWNeg
LLVMConstNSWSub
LLVMConstNUWAdd
LLVMConstNUWMul
LLVMConstNUWNeg
LLVMConstNUWSub
LLVMConstNamedStruct
LLVMConstNeg
LLVMConstNot
LLVMConstNull
LLVMConstOr
LLVMConstPointerCast
LLVMConstPointerNull
LLVMConstPtrToInt
LLVMConstReal
LLVMConstRealGetDouble
LLVMConstRealOfString
LLVMConstRealOfStringAndSize
LLVMConstSDiv
LLVMConstSExt
LLVMConstSExtOrBitCast
LLVMConstSIToFP
LLVMConstSRem
LLVMConstSelect
LLVMConstShl
LLVMConstShuffleVector
LLVMConstString
LLVMConstStringInContext
LLVMConstStruct
LLVMConstStructInContext
LLVMConstSub
LLVMConstTrunc
LLVMConstTruncOrBitCast
LLVMConstUDiv
LLVMConstUIToFP
LLVMConstURem
LLVMConstVector
LLVMConstXor
LLVMConstZExt
LLVMConstZExtOrBitCast
LLVMContextCreate
LLVMContextDispose
LLVMContextGetDiagnosticContext
Get the diagnostic context of this context.
LLVMContextGetDiagnosticHandler
Get the diagnostic handler of this context.
LLVMContextSetDiagnosticHandler
LLVMContextSetYieldCallback
LLVMCountBasicBlocks
LLVMCountIncoming
LLVMCountParamTypes
LLVMCountParams
LLVMCountStructElementTypes
LLVMCreateBuilder
LLVMCreateBuilderInContext
LLVMCreateEnumAttribute
Create an enum attribute.
LLVMCreateFunctionPassManager
LLVMCreateFunctionPassManagerForModule
LLVMCreateMemoryBufferWithContentsOfFile
LLVMCreateMemoryBufferWithMemoryRange
LLVMCreateMemoryBufferWithMemoryRangeCopy
LLVMCreateMemoryBufferWithSTDIN
LLVMCreateMessage
LLVMCreateModuleProviderForExistingModule
LLVMCreatePassManager
LLVMCreateStringAttribute
Create a string attribute.
LLVMDeleteBasicBlock
LLVMDeleteFunction
LLVMDeleteGlobal
LLVMDisposeBuilder
LLVMDisposeMemoryBuffer
LLVMDisposeMessage
LLVMDisposeModule
LLVMDisposeModuleProvider
LLVMDisposePassManager
LLVMDoubleType
LLVMDoubleTypeInContext
LLVMDumpModule
LLVMDumpType
LLVMDumpValue
LLVMFP128Type
LLVMFP128TypeInContext
LLVMFinalizeFunctionPassManager
LLVMFloatType
LLVMFloatTypeInContext
LLVMFunctionType
LLVMGetAlignment
LLVMGetAllocatedType
LLVMGetArrayLength
LLVMGetAsString
LLVMGetAttributeCountAtIndex
LLVMGetAttributesAtIndex
LLVMGetBasicBlockName
Get the string name of a basic block.
LLVMGetBasicBlockParent
LLVMGetBasicBlockTerminator
LLVMGetBasicBlocks
LLVMGetBufferSize
LLVMGetBufferStart
LLVMGetCallSiteAttributeCount
LLVMGetCallSiteAttributes
LLVMGetCallSiteEnumAttribute
LLVMGetCallSiteStringAttribute
LLVMGetCalledValue
Get a pointer to the function invoked by this instruction.
LLVMGetClause
Get the value of the clause with the given index on a landingpad instruction.
LLVMGetCmpXchgFailureOrdering
LLVMGetCmpXchgSuccessOrdering
LLVMGetCondition
LLVMGetConstOpcode
LLVMGetCurrentDebugLocation
LLVMGetDLLStorageClass
LLVMGetDataLayoutDeprecated
LLVMGetDataLayoutStr
Obtain the data layout for a module.
LLVMGetDiagInfoDescription
LLVMGetDiagInfoSeverity
LLVMGetElementAsConstant
LLVMGetElementType
LLVMGetEntryBasicBlock
LLVMGetEnumAttributeAtIndex
LLVMGetEnumAttributeKind
Get the unique id corresponding to the provided enum attribute.
LLVMGetEnumAttributeKindForName
Return a unique id given the name of an enum attribute, or 0 if no attribute by that name exists.
LLVMGetEnumAttributeValue
Get the value of an enum attribute.
LLVMGetFCmpPredicate
LLVMGetFirstBasicBlock
LLVMGetFirstFunction
LLVMGetFirstGlobal
LLVMGetFirstInstruction
LLVMGetFirstParam
LLVMGetFirstUse
LLVMGetFunctionCallConv
LLVMGetGC
LLVMGetGlobalContext
LLVMGetGlobalParent
LLVMGetGlobalPassRegistry
LLVMGetICmpPredicate
LLVMGetIncomingBlock
LLVMGetIncomingValue
LLVMGetIndices
LLVMGetInitializer
LLVMGetInsertBlock
LLVMGetInstructionCallConv
LLVMGetInstructionOpcode
LLVMGetInstructionParent
LLVMGetIntTypeWidth
LLVMGetIntrinsicID
Obtain the ID number from a function instance.
LLVMGetLastBasicBlock
LLVMGetLastEnumAttributeKind
LLVMGetLastFunction
LLVMGetLastGlobal
LLVMGetLastInstruction
LLVMGetLastParam
LLVMGetLinkage
LLVMGetMDKindID
LLVMGetMDKindIDInContext
LLVMGetMDNodeNumOperands
LLVMGetMDNodeOperands
LLVMGetMDString
Obtain the underlying string from a MDString value.
LLVMGetMetadata
LLVMGetModuleContext
LLVMGetModuleIdentifier
Get the identifier of a module.
LLVMGetNamedFunction
LLVMGetNamedGlobal
LLVMGetNamedMetadataNumOperands
LLVMGetNamedMetadataOperands
LLVMGetNextBasicBlock
LLVMGetNextFunction
LLVMGetNextGlobal
LLVMGetNextInstruction
LLVMGetNextParam
LLVMGetNextUse
LLVMGetNormalDest
Return the normal destination basic block of an invoke instruction.
LLVMGetNumArgOperands
LLVMGetNumClauses
Get the number of clauses on a landingpad instruction.
LLVMGetNumContainedTypes
Return the number of types in the derived type.
LLVMGetNumIndices
Get the number of indices on an ExtractValue, InsertValue or GEP instruction.
LLVMGetNumOperands
LLVMGetNumSuccessors
LLVMGetOperand
LLVMGetOperandUse
LLVMGetOrdering
LLVMGetParam
LLVMGetParamParent
LLVMGetParamTypes
LLVMGetParams
LLVMGetPersonalityFn
Obtain the personality function attached to the function.
LLVMGetPointerAddressSpace
LLVMGetPreviousBasicBlock
LLVMGetPreviousFunction
LLVMGetPreviousGlobal
LLVMGetPreviousInstruction
LLVMGetPreviousParam
LLVMGetReturnType
LLVMGetSection
LLVMGetStringAttributeAtIndex
LLVMGetStringAttributeKind
Get a string attribute’s kind.
LLVMGetStringAttributeValue
Get a string attribute’s value.
LLVMGetStructElementTypes
LLVMGetStructName
LLVMGetSubtypes
Get the subtypes of the given type.
LLVMGetSuccessor
LLVMGetSwitchDefaultDest
LLVMGetTarget
LLVMGetThreadLocalMode
LLVMGetTypeByName
LLVMGetTypeContext
LLVMGetTypeKind
LLVMGetUndef
LLVMGetUnwindDest
Return the unwind destination basic block of an invoke instruction.
LLVMGetUsedValue
LLVMGetUser
LLVMGetValueKind
LLVMGetValueName
LLVMGetVectorSize
LLVMGetVisibility
LLVMGetVolatile
LLVMHalfType
LLVMHalfTypeInContext
LLVMHasMetadata
LLVMHasPersonalityFn
Check whether the given function has a personality function.
LLVMHasUnnamedAddr
LLVMInitializeFunctionPassManager
LLVMInsertBasicBlock
LLVMInsertBasicBlockInContext
LLVMInsertIntoBuilder
LLVMInsertIntoBuilderWithName
LLVMInstructionClone
LLVMInstructionEraseFromParent
Remove the given instruction from its containing building block and delete it.
LLVMInstructionRemoveFromParent
Remove the given instruction from its containing building block but kept alive.
LLVMInt1Type
LLVMInt1TypeInContext
LLVMInt8Type
LLVMInt8TypeInContext
LLVMInt16Type
LLVMInt16TypeInContext
LLVMInt32Type
LLVMInt32TypeInContext
LLVMInt64Type
LLVMInt64TypeInContext
LLVMInt128Type
LLVMInt128TypeInContext
LLVMIntType
LLVMIntTypeInContext
LLVMIsAAddrSpaceCastInst
LLVMIsAAllocaInst
LLVMIsAArgument
LLVMIsABasicBlock
LLVMIsABinaryOperator
LLVMIsABitCastInst
LLVMIsABlockAddress
LLVMIsABranchInst
LLVMIsACallInst
LLVMIsACastInst
LLVMIsACatchPadInst
LLVMIsACatchReturnInst
LLVMIsACleanupPadInst
LLVMIsACleanupReturnInst
LLVMIsACmpInst
LLVMIsAConstant
LLVMIsAConstantAggregateZero
LLVMIsAConstantArray
LLVMIsAConstantDataArray
LLVMIsAConstantDataSequential
LLVMIsAConstantDataVector
LLVMIsAConstantExpr
LLVMIsAConstantFP
LLVMIsAConstantInt
LLVMIsAConstantPointerNull
LLVMIsAConstantStruct
LLVMIsAConstantTokenNone
LLVMIsAConstantVector
LLVMIsADbgDeclareInst
LLVMIsADbgInfoIntrinsic
LLVMIsAExtractElementInst
LLVMIsAExtractValueInst
LLVMIsAFCmpInst
LLVMIsAFPExtInst
LLVMIsAFPToSIInst
LLVMIsAFPToUIInst
LLVMIsAFPTruncInst
LLVMIsAFuncletPadInst
LLVMIsAFunction
LLVMIsAGetElementPtrInst
LLVMIsAGlobalAlias
LLVMIsAGlobalObject
LLVMIsAGlobalValue
LLVMIsAGlobalVariable
LLVMIsAICmpInst
LLVMIsAIndirectBrInst
LLVMIsAInlineAsm
LLVMIsAInsertElementInst
LLVMIsAInsertValueInst
LLVMIsAInstruction
LLVMIsAIntToPtrInst
LLVMIsAIntrinsicInst
LLVMIsAInvokeInst
LLVMIsALandingPadInst
LLVMIsALoadInst
LLVMIsAMDNode
LLVMIsAMDString
LLVMIsAMemCpyInst
LLVMIsAMemIntrinsic
LLVMIsAMemMoveInst
LLVMIsAMemSetInst
LLVMIsAPHINode
LLVMIsAPtrToIntInst
LLVMIsAResumeInst
LLVMIsAReturnInst
LLVMIsASExtInst
LLVMIsASIToFPInst
LLVMIsASelectInst
LLVMIsAShuffleVectorInst
LLVMIsAStoreInst
LLVMIsASwitchInst
LLVMIsATerminatorInst
LLVMIsATruncInst
LLVMIsAUIToFPInst
LLVMIsAUnaryInstruction
LLVMIsAUndefValue
LLVMIsAUnreachableInst
LLVMIsAUser
LLVMIsAVAArgInst
LLVMIsAZExtInst
LLVMIsAtomicSingleThread
LLVMIsCleanup
Get the cleanup flag in a landingpad instruction.
LLVMIsConditional
LLVMIsConstant
Determine whether the specified value instance is constant.
LLVMIsConstantString
LLVMIsDeclaration
LLVMIsEnumAttribute
LLVMIsExternallyInitialized
LLVMIsFunctionVarArg
LLVMIsGlobalConstant
LLVMIsInBounds
LLVMIsMultithreaded
LLVMIsNull
LLVMIsOpaqueStruct
LLVMIsPackedStruct
Determine whether a structure is packed.
LLVMIsStringAttribute
LLVMIsTailCall
Get whether a call instruction is a tail call.
LLVMIsThreadLocal
LLVMIsUndef
LLVMLabelType
LLVMLabelTypeInContext
LLVMMDNode
LLVMMDNodeInContext
LLVMMDString
LLVMMDStringInContext
LLVMMetadataAsValue
Obtain Metadata as a Value.
LLVMMetadataTypeInContext
LLVMModuleCreateWithName
LLVMModuleCreateWithNameInContext
LLVMMoveBasicBlockAfter
LLVMMoveBasicBlockBefore
LLVMPPCFP128Type
LLVMPPCFP128TypeInContext
LLVMPointerType
LLVMPositionBuilder
LLVMPositionBuilderAtEnd
LLVMPositionBuilderBefore
LLVMPrintModuleToFile
LLVMPrintModuleToString
LLVMPrintTypeToString
LLVMPrintValueToString
LLVMRemoveBasicBlockFromParent
LLVMRemoveCallSiteEnumAttribute
LLVMRemoveCallSiteStringAttribute
LLVMRemoveEnumAttributeAtIndex
LLVMRemoveStringAttributeAtIndex
LLVMReplaceAllUsesWith
LLVMRunFunctionPassManager
LLVMRunPassManager
LLVMSetAlignment
LLVMSetAtomicSingleThread
LLVMSetCleanup
Set the cleanup flag in a landingpad instruction.
LLVMSetCmpXchgFailureOrdering
LLVMSetCmpXchgSuccessOrdering
LLVMSetCondition
LLVMSetCurrentDebugLocation
LLVMSetDLLStorageClass
LLVMSetDataLayout
LLVMSetExternallyInitialized
LLVMSetFunctionCallConv
LLVMSetGC
LLVMSetGlobalConstant
LLVMSetInitializer
LLVMSetInstDebugLocation
LLVMSetInstrParamAlignment
LLVMSetInstructionCallConv
LLVMSetIsInBounds
Set the given GEP instruction to be inbounds or not.
LLVMSetLinkage
LLVMSetMetadata
LLVMSetModuleIdentifier
Set the identifier of a module.
LLVMSetModuleInlineAsm
LLVMSetNormalDest
Set the normal destination basic block of an invoke instruction.
LLVMSetOperand
LLVMSetOrdering
LLVMSetParamAlignment
LLVMSetPersonalityFn
Set the personality function attached to the function.
LLVMSetSection
LLVMSetSuccessor
LLVMSetTailCall
LLVMSetTarget
LLVMSetThreadLocal
LLVMSetThreadLocalMode
LLVMSetUnnamedAddr
LLVMSetUnwindDest
Set the unwind destination basic block of an invoke instruction.
LLVMSetValueName
LLVMSetVisibility
LLVMSetVolatile
LLVMShutdown
LLVMSizeOf
LLVMStartMultithreaded
Deprecated: LLVM threading is configured at compile-time with LLVM_ENABLE_THREADS
LLVMStopMultithreaded
Deprecated: LLVM threading is configured at compile-time with LLVM_ENABLE_THREADS
LLVMStructCreateNamed
LLVMStructGetTypeAtIndex
Get the type of the element at the given index in a structure.
LLVMStructSetBody
LLVMStructType
LLVMStructTypeInContext
LLVMTokenTypeInContext
LLVMTypeIsSized
LLVMTypeOf
LLVMValueAsBasicBlock
LLVMValueAsMetadata
Obtain a Value as Metadata.
LLVMValueIsBasicBlock
LLVMVectorType
LLVMVoidType
LLVMVoidTypeInContext
LLVMX86FP80Type
LLVMX86FP80TypeInContext
LLVMX86MMXType
LLVMX86MMXTypeInContext

Type Aliases§

LLVMAttributeIndex
Either LLVMAttributeReturnIndex, LLVMAttributeFunctionIndex, or a parameter number from 1 to N.
LLVMAttributeRef
LLVMBasicBlockRef
LLVMBool
LLVMBuilderRef
LLVMContextRef
LLVMDIBuilderRef
LLVMDiagnosticHandler
LLVMDiagnosticInfoRef
LLVMMemoryBufferRef
LLVMMetadataRef
LLVMModuleProviderRef
LLVMModuleRef
LLVMPassManagerRef
LLVMPassRegistryRef
LLVMTypeRef
LLVMUseRef
LLVMValueRef
LLVMYieldCallback