Re-exportsยง
pub use inkwell;
Modulesยง
- cpp ๐
- Custom bindings to LLVM.
- dh ๐
- orc
- Safe wrappers for LLVM ORC and LLJIT, which are not yet implemented in [
inkwell]. - utils ๐
Structsยง
- Context
- A
Contextis a container for all LLVM entities includingModules. - DiState ๐
- LLVM debug info state for a module.
- EvmLlvm
Backend - The LLVM-based EVM bytecode compiler backend.
- EvmLlvm
Builder - The LLVM-based EVM bytecode compiler function builder.
- Global
OrcJit ๐ - Process-global shared LLJIT instance.
- JitDylib
Guard - Shared guard that keeps a JITDylib alive.
- JitMemory
Counters ๐ - Atomic counters written by the C++
MemoryUsagePlugin. - JitMemory
Usage - Current JIT memory usage counters.
- OrcJit
State ๐ - ORC JIT state for the LLVM backend (JIT mode only).
- Scoped
ObjCapture ๐ - RAII guard that arms the thread-local object capture for the duration of a JIT commit.
- Target
Info ๐ - Cached target information for the host machine.
Constantsยง
- DEFAULT_
WEIGHT ๐ - Branch weight for non-cold branches.
- OBJ_
CAPTURE ๐
Functionsยง
- build_
pass_ ๐pipeline - Builds the LLVM pass pipeline string. See
EvmLlvmBackend::optimize_module. - convert_
attribute ๐ - convert_
attribute_ ๐loc - convert_
call_ ๐conv - convert_
intcc ๐ - convert_
linkage ๐ - convert_
opt_ ๐level - convert_
tail_ ๐call_ kind - create_
module ๐ - create_
orc_ ๐context - Creates an ORC-owned LLVM context, returning a
&'staticreference to it. - create_
thread_ ๐safe_ module - Wraps a module in a
orc::ThreadSafeModulefor transfer to LLJIT. - error_
msg ๐ - fmt_ty ๐
- function_
call_ ๐conv - global_
gc - Collect garbage on the global JIT.
- init ๐
- init_ ๐
- jit_
memory_ usage - Returns the current JIT memory usage.
- obj_
capture_ ๐transform - set_
function_ ๐call_ conv
Type Aliasesยง
- FxHash
Map ๐