Home
last modified time | relevance | path

Searched refs:TSCtx (Results 1 – 8 of 8) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DThreadSafeModule.h93 auto L = TSCtx.getLock();
97 TSCtx = std::move(Other.TSCtx);
105 : M(std::move(M)), TSCtx(std::move(Ctx)) {} in ThreadSafeModule()
109 ThreadSafeModule(std::unique_ptr<Module> M, ThreadSafeContext TSCtx) in ThreadSafeModule() argument
110 : M(std::move(M)), TSCtx(std::move(TSCtx)) {} in ThreadSafeModule()
115 auto L = TSCtx.getLock(); in ~ThreadSafeModule()
124 assert(TSCtx.getContext() &&
135 auto Lock = TSCtx.getLock(); in decltype()
142 auto Lock = TSCtx.getLock(); in decltype()
153 ThreadSafeContext getContext() const { return TSCtx; } in getContext()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalExecutor.cpp31 : TSCtx(TSC) { in IncrementalExecutor()
56 return Jit->addIRModule(llvm::orc::ThreadSafeModule(std::move(M), TSCtx)); in addModule()
H A DInterpreter.cpp180 TSCtx = std::make_unique<llvm::orc::ThreadSafeContext>(std::move(LLVMCtx)); in Interpreter()
182 *TSCtx->getContext(), Err); in Interpreter()
212 IncrExecutor = std::make_unique<IncrementalExecutor>(*TSCtx, Err, Triple); in Execute()
H A DIncrementalExecutor.h35 llvm::orc::ThreadSafeContext &TSCtx; variable
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/
H A DOrc.h937 LLVMOrcThreadSafeContextGetContext(LLVMOrcThreadSafeContextRef TSCtx);
942 void LLVMOrcDisposeThreadSafeContext(LLVMOrcThreadSafeContextRef TSCtx);
956 LLVMOrcThreadSafeContextRef TSCtx);
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Interpreter/
H A DInterpreter.h47 std::unique_ptr<llvm::orc::ThreadSafeContext> TSCtx; variable
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DOrcV2CBindings.cpp627 LLVMOrcThreadSafeContextGetContext(LLVMOrcThreadSafeContextRef TSCtx) { in LLVMOrcThreadSafeContextGetContext() argument
628 return wrap(unwrap(TSCtx)->getContext()); in LLVMOrcThreadSafeContextGetContext()
631 void LLVMOrcDisposeThreadSafeContext(LLVMOrcThreadSafeContextRef TSCtx) { in LLVMOrcDisposeThreadSafeContext() argument
632 delete unwrap(TSCtx); in LLVMOrcDisposeThreadSafeContext()
645 LLVMOrcThreadSafeContextRef TSCtx) { in LLVMOrcCreateNewThreadSafeModule() argument
647 new ThreadSafeModule(std::unique_ptr<Module>(unwrap(M)), *unwrap(TSCtx))); in LLVMOrcCreateNewThreadSafeModule()
/freebsd-13.1/contrib/llvm-project/llvm/tools/lli/
H A Dlli.cpp818 loadModule(StringRef Path, orc::ThreadSafeContext TSCtx) { in loadModule() argument
820 auto M = parseIRFile(Path, Err, *TSCtx.getContext()); in loadModule()
833 return orc::ThreadSafeModule(std::move(M), std::move(TSCtx)); in loadModule()
840 orc::ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in runOrcJIT() local
841 auto MainModule = ExitOnErr(loadModule(InputFile, TSCtx)); in runOrcJIT()
1020 auto M = ExitOnErr(loadModule(*EMItr, TSCtx)); in runOrcJIT()