Home
last modified time | relevance | path

Searched refs:MutexGuard (Results 1 – 24 of 24) sorted by relevance

/external/swiftshader/third_party/LLVM/include/llvm/Support/
DMutexGuard.h27 class MutexGuard {
29 MutexGuard(const MutexGuard &); // DO NOT IMPLEMENT
30 void operator=(const MutexGuard &); // DO NOT IMPLEMENT
32 MutexGuard(sys::Mutex &m) : M(m) { M.acquire(); } in MutexGuard() function
33 ~MutexGuard() { M.release(); } in ~MutexGuard()
/external/llvm/include/llvm/Support/
DMutexGuard.h27 class MutexGuard {
29 MutexGuard(const MutexGuard &) = delete;
30 void operator=(const MutexGuard &) = delete;
32 MutexGuard(sys::Mutex &m) : M(m) { M.lock(); } in MutexGuard() function
33 ~MutexGuard() { M.unlock(); } in ~MutexGuard()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMutexGuard.h27 class MutexGuard {
29 MutexGuard(const MutexGuard &) = delete;
30 void operator=(const MutexGuard &) = delete;
32 MutexGuard(sys::Mutex &m) : M(m) { M.lock(); } in MutexGuard() function
33 ~MutexGuard() { M.unlock(); } in ~MutexGuard()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJIT.cpp235 MutexGuard guard(Lock); in Add()
239 MutexGuard guard(Lock); in Remove()
243 MutexGuard guard(Lock); in getPointerToNamedFunction()
285 MutexGuard locked(lock); in JIT()
332 MutexGuard locked(lock); in addModule()
360 MutexGuard locked(lock); in removeModule()
556 MutexGuard locked(lock); in RegisterJITEventListener()
562 MutexGuard locked(lock); in UnregisterJITEventListener()
574 MutexGuard locked(lock); in NotifyFunctionEmitted()
581 MutexGuard locked(lock); in NotifyFreeingMachineCode()
[all …]
DJIT.h42 FunctionPassManager &getPM(const MutexGuard &L) { in getPM()
47 std::vector<AssertingVH<Function> > &getPendingFunctions(const MutexGuard &L){ in getPendingFunctions()
206 getBasicBlockAddressMap(const MutexGuard &) { in getBasicBlockAddressMap() argument
214 void runJITOnFunctionUnlocked(Function *F, const MutexGuard &locked);
216 void jitTheFunction(Function *F, const MutexGuard &locked);
DJITEmitter.cpp121 const MutexGuard& locked) { in getFunctionToLazyStubMap()
126 GlobalToIndirectSymMapTy& getGlobalToIndirectSymMap(const MutexGuard& lck) { in getGlobalToIndirectSymMap()
132 const MutexGuard &locked, void *CallSite) const { in LookupFunctionFromCallSite()
146 void AddCallSite(const MutexGuard &locked, void *CallSite, Function *F) { in AddCallSite()
241 MutexGuard guard(Lock); in RegisterStubResolver()
246 MutexGuard guard(Lock); in UnregisterStubResolver()
251 MutexGuard guard(Lock); in getResolverFromStub()
264 MutexGuard guard(Lock); in ResolverHasStubs()
517 MutexGuard locked(TheJIT->lock); in getLazyFunctionStubIfAvailable()
526 MutexGuard locked(TheJIT->lock); in getLazyFunctionStub()
[all …]
DJITDebugRegisterer.cpp149 MutexGuard locked(JITDebugLock); in RegisterFunction()
171 MutexGuard locked(JITDebugLock); in UnregisterFunctionInternal()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp96 MutexGuard locked(lock); in ~MCJIT()
108 MutexGuard locked(lock); in addModule()
117 MutexGuard locked(lock); in removeModule()
144 MutexGuard locked(lock); in setObjectCache()
149 MutexGuard locked(lock); in emitObject()
187 MutexGuard locked(lock); in generateCodeForModule()
236 MutexGuard locked(lock); in finalizeLoadedModules()
252 MutexGuard locked(lock); in finalizeObject()
267 MutexGuard locked(lock); in finalizeModule()
293 MutexGuard locked(lock); in findModuleForSymbol()
[all …]
/external/llvm/lib/Support/
DManagedStatic.cpp42 MutexGuard Lock(*getManagedStaticMutex()); in RegisterManagedStatic()
84 MutexGuard Lock(*getManagedStaticMutex()); in llvm_shutdown()
DErrorHandling.cpp50 llvm::MutexGuard Lock(*ErrorHandlerMutex); in install_fatal_error_handler()
57 llvm::MutexGuard Lock(*ErrorHandlerMutex); in remove_fatal_error_handler()
80 llvm::MutexGuard Lock(*ErrorHandlerMutex); in report_fatal_error()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DManagedStatic.cpp42 MutexGuard Lock(*getManagedStaticMutex()); in RegisterManagedStatic()
84 MutexGuard Lock(*getManagedStaticMutex()); in llvm_shutdown()
DErrorHandling.cpp50 llvm::MutexGuard Lock(*ErrorHandlerMutex); in install_fatal_error_handler()
57 llvm::MutexGuard Lock(*ErrorHandlerMutex); in remove_fatal_error_handler()
80 llvm::MutexGuard Lock(*ErrorHandlerMutex); in report_fatal_error()
/external/llvm/lib/ExecutionEngine/
DGDBRegistrationListener.cpp148 llvm::MutexGuard locked(*JITDebugLock); in ~GDBJITRegistrationListener()
175 llvm::MutexGuard locked(*JITDebugLock); in NotifyObjectEmitted()
195 llvm::MutexGuard locked(*JITDebugLock); in NotifyFreeingObject()
DExecutionEngine.cpp192 MutexGuard locked(lock); in getMangledName()
205 MutexGuard locked(lock); in addGlobalMapping()
210 MutexGuard locked(lock); in addGlobalMapping()
229 MutexGuard locked(lock); in clearAllGlobalMappings()
236 MutexGuard locked(lock); in clearGlobalMappingsFromModule()
244 MutexGuard locked(lock); in updateGlobalMapping()
249 MutexGuard locked(lock); in updateGlobalMapping()
276 MutexGuard locked(lock); in getAddressToGlobalIfAvailable()
287 MutexGuard locked(lock); in getPointerToGlobalIfAvailable()
294 MutexGuard locked(lock); in getPointerToGlobalIfAvailable()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/
DExecutionEngine.h42 class MutexGuard; variable
77 GlobalAddressMapTy &getGlobalAddressMap(const MutexGuard &) { in getGlobalAddressMap() argument
82 getGlobalAddressReverseMap(const MutexGuard &) { in getGlobalAddressReverseMap() argument
89 void *RemoveMapping(const MutexGuard &, const GlobalValue *ToUnmap);
/external/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp39 MutexGuard Guard(Lock); in clearAnnotationCache()
44 MutexGuard Guard(Lock); in cacheAnnotationFromMD()
70 MutexGuard Guard(Lock); in cacheAnnotationFromMD()
104 MutexGuard Guard(Lock); in findOneNVVMAnnotation()
118 MutexGuard Guard(Lock); in findAllNVVMAnnotation()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
DExecutionEngine.cpp142 void *ExecutionEngineState::RemoveMapping(const MutexGuard &, in RemoveMapping() argument
161 MutexGuard locked(lock); in addGlobalMapping()
179 MutexGuard locked(lock); in clearAllGlobalMappings()
186 MutexGuard locked(lock); in clearGlobalMappingsFromModule()
196 MutexGuard locked(lock); in updateGlobalMapping()
223 MutexGuard locked(lock); in getPointerToGlobalIfAvailable()
231 MutexGuard locked(lock); in getGlobalValueAtAddress()
507 MutexGuard locked(lock); in getPointerToGlobal()
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileWrapper.cpp58 MutexGuard Guard(OProfileInitializationMutex); in initialize()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp120 MutexGuard locked(lock); in resolveRelocations()
154 MutexGuard locked(lock); in mapSectionAddress()
175 MutexGuard locked(lock); in loadObjectImpl()
/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h47 class MutexGuard; variable
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DProcess.inc19 #include "llvm/Support/MutexGuard.h"
347 MutexGuard G(*TermColorMutex);
/external/clang/tools/libclang/
DIndexing.cpp139 llvm::MutexGuard MG(Mux); in copyTo()
144 llvm::MutexGuard MG(Mux); in update()
/external/llvm/lib/Support/Unix/
DProcess.inc19 #include "llvm/Support/MutexGuard.h"
356 MutexGuard G(*TermColorMutex);
/external/clang/lib/Frontend/
DASTUnit.cpp123 llvm::MutexGuard Guard(getOnDiskMutex()); in cleanupOnDiskMapAtExit()
134 llvm::MutexGuard Guard(getOnDiskMutex()); in getOnDiskData()
149 llvm::MutexGuard Guard(getOnDiskMutex()); in removeOnDiskEntry()