Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DMutexGuard.h27 class MutexGuard {
29 MutexGuard(const MutexGuard &) LLVM_DELETED_FUNCTION;
30 void operator=(const MutexGuard &) LLVM_DELETED_FUNCTION;
32 MutexGuard(sys::Mutex &m) : M(m) { M.acquire(); } in MutexGuard() function
33 ~MutexGuard() { M.release(); } in ~MutexGuard()
/external/llvm/lib/ExecutionEngine/JIT/
DJIT.cpp235 MutexGuard guard(Lock); in Add()
239 MutexGuard guard(Lock); in Remove()
243 MutexGuard guard(Lock); in getPointerToNamedFunction()
286 MutexGuard locked(lock); in JIT()
334 MutexGuard locked(lock); in addModule()
362 MutexGuard locked(lock); in removeModule()
563 MutexGuard locked(lock); in RegisterJITEventListener()
569 MutexGuard locked(lock); in UnregisterJITEventListener()
581 MutexGuard locked(lock); in NotifyFunctionEmitted()
588 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()
205 getBasicBlockAddressMap(const MutexGuard &) { in getBasicBlockAddressMap() argument
213 void runJITOnFunctionUnlocked(Function *F, const MutexGuard &locked);
215 void jitTheFunction(Function *F, const MutexGuard &locked);
DJITEmitter.cpp125 const MutexGuard& locked) { in getFunctionToLazyStubMap()
130 GlobalToIndirectSymMapTy& getGlobalToIndirectSymMap(const MutexGuard& lck) { in getGlobalToIndirectSymMap()
136 const MutexGuard &locked, void *CallSite) const { in LookupFunctionFromCallSite()
150 void AddCallSite(const MutexGuard &locked, void *CallSite, Function *F) { in AddCallSite()
245 MutexGuard guard(Lock); in RegisterStubResolver()
250 MutexGuard guard(Lock); in UnregisterStubResolver()
255 MutexGuard guard(Lock); in getResolverFromStub()
268 MutexGuard guard(Lock); in ResolverHasStubs()
513 MutexGuard locked(TheJIT->lock); in getLazyFunctionStubIfAvailable()
522 MutexGuard locked(TheJIT->lock); in getLazyFunctionStub()
[all …]
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp75 MutexGuard locked(lock); in emitObject()
311 MutexGuard locked(lock); in RegisterJITEventListener()
317 MutexGuard locked(lock); in UnregisterJITEventListener()
326 MutexGuard locked(lock); in NotifyObjectEmitted()
332 MutexGuard locked(lock); in NotifyFreeingObject()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DGDBRegistrar.cpp101 llvm::MutexGuard locked(JITDebugLock); in NotifyDebugger()
169 llvm::MutexGuard locked(JITDebugLock); in deregisterObjectInternal()
205 llvm::MutexGuard locked(JITDebugLock); in getGDBRegistrar()
/external/clang/lib/Lex/
DUnicodeCharSets.h43 llvm::MutexGuard Guard(ValidationMutex); in isValidCharSet()
71 llvm::MutexGuard Guard(ValidationMutex); in isValidCharSet()
/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h44 class MutexGuard; variable
80 GlobalAddressMapTy &getGlobalAddressMap(const MutexGuard &) { in getGlobalAddressMap() argument
85 getGlobalAddressReverseMap(const MutexGuard &) { in getGlobalAddressReverseMap() argument
92 void *RemoveMapping(const MutexGuard &, const GlobalValue *ToUnmap);
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp141 void *ExecutionEngineState::RemoveMapping(const MutexGuard &, in RemoveMapping() argument
160 MutexGuard locked(lock); in addGlobalMapping()
178 MutexGuard locked(lock); in clearAllGlobalMappings()
185 MutexGuard locked(lock); in clearGlobalMappingsFromModule()
195 MutexGuard locked(lock); in updateGlobalMapping()
222 MutexGuard locked(lock); in getPointerToGlobalIfAvailable()
230 MutexGuard locked(lock); in getGlobalValueAtAddress()
517 MutexGuard locked(lock); in getPointerToGlobal()
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileWrapper.cpp60 MutexGuard Guard(OProfileInitializationMutex); in initialize()
/external/clang/tools/libclang/
DIndexing.cpp159 llvm::MutexGuard MG(Mux);
164 llvm::MutexGuard MG(Mux);
/external/clang/lib/Frontend/
DASTUnit.cpp121 llvm::MutexGuard Guard(getOnDiskMutex()); in cleanupOnDiskMapAtExit()
133 llvm::MutexGuard Guard(getOnDiskMutex()); in getOnDiskData()
148 llvm::MutexGuard Guard(getOnDiskMutex()); in removeOnDiskEntry()