Searched refs:TSCtx (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14.2/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() 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() 143 auto Lock = TSCtx.getLock(); in decltype() 151 auto Lock = TSCtx.getLock(); in decltype() 162 ThreadSafeContext getContext() const { return TSCtx; } in getContext() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalExecutor.cpp | 42 : TSCtx(TSC) { in IncrementalExecutor() 73 return Jit->addIRModule(RT, {std::move(PTU.TheModule), TSCtx}); in addModule()
|
| H A D | IncrementalExecutor.h | 39 llvm::orc::ThreadSafeContext &TSCtx; variable
|
| H A D | Interpreter.cpp | 233 TSCtx = std::make_unique<llvm::orc::ThreadSafeContext>(std::move(LLVMCtx)); in Interpreter() 235 *TSCtx->getContext(), Err); in Interpreter() 312 *(*Interp)->TSCtx->getContext(), IMVFS, Err); in createWithCUDA() 373 auto Executor = std::make_unique<IncrementalExecutor>(*TSCtx, Err, TI); in CreateExecutor()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Orc.h | 1087 LLVMOrcThreadSafeContextGetContext(LLVMOrcThreadSafeContextRef TSCtx); 1092 void LLVMOrcDisposeThreadSafeContext(LLVMOrcThreadSafeContextRef TSCtx); 1106 LLVMOrcThreadSafeContextRef TSCtx);
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/lli/ |
| H A D | lli.cpp | 880 loadModule(StringRef Path, orc::ThreadSafeContext TSCtx) { in loadModule() argument 882 auto M = parseIRFile(Path, Err, *TSCtx.getContext()); in loadModule() 895 return orc::ThreadSafeModule(std::move(M), std::move(TSCtx)); in loadModule() 927 orc::ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in runOrcJIT() local 928 auto MainModule = ExitOnErr(loadModule(InputFile, TSCtx)); in runOrcJIT() 1130 auto M = ExitOnErr(loadModule(*EMItr, TSCtx)); in runOrcJIT()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | OrcV2CBindings.cpp | 732 LLVMOrcThreadSafeContextGetContext(LLVMOrcThreadSafeContextRef TSCtx) { in LLVMOrcThreadSafeContextGetContext() argument 733 return wrap(unwrap(TSCtx)->getContext()); in LLVMOrcThreadSafeContextGetContext() 736 void LLVMOrcDisposeThreadSafeContext(LLVMOrcThreadSafeContextRef TSCtx) { in LLVMOrcDisposeThreadSafeContext() argument 737 delete unwrap(TSCtx); in LLVMOrcDisposeThreadSafeContext() 750 LLVMOrcThreadSafeContextRef TSCtx) { in LLVMOrcCreateNewThreadSafeModule() argument 752 new ThreadSafeModule(std::unique_ptr<Module>(unwrap(M)), *unwrap(TSCtx))); in LLVMOrcCreateNewThreadSafeModule()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Interpreter/ |
| H A D | Interpreter.h | 77 std::unique_ptr<llvm::orc::ThreadSafeContext> TSCtx; variable
|