Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
H A 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()
153 ThreadSafeContext getContext() const { return TSCtx; } in getContext()
157 ThreadSafeContext TSCtx;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Interpreter/
H A DIncrementalExecutor.h27 class ThreadSafeContext; variable
35 llvm::orc::ThreadSafeContext &TSCtx;
38 IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC, llvm::Error &Err,
H A DIncrementalExecutor.cpp28 IncrementalExecutor::IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC, in IncrementalExecutor()
H A DInterpreter.cpp180 TSCtx = std::make_unique<llvm::orc::ThreadSafeContext>(std::move(LLVMCtx)); in Interpreter()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Interpreter/
H A DInterpreter.h26 class ThreadSafeContext; variable
47 std::unique_ptr<llvm::orc::ThreadSafeContext> TSCtx;
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DORCv2.rst106 module ``M`` loaded on a ThreadSafeContext ``Ctx``:
512 See `How to use ThreadSafeModule and ThreadSafeContext`_.
582 How to use ThreadSafeModule and ThreadSafeContext
585 ThreadSafeModule and ThreadSafeContext are wrappers around Modules and
587 std::unique_ptr<Module> and a (possibly shared) ThreadSafeContext value. A
588 ThreadSafeContext is a pair of a std::unique_ptr<LLVMContext> and a lock.
590 management for LLVMContexts. The ThreadSafeContext may be locked to prevent
592 The underlying LLVMContext is freed once all ThreadSafeContext values pointing
601 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());
604 and a ThreadSafeContext value. ThreadSafeContext values may be shared between
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/
H A DLLJITWithThinLTOSummaries.cpp158 orc::ThreadSafeContext TSCtx) { in loadModule()
199 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in main()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DThreadSafeModule.cpp54 ThreadSafeContext NewTSCtx(std::make_unique<LLVMContext>()); in cloneToNewContext()
H A DOrcV2CBindings.cpp90 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ThreadSafeContext,
414 return wrap(new ThreadSafeContext(std::make_unique<LLVMContext>())); in LLVMOrcCreateNewThreadSafeContext()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/lli/
H A Dlli.cpp820 loadModule(StringRef Path, orc::ThreadSafeContext TSCtx) { in loadModule()
842 orc::ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in runOrcJIT()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/tutorial/
H A DBuildingAJIT2.rst68 ThreadSafeContext Ctx;
H A DBuildingAJIT1.rst136 ThreadSafeContext Ctx;