Expand description
Safe wrappers for LLVM ORC and LLJIT, which are not yet implemented in [inkwell
].
Header files implemented:
LLJIT.h
LLJITUtils.h
(experimental, not available inllvm-sys
)Orc.h
OrcEE.h
(experimental)
Note that lifetimes are implicit here, I just didn’t bother to add them.
Structs§
- Definition
Generator - Definition generator.
- Evaluated
Symbol - An evaluated symbol.
- Execution
Session Ref - A JIT execution session reference.
- IRTransform
Layer Ref - A reference to an IR transform layer.
- JITDylib
Ref - A JIT dynamic library reference.
- JITTarget
Machine Builder - [
LLVMOrcJITTargetMachineBuilderRef
], used inLLJITBuilder
. - LLJIT
- An ORC JIT.
- LLJIT
Builder - Lazily-initialized
LLJIT
builder. - Manually
Drop 🔒Elements - Deallocates the vector without running the elements’ destructors.
- Materialization
Responsibility - An owned materialization responsibility.
- Materialization
Responsibility Ref - A reference to a materialization responsibility.
- Materialization
Unit - A materialization unit.
- Resource
Tracker - A resource tracker.
- Symbol
Flags - Symbol flags.
- Symbol
Flags MapPair - A pair of a symbol name and flags.
- Symbol
Flags MapPairs - An owned list of symbol flags map pairs.
- Symbol
MapPair - A pair of a symbol name and an evaluated symbol.
- Symbol
String Pool Entry - A reference-counted unique string interned in a
SymbolStringPool
. - Symbol
String Pool Ref - A symbol string pool reference.
- Thread
Safe Context - A thread-safe LLVM context.
- Thread
Safe Module - A thread-safe module.
Traits§
- Custom
Definition Generator - A custom definition generator.
- Custom
Materialization Unit - A custom materialization unit.
Functions§
- cvt 🔒
- Converts an
LLVMErrorRef
to aResult
. - cvt_
cb_ 🔒res - panic_
payload 🔒