Module orc

Source
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 in llvm-sys)
  • Orc.h
  • OrcEE.h (experimental)

Note that lifetimes are implicit here, I just didn’t bother to add them.

Structs§

DefinitionGenerator
Definition generator.
EvaluatedSymbol
An evaluated symbol.
ExecutionSessionRef
A JIT execution session reference.
IRTransformLayerRef
A reference to an IR transform layer.
JITDylibRef
A JIT dynamic library reference.
JITTargetMachineBuilder
[LLVMOrcJITTargetMachineBuilderRef], used in LLJITBuilder.
LLJIT
An ORC JIT.
LLJITBuilder
Lazily-initialized LLJIT builder.
ManuallyDropElements 🔒
Deallocates the vector without running the elements’ destructors.
MaterializationResponsibility
An owned materialization responsibility.
MaterializationResponsibilityRef
A reference to a materialization responsibility.
MaterializationUnit
A materialization unit.
ResourceTracker
A resource tracker.
SymbolFlags
Symbol flags.
SymbolFlagsMapPair
A pair of a symbol name and flags.
SymbolFlagsMapPairs
An owned list of symbol flags map pairs.
SymbolMapPair
A pair of a symbol name and an evaluated symbol.
SymbolStringPoolEntry
A reference-counted unique string interned in a SymbolStringPool.
SymbolStringPoolRef
A symbol string pool reference.
ThreadSafeContext
A thread-safe LLVM context.
ThreadSafeModule
A thread-safe module.

Traits§

CustomDefinitionGenerator
A custom definition generator.
CustomMaterializationUnit
A custom materialization unit.

Functions§

cvt 🔒
Converts an LLVMErrorRef to a Result.
cvt_cb_res 🔒
panic_payload 🔒