Searched refs:ThreadSafeContext (Results 1 – 14 of 14) sorted by relevance
24 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()
130 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST()208 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST()
29 class ThreadSafeContext {50 ThreadSafeContext() = default;53 ThreadSafeContext(std::unique_ptr<LLVMContext> NewCtx) in ThreadSafeContext() function109 ThreadSafeModule(std::unique_ptr<Module> M, ThreadSafeContext TSCtx) in ThreadSafeModule()153 ThreadSafeContext getContext() const { return TSCtx; } in getContext()157 ThreadSafeContext TSCtx;
26 class ThreadSafeContext; variable38 llvm::orc::ThreadSafeContext &TSCtx;46 IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC, llvm::Error &Err,
31 IncrementalExecutor::IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC, in IncrementalExecutor()
181 TSCtx = std::make_unique<llvm::orc::ThreadSafeContext>(std::move(LLVMCtx)); in Interpreter()
30 class ThreadSafeContext; variable49 std::unique_ptr<llvm::orc::ThreadSafeContext> TSCtx;
158 orc::ThreadSafeContext TSCtx) { in loadModule()199 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in main()
54 ThreadSafeContext NewTSCtx(std::make_unique<LLVMContext>()); in cloneToNewContext()
91 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ThreadSafeContext,772 return wrap(new ThreadSafeContext(std::make_unique<LLVMContext>())); in LLVMOrcCreateNewThreadSafeContext()
106 module ``M`` loaded on a ThreadSafeContext ``Ctx``:514 See `How to use ThreadSafeModule and ThreadSafeContext`_.697 How to use ThreadSafeModule and ThreadSafeContext700 ThreadSafeModule and ThreadSafeContext are wrappers around Modules and702 std::unique_ptr<Module> and a (possibly shared) ThreadSafeContext value. A703 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 between739 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());773 to create every new ThreadSafeModule on a new ThreadSafeContext. For this[all …]
867 loadModule(StringRef Path, orc::ThreadSafeContext TSCtx) { in loadModule()889 orc::ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in runOrcJIT()
68 ThreadSafeContext Ctx;
136 ThreadSafeContext Ctx;