Crate llvm_sys

Source
Expand description

Bindings to LLVM’s C API.

Refer to the LLVM documentation for more information.

Modules§

analysis
Various analyses of the LLVM IR.
bit_reader
Input of the LLVM bitcode format.
bit_writer
Output of the LLVM bitcode format.
blake3
LLVM’s BLAKE3 implementation. Original BLAKE3 C API: https://github.com/BLAKE3-team/BLAKE3/tree/1.3.1/c
comdat
COMDAT
core
The LLVM intermediate representation.
debuginfo
Generation of DWARF debug info.
disassembler
A disassembler library.
error
error_handling
execution_engine
Runtime code generation and execution.
ir_reader
The IR reader
linker
The module/file/archive linker
lto
Abstract link time optimization.
object
Object file reading and writing
orc2
OrcV2
prelude
Core types used throughout LLVM.
remarks
Remark diagnostics library.
support
target
Target information
target_machine
Target machine information, to generate assembly or object files.
transforms

Enums§

LLVMAtomicOrdering
LLVMAtomicRMWBinOp
LLVMBasicBlock
LLVMBuilder
LLVMCallConv
LLVMComdat
LLVMContext
LLVMDLLStorageClass
LLVMDiagnosticInfo
LLVMDiagnosticSeverity
LLVMInlineAsmDialect
LLVMIntPredicate
LLVMLandingPadClauseTy
LLVMLinkage
LLVMMemoryBuffer
LLVMModule
LLVMModuleFlagBehavior
LLVMModuleProvider
LLVMOpaqueAttributeRef
LLVMOpaqueDIBuilder
LLVMOpaqueDbgRecord
LLVMOpaqueJITEventListener
LLVMOpaqueMetadata
LLVMOpaqueModuleFlagEntry
LLVMOpaqueNamedMDNode
LLVMOpaqueOperandBundle
LLVMOpaqueValueMetadataEntry
LLVMOpcode
LLVMPassManager
LLVMRealPredicate
LLVMTailCallKind
Tail call kind for LLVMSetTailCallKind and LLVMGetTailCallKind.
LLVMThreadLocalMode
LLVMType
LLVMTypeKind
LLVMUnnamedAddr
LLVMUse
LLVMValue
LLVMValueKind
LLVMVisibility

Constants§

LLVMAttributeFunctionIndex
LLVMAttributeReturnIndex
LLVMFastMathAll
LLVMFastMathAllowContract
LLVMFastMathAllowReassoc
LLVMFastMathAllowReciprocal
LLVMFastMathApproxFunc
LLVMFastMathNoInfs
LLVMFastMathNoNaNs
LLVMFastMathNoSignedZeros
LLVMFastMathNone
LLVMGEPFlagInBounds
LLVMGEPFlagNUSW
LLVMGEPFlagNUW

Type Aliases§

LLVMAttributeIndex
Either LLVMAttributeReturnIndex, LLVMAttributeFunctionIndex, or a parameter number from 1 to N.
LLVMDiagnosticHandler
LLVMFastMathFlags
Flags to indicate what fast-math-style optimizations are allowed on operations.
LLVMGEPNoWrapFlags
Flags that constrain the allowed wrap semantics of a gelementptr instruction.
LLVMYieldCallback