Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DThreadSafeModuleTest.cpp24 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST()
32 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST()
44 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST()
61 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST()
69 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST()
87 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST()
91 TSCtx = ThreadSafeContext(); in TEST()
H A DRTDyldObjectLinkingLayerTest.cpp130 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST()
208 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST()
/llvm-project-15.0.7/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;
/llvm-project-15.0.7/clang/lib/Interpreter/
H A DIncrementalExecutor.h26 class ThreadSafeContext; variable
38 llvm::orc::ThreadSafeContext &TSCtx;
46 IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC, llvm::Error &Err,
H A DIncrementalExecutor.cpp31 IncrementalExecutor::IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC, in IncrementalExecutor()
H A DInterpreter.cpp181 TSCtx = std::make_unique<llvm::orc::ThreadSafeContext>(std::move(LLVMCtx)); in Interpreter()
/llvm-project-15.0.7/clang/include/clang/Interpreter/
H A DInterpreter.h30 class ThreadSafeContext; variable
49 std::unique_ptr<llvm::orc::ThreadSafeContext> TSCtx;
/llvm-project-15.0.7/llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/
H A DLLJITWithThinLTOSummaries.cpp158 orc::ThreadSafeContext TSCtx) { in loadModule()
199 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in main()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DThreadSafeModule.cpp54 ThreadSafeContext NewTSCtx(std::make_unique<LLVMContext>()); in cloneToNewContext()
H A DOrcV2CBindings.cpp91 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ThreadSafeContext,
772 return wrap(new ThreadSafeContext(std::make_unique<LLVMContext>())); in LLVMOrcCreateNewThreadSafeContext()
/llvm-project-15.0.7/llvm/docs/
H A 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.
716 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());
719 and a ThreadSafeContext value. ThreadSafeContext values may be shared between
739 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());
773 to create every new ThreadSafeModule on a new ThreadSafeContext. For this
[all …]
/llvm-project-15.0.7/llvm/tools/lli/
H A Dlli.cpp867 loadModule(StringRef Path, orc::ThreadSafeContext TSCtx) { in loadModule()
889 orc::ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in runOrcJIT()
/llvm-project-15.0.7/llvm/docs/tutorial/
H A DBuildingAJIT2.rst68 ThreadSafeContext Ctx;
H A DBuildingAJIT1.rst136 ThreadSafeContext Ctx;