Home
last modified time | relevance | path

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

123

/llvm-project/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); __xray_init() local
84 SpinMutexLock Guard(&XRayInstrMapMutex); __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); patchFunction() local
284 SpinMutexLock Guard(&XRayInstrMapMutex); controlPatching() local
351 SpinMutexLock Guard(&XRayInstrMapMutex); mprotectAndPatchFunction() local
508 SpinMutexLock Guard(&XRayInstrMapMutex); __xray_function_address() local
528 SpinMutexLock Guard(&XRayInstrMapMutex); __xray_max_function_id() local
H A Dxray_fdr_logging.cpp496 RecursionGuard Guard{Running}; in fdrLoggingHandleArg0() local
526 RecursionGuard Guard{Running}; in fdrLoggingHandleArg1() local
556 RecursionGuard Guard{Running}; in fdrLoggingHandleCustomEvent() local
586 RecursionGuard Guard{Running}; in fdrLoggingHandleTypedEvent() local
/llvm-project/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); registerAnalysisGroup() local
111 sys::SmartScopedWriter<true> Guard(Lock); addRegistrationListener() local
116 sys::SmartScopedWriter<true> Guard(Lock); removeRegistrationListener() local
/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DGsymCreator.cpp42 std::lock_guard<std::mutex> Guard(Mutex); in insertFileEntry() local
81 std::lock_guard<std::mutex> Guard(Mutex); in encode() local
193 std::lock_guard<std::mutex> Guard(Mutex); finalize() local
319 std::lock_guard<std::mutex> Guard(Mutex); insertString() local
341 std::lock_guard<std::mutex> Guard(Mutex); addFunctionInfo() local
347 std::lock_guard<std::mutex> Guard(Mutex); forEachFunctionInfo() local
356 std::lock_guard<std::mutex> Guard(Mutex); forEachFunctionInfo() local
364 std::lock_guard<std::mutex> Guard(Mutex); getNumFunctionInfos() local
480 std::lock_guard<std::mutex> Guard(Mutex); copyFunctionInfo() local
/llvm-project/llvm/lib/Transforms/Scalar/
H A DMakeGuardsExplicit.cpp46 BasicBlock *OriginalBB = Guard->getParent(); in turnToExplicitForm() argument
76 for (auto *Guard : GuardIntrinsics) explicifyGuards() local
H A DLoopPredication.cpp376 expandCheck(SCEVExpander & Expander,Instruction * Guard,ICmpInst::Predicate Pred,const SCEV * LHS,const SCEV * RHS) expandCheck() argument
542 widenICmpRangeCheckIncrementingLoop(LoopICmp LatchCheck,LoopICmp RangeCheck,SCEVExpander & Expander,Instruction * Guard) widenICmpRangeCheckIncrementingLoop() argument
592 widenICmpRangeCheckDecrementingLoop(LoopICmp LatchCheck,LoopICmp RangeCheck,SCEVExpander & Expander,Instruction * Guard) widenICmpRangeCheckDecrementingLoop() argument
655 widenICmpRangeCheck(ICmpInst * ICI,SCEVExpander & Expander,Instruction * Guard) widenICmpRangeCheck() argument
719 widenChecks(SmallVectorImpl<Value * > & Checks,SmallVectorImpl<Value * > & WidenedChecks,SCEVExpander & Expander,Instruction * Guard) widenChecks() argument
728 widenGuardConditions(IntrinsicInst * Guard,SCEVExpander & Expander) widenGuardConditions() argument
1239 for (auto *Guard : Guards) runOnLoop() local
1241 for (auto *Guard : GuardsAsWidenableBranches) runOnLoop() local
[all...]
/llvm-project/llvm/lib/Debuginfod/
H A DDebuginfod.cpp329 std::lock_guard<std::mutex> Guard(QueueMutex); in push() local
337 std::unique_lock<std::mutex> Guard(QueueMutex); in pop() local
341 std::lock_guard<std::mutex> Guard(QueueMutex); in pop() local
360 std::lock_guard<sys::Mutex> Guard(UpdateMutex); in update() local
425 std::lock_guard<std::mutex> Guard(IteratorMutex); in findBinaries() local
471 std::unique_lock<std::mutex> Guard(IteratorMutex); in findBinaries() local
480 std::shared_lock<sys::RWMutex> Guard(BinariesMutex); in getBinaryPath() local
492 std::shared_lock<sys::RWMutex> Guard(DebugBinariesMutex); in getDebugBinaryPath() local
/llvm-project/llvm/tools/dsymutil/
H A Ddsymutil.cpp494 std::lock_guard<std::mutex> Guard(Mutex); verifyOutput() local
503 std::lock_guard<std::mutex> Guard(Mutex); verifyOutput() local
512 std::lock_guard<std::mutex> Guard(Mutex); verifyOutput() local
522 std::lock_guard<std::mutex> Guard(Mutex); verifyOutput() local
531 std::lock_guard<std::mutex> Guard(Mutex); verifyOutput() local
541 std::lock_guard<std::mutex> Guard(Mutex); verifyOutput() local
768 std::lock_guard<std::mutex> Guard(ErrorHandlerMutex); dsymutil_main() local
786 std::lock_guard<std::mutex> Guard(ErrorHandlerMutex); dsymutil_main() local
/llvm-project/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/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp51 std::lock_guard<sys::Mutex> Guard(AC.Lock); clearAnnotationCache() local
67 std::lock_guard<sys::Mutex> Guard(AC.Lock); cacheAnnotationFromMD() local
101 std::lock_guard<sys::Mutex> Guard(AC.Lock); cacheAnnotationFromMD() local
136 std::lock_guard<sys::Mutex> Guard(AC.Lock); findOneNVVMAnnotation() local
159 std::lock_guard<sys::Mutex> Guard(AC.Lock); findAllNVVMAnnotation() local
/llvm-project/clang-tools-extra/clang-tidy/llvm/
H A DHeaderGuardCheck.cpp21 std::string Guard = tooling::getAbsolutePath(Filename); in getHeaderGuard() local
/llvm-project/llvm/unittests/Analysis/
H A DLoopInfoTest.cpp266 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
325 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
384 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
443 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
502 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
562 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
621 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
677 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
736 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
795 BranchInst *Guard = dyn_cast<BranchInst>(Entry->getTerminator()); in TEST() local
[all …]
/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_value.cpp41 __sanitizer::SpinMutexLock Guard(&Lock); in getObjCClassName() local
/llvm-project/clang-tools-extra/clang-doc/tool/
H A DClangDocMain.cpp328 std::lock_guard<llvm::sys::Mutex> Guard(IndexMutex); main() local
334 std::lock_guard<llvm::sys::Mutex> Guard(USRToInfoMutex); main() local
/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp503 Value *Guard = TLI->getIRStackGuard(B); in getStackGuard() local
626 CallInst *Call = B.CreateCall(GuardCheck, {Guard}); in InsertStackProtectors() local
664 Value *Guard = getStackGuard(TLI, M, B); InsertStackProtectors() local
/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp161 InstCombiner::BuilderTy::InsertPointGuard Guard(Builder); visitImpl() local
554 InstCombiner::BuilderTy::InsertPointGuard Guard(IC.Builder); Negate() local
H A DInstCombineSimplifyDemanded.cpp286 IRBuilderBase::InsertPointGuard Guard(Builder); SimplifyDemandedUseBits() local
430 IRBuilderBase::InsertPointGuard Guard(Builder); SimplifyDemandedUseBits() local
502 IRBuilderBase::InsertPointGuard Guard(Builder); SimplifyDemandedUseBits() local
519 IRBuilderBase::InsertPointGuard Guard(Builder); SimplifyDemandedUseBits() local
556 IRBuilderBase::InsertPointGuard Guard(Builder); SimplifyDemandedUseBits() local
/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp57 std::lock_guard<sys::Mutex> Guard(OProfileInitializationMutex); in initialize() local
/llvm-project/llvm/lib/Transforms/Utils/
H A DGuardUtils.cpp31 CallInst *Guard, bool UseWC) { in makeGuardControlFlowExplicit() argument
/llvm-project/llvm/unittests/Support/
H A DThreadPool.cpp385 std::lock_guard<std::mutex> Guard(AllThreadsLock); in RunOnAllSockets() local
390 std::lock_guard<std::mutex> Guard(Lock); in RunOnAllSockets() local
397 std::unique_lock<std::mutex> Guard(AllThreadsLock); in RunOnAllSockets() local
/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp287 std::lock_guard<sys::Mutex> Guard(Mutex); notifyObjectLoaded() local
426 std::lock_guard<sys::Mutex> Guard(Mutex); NotifyCode() local
468 std::lock_guard<sys::Mutex> Guard(Mutex); NotifyDebug() local
/llvm-project/clang-tools-extra/clangd/
H A DDraftStore.cpp119 std::lock_guard<std::mutex> Guard(Mutex); in asVFS() local

123