Searched refs:TSCtx (Results 1 – 9 of 9) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | ThreadSafeModule.h | 85 TSCtx.withContextDo([this](LLVMContext *Ctx) { M = nullptr; }); 87 TSCtx = std::move(Other.TSCtx); 95 : M(std::move(M)), TSCtx(std::move(Ctx)) {} in ThreadSafeModule() 99 ThreadSafeModule(std::unique_ptr<Module> M, ThreadSafeContext TSCtx) in ThreadSafeModule() argument 100 : M(std::move(M)), TSCtx(std::move(TSCtx)) {} in ThreadSafeModule() 104 TSCtx.withContextDo([this](LLVMContext *Ctx) { M = nullptr; }); in ~ThreadSafeModule() 114 return TSCtx.withContextDo([&](LLVMContext *) { in decltype() 123 return TSCtx.withContextDo([&](const LLVMContext *) { in decltype() 133 return TSCtx.withContextDo([&](LLVMContext *) { in decltype() 146 ThreadSafeContext getContext() const { return TSCtx; } in getContext() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | ThreadSafeModule.cpp | 18 ThreadSafeContext TSCtx, in cloneToContext() argument 56 auto M = TSCtx.withContextDo([&](LLVMContext *Ctx) { in cloneToContext() 63 return ThreadSafeModule(std::move(M), std::move(TSCtx)); in cloneToContext() 71 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in cloneToNewContext() local 72 return cloneToContext(TSM, std::move(TSCtx), std::move(ShouldCloneDef), in cloneToNewContext()
|
| H A D | OrcV2CBindings.cpp | 737 void LLVMOrcDisposeThreadSafeContext(LLVMOrcThreadSafeContextRef TSCtx) { in LLVMOrcDisposeThreadSafeContext() argument 738 delete unwrap(TSCtx); in LLVMOrcDisposeThreadSafeContext() 751 LLVMOrcThreadSafeContextRef TSCtx) { in LLVMOrcCreateNewThreadSafeModule() argument 753 new ThreadSafeModule(std::unique_ptr<Module>(unwrap(M)), *unwrap(TSCtx))); in LLVMOrcCreateNewThreadSafeModule()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalExecutor.cpp | 40 : TSCtx(TSC) {} in IncrementalExecutor() 59 : TSCtx(TSC) { in IncrementalExecutor() 78 return Jit->addIRModule(RT, {std::move(PTU.TheModule), TSCtx}); in addModule()
|
| H A D | IncrementalExecutor.h | 41 llvm::orc::ThreadSafeContext &TSCtx; variable
|
| H A D | Interpreter.cpp | 375 TSCtx = std::make_unique<llvm::orc::ThreadSafeContext>(std::move(LLVMCtx)); in Interpreter() 377 Act = TSCtx->withContextDo([&](llvm::LLVMContext *Ctx) { in Interpreter() 503 auto DeviceAct = Interp->TSCtx->withContextDo([&](llvm::LLVMContext *Ctx) { in createWithCUDA() 667 auto Executor = std::make_unique<WasmIncrementalExecutor>(*TSCtx); in CreateExecutor() 670 std::make_unique<IncrementalExecutor>(*TSCtx, *JITBuilder, Err); in CreateExecutor()
|
| /freebsd/contrib/llvm-project/llvm/tools/lli/ |
| H A D | lli.cpp | 879 loadModule(StringRef Path, orc::ThreadSafeContext TSCtx) { in loadModule() argument 881 auto M = TSCtx.withContextDo( 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() 1125 auto M = ExitOnErr(loadModule(*EMItr, TSCtx)); in runOrcJIT()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Orc.h | 1106 LLVMOrcDisposeThreadSafeContext(LLVMOrcThreadSafeContextRef TSCtx); 1119 LLVMModuleRef M, LLVMOrcThreadSafeContextRef TSCtx);
|
| /freebsd/contrib/llvm-project/clang/include/clang/Interpreter/ |
| H A D | Interpreter.h | 91 std::unique_ptr<llvm::orc::ThreadSafeContext> TSCtx; variable
|