Home
last modified time | relevance | path

Searched defs:Guard (Results 1 – 25 of 67) sorted by relevance

123

/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_log_interface.cpp70 SpinMutexLock Guard(&XRayImplMutex); in __xray_log_register_mode() local
86 SpinMutexLock Guard(&XRayImplMutex); in __xray_log_select_mode() local
100 SpinMutexLock Guard(&XRayImplMutex); in __xray_log_get_current_mode() local
109 SpinMutexLock Guard(&XRayImplMutex); in __xray_set_log_impl() local
117 SpinMutexLock Guard(&XRayImplMutex); in __xray_set_log_impl() local
124 SpinMutexLock Guard(&XRayImplMutex); in __xray_remove_log_impl() local
133 SpinMutexLock Guard(&XRayImplMutex); in __xray_log_init() local
141 SpinMutexLock Guard(&XRayImplMutex); in __xray_log_init_mode() local
162 SpinMutexLock Guard(&XRayImplMutex); in __xray_log_init_mode_bin() local
181 SpinMutexLock Guard(&XRayImplMutex); in __xray_log_finalize() local
[all …]
H A Dxray_init.cpp64 SpinMutexLock Guard(&XRayInitMutex); in __xray_init() local
84 SpinMutexLock Guard(&XRayInstrMapMutex); in __xray_init() local
H A Dxray_buffer_queue.cpp71 SpinMutexLock Guard(&Mutex); in init() local
167 SpinMutexLock Guard(&Mutex); in getBuffer() local
189 SpinMutexLock Guard(&Mutex); in releaseBuffer() local
H A Dxray_interface.cpp222 SpinMutexLock Guard(&XRayInstrMapMutex); in patchFunction() local
280 SpinMutexLock Guard(&XRayInstrMapMutex); in controlPatching() local
347 SpinMutexLock Guard(&XRayInstrMapMutex); in mprotectAndPatchFunction() local
499 SpinMutexLock Guard(&XRayInstrMapMutex); in __xray_function_address() local
519 SpinMutexLock Guard(&XRayInstrMapMutex); in __xray_max_function_id() local
H A Dxray_fdr_logging.cpp499 RecursionGuard Guard{Running}; in fdrLoggingHandleArg0() local
529 RecursionGuard Guard{Running}; in fdrLoggingHandleArg1() local
559 RecursionGuard Guard{Running}; in fdrLoggingHandleCustomEvent() local
589 RecursionGuard Guard{Running}; in fdrLoggingHandleTypedEvent() local
/llvm-project-15.0.7/llvm/lib/IR/
H A DPassRegistry.cpp36 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local
41 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local
50 sys::SmartScopedWriter<true> Guard(Lock); in registerPass() local
66 sys::SmartScopedReader<true> Guard(Lock); in enumerateWith() local
90 sys::SmartScopedWriter<true> Guard(Lock); in registerAnalysisGroup() local
111 sys::SmartScopedWriter<true> Guard(Lock); in addRegistrationListener() local
116 sys::SmartScopedWriter<true> Guard(Lock); in removeRegistrationListener() local
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DGsymCreator.cpp39 std::lock_guard<std::mutex> Guard(Mutex); in insertFile() local
59 std::lock_guard<std::mutex> Guard(Mutex); in encode() local
192 std::lock_guard<std::mutex> Guard(Mutex); in finalize() local
309 std::lock_guard<std::mutex> Guard(Mutex); in insertString() local
325 std::lock_guard<std::mutex> Guard(Mutex); in addFunctionInfo() local
332 std::lock_guard<std::mutex> Guard(Mutex); in forEachFunctionInfo() local
341 std::lock_guard<std::mutex> Guard(Mutex); in forEachFunctionInfo() local
349 std::lock_guard<std::mutex> Guard(Mutex); in getNumFunctionInfos() local
360 std::lock_guard<std::mutex> Guard(Mutex); in hasFunctionInfoForAddress() local
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DMakeGuardsExplicit.cpp56 static void turnToExplicitForm(CallInst *Guard, Function *DeoptIntrinsic) { in turnToExplicitForm()
86 for (auto *Guard : GuardIntrinsics) in explicifyGuards() local
H A DLoopPredication.cpp407 Instruction *Guard, in expandCheck()
573 SCEVExpander &Expander, Instruction *Guard) { in widenICmpRangeCheckIncrementingLoop()
622 SCEVExpander &Expander, Instruction *Guard) { in widenICmpRangeCheckDecrementingLoop()
685 Instruction *Guard) { in widenICmpRangeCheck()
750 Instruction *Guard) { in collectChecks()
801 bool LoopPredication::widenGuardConditions(IntrinsicInst *Guard, in widenGuardConditions()
1307 for (auto *Guard : Guards) in runOnLoop() local
1309 for (auto *Guard : GuardsAsWidenableBranches) in runOnLoop() local
/llvm-project-15.0.7/llvm/lib/Debuginfod/
H A DDebuginfod.cpp237 std::lock_guard<std::mutex> Guard(QueueMutex); in push() local
245 std::unique_lock<std::mutex> Guard(QueueMutex); in pop() local
249 std::lock_guard<std::mutex> Guard(QueueMutex); in pop() local
267 std::lock_guard<sys::Mutex> Guard(UpdateMutex); in update() local
342 std::lock_guard<std::mutex> Guard(IteratorMutex); in findBinaries() local
388 std::unique_lock<std::mutex> Guard(IteratorMutex); in findBinaries() local
397 std::shared_lock<sys::RWMutex> Guard(BinariesMutex); in getBinaryPath() local
409 std::shared_lock<sys::RWMutex> Guard(DebugBinariesMutex); in getDebugBinaryPath() local
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DLogger.cpp37 std::lock_guard<std::mutex> Guard(Mu); in logImpl() local
56 std::lock_guard<std::mutex> Guard(StreamMutex); in log() local
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp48 std::lock_guard<sys::Mutex> Guard(AC.Lock); in clearAnnotationCache() local
54 std::lock_guard<sys::Mutex> Guard(AC.Lock); in cacheAnnotationFromMD() local
81 std::lock_guard<sys::Mutex> Guard(AC.Lock); in cacheAnnotationFromMD() local
116 std::lock_guard<sys::Mutex> Guard(AC.Lock); in findOneNVVMAnnotation() local
131 std::lock_guard<sys::Mutex> Guard(AC.Lock); in findAllNVVMAnnotation() local
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/
H A DHeaderGuardCheck.cpp23 std::string Guard = tooling::getAbsolutePath(Filename); in getHeaderGuard() local
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DLoopInfoTest.cpp265 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
324 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
383 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
442 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
501 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
561 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
620 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
676 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
735 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
794 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
[all …]
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A Dubsan_value.cpp41 __sanitizer::SpinMutexLock Guard(&Lock); in getObjCClassName() local
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DStackProtector.cpp385 Value *Guard = TLI->getIRStackGuard(B); in getStackGuard() local
496 LoadInst *Guard = B.CreateLoad(B.getInt8PtrTy(), AI, true, "Guard"); in InsertStackProtectors() local
551 Value *Guard = getStackGuard(TLI, M, B); in InsertStackProtectors() local
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp168 InstCombiner::BuilderTy::InsertPointGuard Guard(Builder); in visitImpl() local
542 InstCombiner::BuilderTy::InsertPointGuard Guard(IC.Builder); in Negate() local
H A DInstCombineSimplifyDemanded.cpp251 IRBuilderBase::InsertPointGuard Guard(Builder); in SimplifyDemandedUseBits() local
393 IRBuilderBase::InsertPointGuard Guard(Builder); in SimplifyDemandedUseBits() local
478 IRBuilderBase::InsertPointGuard Guard(Builder); in SimplifyDemandedUseBits() local
495 IRBuilderBase::InsertPointGuard Guard(Builder); in SimplifyDemandedUseBits() local
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp57 std::lock_guard<sys::Mutex> Guard(OProfileInitializationMutex); in initialize() local
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DGuardUtils.cpp31 CallInst *Guard, bool UseWC) { in makeGuardControlFlowExplicit()
H A DSimplifyLibCalls.cpp1551 IRBuilderBase::FastMathFlagGuard Guard(B); in replaceUnaryCall() local
1625 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizeDoubleFP() local
1664 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizeCAbs() local
1693 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizeTrigReflections() local
1993 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizePow() local
2138 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizeFMinFMax() local
2255 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizeLog() local
2352 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizeSqrt() local
3379 IRBuilderBase::OperandBundlesGuard Guard(Builder); in optimizeCall() local
3430 IRBuilderBase::InsertPointGuard Guard(Builder); in optimizeCall() local
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp287 std::lock_guard<sys::Mutex> Guard(Mutex); in notifyObjectLoaded() local
426 std::lock_guard<sys::Mutex> Guard(Mutex); in NotifyCode() local
468 std::lock_guard<sys::Mutex> Guard(Mutex); in NotifyDebug() local
/llvm-project-15.0.7/llvm/unittests/Support/
H A DThreadPool.cpp358 std::lock_guard<std::mutex> Guard(AllThreadsLock); in RunOnAllSockets() local
363 std::lock_guard<std::mutex> Guard(Lock); in RunOnAllSockets() local
370 std::unique_lock<std::mutex> Guard(AllThreadsLock); in RunOnAllSockets() local
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DDraftStore.cpp118 std::lock_guard<std::mutex> Guard(Mutex); in asVFS() local
/llvm-project-15.0.7/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp172 std::lock_guard<std::mutex> Guard(Mutex); in ~TemporaryFiles() local
178 std::lock_guard<std::mutex> Guard(Mutex); in addFile() local
185 std::lock_guard<std::mutex> Guard(Mutex); in removeFile() local

123