Home
last modified time | relevance | path

Searched defs:Lock (Results 1 – 25 of 80) sorted by relevance

1234

/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DEPCGenericRTDyldMemoryManager.cpp65 std::lock_guard<std::mutex> Lock(M); in allocateCodeSection() local
80 std::lock_guard<std::mutex> Lock(M); in allocateDataSection() local
101 std::lock_guard<std::mutex> Lock(M); in reserveAllocationSpace() local
134 std::lock_guard<std::mutex> Lock(M); in reserveAllocationSpace() local
139 std::lock_guard<std::mutex> Lock(M); in reserveAllocationSpace() local
144 std::lock_guard<std::mutex> Lock(M); in reserveAllocationSpace() local
167 std::lock_guard<std::mutex> Lock(M); in registerEHFrames() local
190 std::lock_guard<std::mutex> Lock(M); in notifyObjectLoaded() local
210 std::lock_guard<std::mutex> Lock(M); in finalizeMemory() local
274 std::lock_guard<std::mutex> Lock(M); in finalizeMemory() local
[all …]
H A DMemoryMapper.cpp50 std::lock_guard<std::mutex> Lock(Mutex); in reserve() local
95 std::lock_guard<std::mutex> Lock(Mutex); in initialize() local
113 std::lock_guard<std::mutex> Lock(Mutex); in deinitialize() local
145 std::lock_guard<std::mutex> Lock(Mutex); in release() local
167 std::lock_guard<std::mutex> Lock(Mutex); in release() local
177 std::lock_guard<std::mutex> Lock(Mutex); in ~InProcessMemoryMapper() local
280 std::lock_guard<std::mutex> Lock(Mutex); in reserve() local
371 std::lock_guard<std::mutex> Lock(Mutex); in release() local
415 std::lock_guard<std::mutex> Lock(Mutex); in ~SharedMemoryMapper() local
H A DSimpleRemoteEPC.cpp22 std::lock_guard<std::mutex> Lock(SimpleRemoteEPCMutex); in ~SimpleRemoteEPC() local
79 std::lock_guard<std::mutex> Lock(SimpleRemoteEPCMutex); in callWrapperAsync() local
95 std::lock_guard<std::mutex> Lock(SimpleRemoteEPCMutex); in callWrapperAsync() local
113 std::unique_lock<std::mutex> Lock(SimpleRemoteEPCMutex); in disconnect() local
185 std::lock_guard<std::mutex> Lock(SimpleRemoteEPCMutex); in handleDisconnect() local
193 std::lock_guard<std::mutex> Lock(SimpleRemoteEPCMutex); in handleDisconnect() local
265 std::lock_guard<std::mutex> Lock(SimpleRemoteEPCMutex); in handleSetup() local
375 std::lock_guard<std::mutex> Lock(SimpleRemoteEPCMutex); in handleResult() local
H A DTaskDispatch.cpp28 std::lock_guard<std::mutex> Lock(DispatchMutex); in dispatch() local
34 std::lock_guard<std::mutex> Lock(DispatchMutex); in dispatch() local
41 std::unique_lock<std::mutex> Lock(DispatchMutex); in shutdown() local
H A DELFNixPlatform.cpp358 std::lock_guard<std::mutex> Lock(PlatformMutex); in getInitializersBuildSequencePhase() local
443 std::lock_guard<std::mutex> Lock(PlatformMutex); in rt_getDeinitializers() local
474 std::lock_guard<std::mutex> Lock(PlatformMutex); in rt_lookupSymbol() local
559 std::lock_guard<std::mutex> Lock(PlatformMutex); in bootstrapELFNixRuntime() local
573 std::unique_lock<std::mutex> Lock(PlatformMutex); in registerInitInfo() local
661 std::lock_guard<std::mutex> Lock(PluginMutex); in getSyntheticSymbolDependencies() local
698 std::lock_guard<std::mutex> Lock(MP.PlatformMutex); in addDSOHandleSupportPasses() local
764 std::lock_guard<std::mutex> Lock(MP.PlatformMutex); in addEHAndTLVSupportPasses() local
807 std::lock_guard<std::mutex> Lock(PluginMutex); in preserveInitSections() local
856 std::lock_guard<std::mutex> Lock(MP.PlatformMutex); in fixTLVSectionsAndEdges() local
H A DMachOPlatform.cpp329 std::lock_guard<std::mutex> Lock(PlatformMutex); in teardownJITDylib() local
507 std::unique_lock<std::mutex> Lock(BI.Mutex); in MachOPlatform() local
598 std::lock_guard<std::mutex> Lock(PlatformMutex); in pushInitializersLoop() local
642 std::lock_guard<std::mutex> Lock(PlatformMutex); in rt_pushInitializers() local
677 std::lock_guard<std::mutex> Lock(PlatformMutex); in rt_lookupSymbol() local
800 std::lock_guard<std::mutex> Lock(PluginMutex); in getSyntheticSymbolDependencies() local
814 std::lock_guard<std::mutex> Lock(MP.Bootstrap.load()->Mutex); in bootstrapPipelineStart() local
856 std::lock_guard<std::mutex> Lock(MP.PlatformMutex); in bootstrapPipelineRecordRuntimeFunctions() local
868 std::lock_guard<std::mutex> Lock(MP.Bootstrap.load()->Mutex); in bootstrapPipelineEnd() local
886 std::lock_guard<std::mutex> Lock(MP.PlatformMutex); in associateJITDylibHeaderSymbol() local
[all …]
H A DIRCompileLayer.cpp24 std::lock_guard<std::mutex> Lock(IRLayerMutex); in setNotifyCompiled() local
34 std::lock_guard<std::mutex> Lock(IRLayerMutex); in emit() local
H A DDebugObjectManagerPlugin.cpp414 std::lock_guard<std::mutex> Lock(PendingObjsLock); in notifyMaterializing() local
432 std::lock_guard<std::mutex> Lock(PendingObjsLock); in modifyPassConfig() local
451 std::lock_guard<std::mutex> Lock(PendingObjsLock); in notifyEmitted() local
479 std::lock_guard<std::mutex> Lock(RegisteredObjsLock); in notifyEmitted() local
490 std::lock_guard<std::mutex> Lock(PendingObjsLock); in notifyFailed() local
500 std::lock_guard<std::mutex> Lock(RegisteredObjsLock); in notifyTransferringResources() local
515 std::lock_guard<std::mutex> Lock(RegisteredObjsLock); in notifyRemovingResources() local
H A DEPCIndirectionUtils.cpp151 std::lock_guard<std::mutex> Lock(ISMMutex); in createStubs() local
187 std::lock_guard<std::mutex> Lock(ISMMutex); in findStub() local
195 std::lock_guard<std::mutex> Lock(ISMMutex); in findPointer() local
207 std::lock_guard<std::mutex> Lock(ISMMutex); in updatePointer() local
355 std::lock_guard<std::mutex> Lock(EPCUIMutex); in getIndirectStubs() local
H A DCOFFPlatform.cpp279 std::lock_guard<std::mutex> Lock(PlatformMutex); in teardownJITDylib() local
465 std::lock_guard<std::mutex> Lock(PlatformMutex); in buildJDDepMap() local
520 std::lock_guard<std::mutex> Lock(PlatformMutex); in pushInitializersLoop() local
549 std::lock_guard<std::mutex> Lock(PlatformMutex); in rt_pushInitializers() local
590 std::lock_guard<std::mutex> Lock(PlatformMutex); in rt_lookupSymbol() local
781 std::lock_guard<std::mutex> Lock(PluginMutex); in getSyntheticSymbolDependencies() local
801 std::lock_guard<std::mutex> Lock(CP.PlatformMutex); in associateJITDylibHeaderSymbol() local
859 std::lock_guard<std::mutex> Lock(PluginMutex); in preserveInitializerSections() local
867 std::lock_guard<std::mutex> Lock(CP.PlatformMutex); in registerObjectPlatformSectionsInBootstrap() local
H A DLazyReexports.cpp28 std::lock_guard<std::mutex> Lock(LCTMMutex); in getCallThroughTrampoline() local
46 std::lock_guard<std::mutex> Lock(LCTMMutex); in findReexport() local
59 std::lock_guard<std::mutex> Lock(LCTMMutex); in notifyResolved() local
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DSimpleRemoteEPCServer.cpp33 std::lock_guard<std::mutex> Lock(DispatchMutex); in dispatch() local
41 std::lock_guard<std::mutex> Lock(DispatchMutex); in dispatch() local
48 std::unique_lock<std::mutex> Lock(DispatchMutex); in shutdown() local
116 std::unique_lock<std::mutex> Lock(ServerStateMutex); in waitForDisconnect() local
125 std::lock_guard<std::mutex> Lock(ServerStateMutex); in handleDisconnect() local
145 std::lock_guard<std::mutex> Lock(ServerStateMutex); in handleDisconnect() local
228 std::lock_guard<std::mutex> Lock(ServerStateMutex); in handleResult() local
267 std::lock_guard<std::mutex> Lock(ServerStateMutex); in doJITDispatch() local
H A DExecutorSharedMemoryMapperService.cpp105 std::lock_guard<std::mutex> Lock(Mutex); in reserve() local
168 std::lock_guard<std::mutex> Lock(Mutex); in initialize() local
188 std::lock_guard<std::mutex> Lock(Mutex); in deinitialize() local
228 std::lock_guard<std::mutex> Lock(Mutex); in release() local
260 std::lock_guard<std::mutex> Lock(Mutex); in release() local
H A DSimpleExecutorMemoryManager.cpp30 std::lock_guard<std::mutex> Lock(M); in allocate() local
61 std::lock_guard<std::mutex> Lock(M); in finalize() local
80 std::lock_guard<std::mutex> Lock(M); in finalize() local
159 std::lock_guard<std::mutex> Lock(M); in deallocate() local
190 std::lock_guard<std::mutex> Lock(M); in shutdown() local
H A DSimpleExecutorDylibManager.cpp37 std::lock_guard<std::mutex> Lock(M); in open() local
84 std::lock_guard<std::mutex> Lock(M); in shutdown() local
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DPluginLoader.cpp24 sys::SmartMutex<true> Lock; member
37 sys::SmartScopedLock<true> Lock(P.Lock); in operator =() local
49 sys::SmartScopedLock<true> Lock(P.Lock); in getNumPlugins() local
55 sys::SmartScopedLock<true> Lock(P.Lock); in getPlugin() local
H A DErrorHandling.cpp67 std::lock_guard<std::mutex> Lock(ErrorHandlerMutex); in install_fatal_error_handler() local
76 std::lock_guard<std::mutex> Lock(ErrorHandlerMutex); in remove_fatal_error_handler() local
97 std::lock_guard<std::mutex> Lock(ErrorHandlerMutex); in report_fatal_error() local
131 std::lock_guard<std::mutex> Lock(BadAllocErrorHandlerMutex); in install_bad_alloc_error_handler() local
140 std::lock_guard<std::mutex> Lock(BadAllocErrorHandlerMutex); in remove_bad_alloc_error_handler() local
153 std::lock_guard<std::mutex> Lock(BadAllocErrorHandlerMutex); in report_bad_alloc_error() local
H A DDynamicLibrary.cpp161 SmartScopedLock<true> Lock(G.SymbolsMutex); in AddSymbol() local
170 SmartScopedLock<true> Lock(G.SymbolsMutex); in getPermanentLibrary() local
180 SmartScopedLock<true> Lock(G.SymbolsMutex); in addPermanentLibrary() local
195 SmartScopedLock<true> Lock(G.SymbolsMutex); in getLibrary() local
205 SmartScopedLock<true> Lock(G.SymbolsMutex); in closeLibrary() local
221 SmartScopedLock<true> Lock(G.SymbolsMutex); in SearchForAddressOfSymbol() local
H A DParallel.cpp57 std::lock_guard<std::mutex> Lock(Mutex); in ThreadPoolExecutor() local
71 std::lock_guard<std::mutex> Lock(Mutex); in stop() local
99 std::lock_guard<std::mutex> Lock(Mutex); in add() local
110 std::unique_lock<std::mutex> Lock(Mutex); in work() local
/openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/
H A DThreadSafeModule.h42 Lock(std::shared_ptr<State> S) : S(std::move(S)), L(this->S->Mutex) {} in Lock() function
135 auto Lock = TSCtx.getLock(); in decltype() local
143 auto Lock = TSCtx.getLock(); in decltype() local
151 auto Lock = TSCtx.getLock(); in decltype() local
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dtsd_test.cpp133 std::unique_lock<std::mutex> Lock(Mutex); in stressCache() local
168 std::unique_lock<std::mutex> Lock(Mutex); in testRegistryThreaded() local
190 std::unique_lock<std::mutex> Lock(Mutex); in stressSharedRegistry() local
204 std::unique_lock<std::mutex> Lock(Mutex); in stressSharedRegistry() local
227 std::unique_lock<std::mutex> Lock(Mutex); in TEST() local
244 std::unique_lock<std::mutex> Lock(Mutex); in TEST() local
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h29 void Lock() SANITIZER_ACQUIRE() { in Lock() function
127 ALWAYS_INLINE void Lock() { in Lock() function
166 void Lock() SANITIZER_ACQUIRE() { in Lock() function
440 typedef GenericScopedLock<Mutex> Lock; typedef
/openbsd-src/gnu/llvm/compiler-rt/lib/orc/
H A Dmacho_platform.cpp455 std::lock_guard<std::mutex> Lock(JDStatesMutex); in registerJITDylib() local
477 std::lock_guard<std::mutex> Lock(JDStatesMutex); in deregisterJITDylib() local
503 std::lock_guard<std::mutex> Lock(ThreadDataSectionsMutex); in registerThreadDataSection() local
517 std::lock_guard<std::mutex> Lock(ThreadDataSectionsMutex); in deregisterThreadDataSection() local
538 std::lock_guard<std::mutex> Lock(JDStatesMutex); in registerObjectPlatformSections() local
625 std::lock_guard<std::mutex> Lock(JDStatesMutex); in deregisterObjectPlatformSections() local
709 std::lock_guard<std::recursive_mutex> Lock(DyldAPIMutex); in dlopen() local
730 std::lock_guard<std::recursive_mutex> Lock(DyldAPIMutex); in dlclose() local
753 std::lock_guard<std::mutex> Lock(JDStatesMutex); in registerAtExit() local
783 std::unique_lock<std::mutex> Lock(JDStatesMutex); in runAtExits() local
[all …]
H A Dcoff_platform.cpp194 std::lock_guard<std::recursive_mutex> Lock(JDStatesMutex); in registerJITDylib() local
216 std::lock_guard<std::recursive_mutex> Lock(JDStatesMutex); in deregisterJITDylib() local
257 std::lock_guard<std::recursive_mutex> Lock(JDStatesMutex); in dlopen() local
277 std::lock_guard<std::recursive_mutex> Lock(JDStatesMutex); in dlclose() local
460 std::lock_guard<std::recursive_mutex> Lock(JDStatesMutex); in registerObjectSections() local
504 std::lock_guard<std::recursive_mutex> Lock(JDStatesMutex); in deregisterObjectSections() local
560 std::lock_guard<std::recursive_mutex> Lock(JDStatesMutex); in registerAtExit() local
587 std::lock_guard<std::recursive_mutex> Lock(JDStatesMutex); in findJITDylibBaseByPC() local
/openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerUtilDarwin.cpp49 std::lock_guard<std::mutex> Lock(SignalMutex); in ExecuteCommand() local
137 std::lock_guard<std::mutex> Lock(SignalMutex); in ExecuteCommand() local

1234