Searched refs:TSCtx (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | ThreadSafeModule.h | 93 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 D | IncrementalExecutor.cpp | 31 : TSCtx(TSC) { in IncrementalExecutor() 56 return Jit->addIRModule(llvm::orc::ThreadSafeModule(std::move(M), TSCtx)); in addModule()
|
| H A D | Interpreter.cpp | 180 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 D | IncrementalExecutor.h | 35 llvm::orc::ThreadSafeContext &TSCtx; variable
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Orc.h | 937 LLVMOrcThreadSafeContextGetContext(LLVMOrcThreadSafeContextRef TSCtx); 942 void LLVMOrcDisposeThreadSafeContext(LLVMOrcThreadSafeContextRef TSCtx); 956 LLVMOrcThreadSafeContextRef TSCtx);
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Interpreter/ |
| H A D | Interpreter.h | 47 std::unique_ptr<llvm::orc::ThreadSafeContext> TSCtx; variable
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | OrcV2CBindings.cpp | 627 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 D | lli.cpp | 818 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()
|