Modules§
Structs§
- Invariant
Opaque π - Operand
Bundle πOpaque pointee ofLLVMOperandBundleRef
. - Wrapper for a raw enum value returned from LLVMβs C APIs.
- LLVMRustSanitizerOptions
- LLVMRustThinLTOModule
Enums§
- LLVMRustArchiveKind
- LLVMRustAsmDialect
- LLVMAtomicOrdering
- LLVMAtomicRmwBinOp
- Must match the layout of
LLVMRustAttributeKind
. Semantically a subset of the C++ enum llvm::Attribute::AttrKind, though it is not ABI compatible (since itβs a C++ enum) - LLVM CallingConv::ID. Should we wrap this?
- LLVMRustChecksumKind
- LLVMRustCodeGenOptLevel
- LLVMRustCodeModel
- LLVMDLLStorageClass
- LLVMRustDiagnosticKind
- LLVMRustDiagnosticLevel
- LLVMRustFileType
- LLVMIntPredicate
- Translation of LLVMβs MachineTypes enum, defined in llvm\include\llvm\BinaryFormat\COFF.h.
- Must match the layout of
LLVMLinkage
. - LLVMRustMemoryEffects
- LLVMMetadataType
- Must match the layout of
LLVMRustModuleFlagMergeBehavior
. - LLVMRustOptStage
- LLVMRustPassBuilderOptLevel
- LLVMRealPredicate
- LLVMRelocMode
- LLVMRustTailCallKind
- LLVMThreadLocalMode
- LLVMTypeKind
- LLVMUnnamedAddr
- Must match the layout of
LLVMVisibility
.
Constants§
Functions§
- See Module::setModuleInlineAsm.
- LLVM
Build π βCall Br - LLVM
Build π βCall With Operand Bundles - LLVM
Create π βOperand Bundle - Creates a legacy pass manager β only used for final codegen.
- LLVM
Dispose π βOperand Bundle - Data layout. See Module::getDataLayout.
- Add LLVM module flags.
- LLVM
Rust π βCoverage Hash Bytes - LLVM
Rust π βCoverage Mapping Version - Returns a string describing the last error caused by an LLVMRust* call.
- See llvm::LLVMTypeKind::getTypeID.
- Prepares inline assembly.
- LLVM
Rust π βPrint Pass Timings Prints the timing information collected by-Ztime-llvm-passes
. - LLVM
Rust π βPrint Statistics Prints the statistics collected by-Zprint-codegen-stats
. - LLVM
Rust π βPrint TargetCP Us - Writes a module to the specified path. Returns 0 on success.
Type Aliases§
- In the LLVM-C API, boolean values are passed as
typedef int LLVMBool
, which has a different ABI from Rust or C++bool
.
Foreign Types§
- Opaque π