Skip to main content

Crate revmc_llvm

Crate revmc_llvm 

Source
Expand description

ยงrevmc-llvm

EVM bytecode compiler LLVM backend.

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 Context is a container for all LLVM entities including Modules.
DiState ๐Ÿ”’
LLVM debug info state for a module.
EvmLlvmBackend
The LLVM-based EVM bytecode compiler backend.
EvmLlvmBuilder
The LLVM-based EVM bytecode compiler function builder.
GlobalOrcJit ๐Ÿ”’
Process-global shared LLJIT instance.
JitDylibGuard
Shared guard that keeps a JITDylib alive.
JitMemoryCounters ๐Ÿ”’
Atomic counters written by the C++ MemoryUsagePlugin.
JitMemoryUsage
Current JIT memory usage counters.
OrcJitState ๐Ÿ”’
ORC JIT state for the LLVM backend (JIT mode only).
ScopedObjCapture ๐Ÿ”’
RAII guard that arms the thread-local object capture for the duration of a JIT commit.
TargetInfo ๐Ÿ”’
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 &'static reference to it.
create_thread_safe_module ๐Ÿ”’
Wraps a module in a orc::ThreadSafeModule for 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ยง

FxHashMap ๐Ÿ”’