Home
last modified time | relevance | path

Searched refs:ThreadSafeContext (Results 1 – 7 of 7) sorted by relevance

/openbsd/src/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/
DThreadSafeModule.h29 class ThreadSafeContext {
50 ThreadSafeContext() = default;
53 ThreadSafeContext(std::unique_ptr<LLVMContext> NewCtx) in ThreadSafeContext() function
109 ThreadSafeModule(std::unique_ptr<Module> M, ThreadSafeContext TSCtx) in ThreadSafeModule()
162 ThreadSafeContext getContext() const { return TSCtx; } in getContext()
166 ThreadSafeContext TSCtx;
/openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
DThreadSafeModule.cpp54 ThreadSafeContext NewTSCtx(std::make_unique<LLVMContext>()); in cloneToNewContext()
DOrcV2CBindings.cpp91 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ThreadSafeContext,
772 return wrap(new ThreadSafeContext(std::make_unique<LLVMContext>())); in LLVMOrcCreateNewThreadSafeContext()
/openbsd/src/gnu/llvm/llvm/docs/
DORCv2.rst106 module ``M`` loaded on a ThreadSafeContext ``Ctx``:
514 See `How to use ThreadSafeModule and ThreadSafeContext`_.
697 How to use ThreadSafeModule and ThreadSafeContext
700 ThreadSafeModule and ThreadSafeContext are wrappers around Modules and
702 std::unique_ptr<Module> and a (possibly shared) ThreadSafeContext value. A
703 ThreadSafeContext is a pair of a std::unique_ptr<LLVMContext> and a lock.
705 management for LLVMContexts. The ThreadSafeContext may be locked to prevent
707 The underlying LLVMContext is freed once all ThreadSafeContext values pointing
716 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());
719 and a ThreadSafeContext value. ThreadSafeContext values may be shared between
[all …]
/openbsd/src/gnu/llvm/llvm/tools/lli/
Dlli.cpp814 loadModule(StringRef Path, orc::ThreadSafeContext TSCtx) { in loadModule()
836 orc::ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in runOrcJIT()
/openbsd/src/gnu/llvm/llvm/docs/tutorial/
DBuildingAJIT2.rst68 ThreadSafeContext Ctx;
DBuildingAJIT1.rst136 ThreadSafeContext Ctx;