Module rustc_codegen_llvm::llvm_::ffi
source · Modules
Structs
LLVMRustSanitizerOptions
LLVMRustThinLTOModule
Enums
LLVMRustArchiveKind
LLVMRustAsmDialect
LLVMAtomicOrdering
LLVMAtomicRmwBinOp
Matches LLVMRustAttribute in LLVMWrapper.h
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.
LLVM’s Module::ModFlagBehavior, defined in llvm/include/llvm/IR/Module.h.
LLVMRustLinkage
LLVMMetadataType
LLVMRustOptStage
LLVMRustPassBuilderOptLevel
LLVMRealPredicate
LLVMRelocMode
LLVMRustSynchronizationScope
LLVMThreadLocalMode
LLVMTypeKind
LLVMUnnamedAddr
Constants
Functions
Creates a function-by-function pass manager
Creates a pass manager.
Disposes a pass manager.
Data layout. See Module::getDataLayout.
Runs a pass manager on a module.
Add LLVM module flags.
See Module::setModuleInlineAsm.
Returns a string describing the last error caused by an LLVMRust* call.
See llvm::LLVMTypeKind::getTypeID.
Prepares inline assembly.
Print the pass timings since static dtors aren’t picking them up.
Writes a module to the specified path. Returns 0 on success.