Skip to main content

Module orc

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.
ObjectLayerRef
A reference to an object layer.
ObjectTransformLayerRef
A reference to an object transform layer.
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ยง

LLVMOrcCreateNewThreadSafeContextFromLLVMContext ๐Ÿ”’ โš 
cvt ๐Ÿ”’
Converts an LLVMErrorRef to a Result.
cvt_cb_res ๐Ÿ”’
cvt_cb_res_t ๐Ÿ”’
panic_payload ๐Ÿ”’

Type Aliasesยง

ObjTransformFn ๐Ÿ”’
Callback for ObjectTransformLayerRef::set_transform.