Home
last modified time | relevance | path

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

/freebsd/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()
143 auto Lock = TSCtx.getLock(); in decltype()
151 auto Lock = TSCtx.getLock(); in decltype()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalExecutor.cpp40 : TSCtx(TSC) {} in IncrementalExecutor()
59 : TSCtx(TSC) { in IncrementalExecutor()
78 return Jit->addIRModule(RT, {std::move(PTU.TheModule), TSCtx}); in addModule()
H A DIncrementalExecutor.h41 llvm::orc::ThreadSafeContext &TSCtx; variable
H A DInterpreter.cpp249 TSCtx = std::make_unique<llvm::orc::ThreadSafeContext>(std::move(LLVMCtx)); in Interpreter()
251 *this, std::move(CI), *TSCtx->getContext(), ErrOut); in Interpreter()
345 *(*Interp)->TSCtx->getContext(), IMVFS, Err); in createWithCUDA()
439 auto Executor = std::make_unique<WasmIncrementalExecutor>(*TSCtx); in CreateExecutor()
442 std::make_unique<IncrementalExecutor>(*TSCtx, *JITBuilder, Err); in CreateExecutor()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DOrc.h1078 LLVMOrcThreadSafeContextGetContext(LLVMOrcThreadSafeContextRef TSCtx);
1083 void LLVMOrcDisposeThreadSafeContext(LLVMOrcThreadSafeContextRef TSCtx);
1097 LLVMOrcThreadSafeContextRef TSCtx);
/freebsd/contrib/llvm-project/llvm/tools/lli/
H A Dlli.cpp878 loadModule(StringRef Path, orc::ThreadSafeContext TSCtx) { in loadModule() argument
880 auto M = parseIRFile(Path, Err, *TSCtx.getContext()); in loadModule()
893 return orc::ThreadSafeModule(std::move(M), std::move(TSCtx)); in loadModule()
925 orc::ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in runOrcJIT() local
926 auto MainModule = ExitOnErr(loadModule(InputFile, TSCtx)); in runOrcJIT()
1128 auto M = ExitOnErr(loadModule(*EMItr, TSCtx)); in runOrcJIT()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DOrcV2CBindings.cpp732 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/contrib/llvm-project/clang/include/clang/Interpreter/
H A DInterpreter.h92 std::unique_ptr<llvm::orc::ThreadSafeContext> TSCtx; variable