Home
last modified time | relevance | path

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

123

/freebsd/contrib/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); 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
284 SpinMutexLock Guard(&XRayInstrMapMutex); in controlPatching() local
351 SpinMutexLock Guard(&XRayInstrMapMutex); in mprotectAndPatchFunction() local
508 SpinMutexLock Guard(&XRayInstrMapMutex); in __xray_function_address() local
528 SpinMutexLock Guard(&XRayInstrMapMutex); in __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
/freebsd/contrib/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); in registerAnalysisGroup() local
111 sys::SmartScopedWriter<true> Guard(Lock); in addRegistrationListener() local
116 sys::SmartScopedWriter<true> Guard(Lock); in removeRegistrationListener() local
/freebsd/stand/libsa/
H A Dzalloc_defs.h71 typedef struct Guard { struct
74 } Guard; typedef
/freebsd/contrib/libcxxrt/
H A Dguard.cc278 using Guard = SingleWordGuard<uint32_t, 31, 0>; typedef
286 using Guard = SingleWordGuard<uint64_t, 63, 0>; typedef
293 using Guard = SingleWordGuard<uint64_t, 0, 56>; typedef
300 using Guard = DoubleWordGuard<31, 0>; typedef
305 using Guard = DoubleWordGuard<0, 24>; typedef
/freebsd/contrib/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); in finalize() local
319 std::lock_guard<std::mutex> Guard(Mutex); in insertString() local
341 std::lock_guard<std::mutex> Guard(Mutex); in addFunctionInfo() local
347 std::lock_guard<std::mutex> Guard(Mutex); in forEachFunctionInfo() local
356 std::lock_guard<std::mutex> Guard(Mutex); in forEachFunctionInfo() local
364 std::lock_guard<std::mutex> Guard(Mutex); in getNumFunctionInfos() local
480 std::lock_guard<std::mutex> Guard(Mutex); in copyFunctionInfo() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMakeGuardsExplicit.cpp46 static void turnToExplicitForm(CallInst *Guard, Function *DeoptIntrinsic) { in turnToExplicitForm()
76 for (auto *Guard : GuardIntrinsics) in explicifyGuards() local
H A DLoopPredication.cpp416 expandCheck(SCEVExpander & Expander,Instruction * Guard,ICmpInst::Predicate Pred,const SCEV * LHS,const SCEV * RHS) expandCheck() argument
582 widenICmpRangeCheckIncrementingLoop(LoopICmp LatchCheck,LoopICmp RangeCheck,SCEVExpander & Expander,Instruction * Guard) widenICmpRangeCheckIncrementingLoop() argument
632 widenICmpRangeCheckDecrementingLoop(LoopICmp LatchCheck,LoopICmp RangeCheck,SCEVExpander & Expander,Instruction * Guard) widenICmpRangeCheckDecrementingLoop() argument
695 widenICmpRangeCheck(ICmpInst * ICI,SCEVExpander & Expander,Instruction * Guard) widenICmpRangeCheck() argument
760 collectChecks(SmallVectorImpl<Value * > & Checks,Value * Condition,SCEVExpander & Expander,Instruction * Guard) collectChecks() argument
811 widenGuardConditions(IntrinsicInst * Guard,SCEVExpander & Expander) widenGuardConditions() argument
1322 for (auto *Guard : Guards) runOnLoop() local
1324 for (auto *Guard : GuardsAsWidenableBranches) runOnLoop() local
[all...]
/freebsd/contrib/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
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp51 std::lock_guard<sys::Mutex> Guard(AC.Lock); in clearAnnotationCache() local
67 std::lock_guard<sys::Mutex> Guard(AC.Lock); in cacheAnnotationFromMD() local
101 std::lock_guard<sys::Mutex> Guard(AC.Lock); in cacheAnnotationFromMD() local
136 std::lock_guard<sys::Mutex> Guard(AC.Lock); in findOneNVVMAnnotation() local
159 std::lock_guard<sys::Mutex> Guard(AC.Lock); in findAllNVVMAnnotation() local
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_value.cpp41 __sanitizer::SpinMutexLock Guard(&Lock); in getObjCClassName() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp419 Value *Guard = TLI->getIRStackGuard(B); getStackGuard() local
543 LoadInst *Guard = B.CreateLoad(B.getInt8PtrTy(), AI, true, "Guard"); InsertStackProtectors() local
581 Value *Guard = getStackGuard(TLI, M, B); InsertStackProtectors() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp161 InstCombiner::BuilderTy::InsertPointGuard Guard(Builder); in visitImpl() local
559 InstCombiner::BuilderTy::InsertPointGuard Guard(IC.Builder); in Negate() local
H A DInstCombineSimplifyDemanded.cpp286 IRBuilderBase::InsertPointGuard Guard(Builder); in SimplifyDemandedUseBits() local
430 IRBuilderBase::InsertPointGuard Guard(Builder); in SimplifyDemandedUseBits() local
502 IRBuilderBase::InsertPointGuard Guard(Builder); in SimplifyDemandedUseBits() local
519 IRBuilderBase::InsertPointGuard Guard(Builder); in SimplifyDemandedUseBits() local
556 IRBuilderBase::InsertPointGuard Guard(Builder); in SimplifyDemandedUseBits() local
/freebsd/contrib/llvm-project/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
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DGuardUtils.cpp31 CallInst *Guard, bool UseWC) { in makeGuardControlFlowExplicit()
H A DSimplifyLibCalls.cpp1927 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizeDoubleFP() local
1994 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizeCAbs() local
2006 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizeCAbs() local
2302 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizePow() local
2439 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizeExp2() local
2468 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizeFMinFMax() local
2583 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizeLog() local
2686 IRBuilderBase::InsertPointGuard Guard(B); in mergeSqrtToExp() local
2750 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizeSqrt() local
2890 IRBuilderBase::FastMathFlagGuard Guard(B); in optimizeSymmetricCall() local
[all …]
H A DScalarEvolutionExpander.cpp123 SCEVInsertPointGuard Guard(Builder, this); in ReuseOrCreateCast() local
296 SCEVInsertPointGuard Guard(Builder, this); in InsertBinop() local
383 SCEVInsertPointGuard Guard(Builder, this); in expandAddToGEP() local
1027 SCEVInsertPointGuard Guard(Builder, this); in getAddRecExprPHILiterally() local
1180 SCEVInsertPointGuard Guard(Builder, this); in expandAddRecExprLiterally() local
1523 SCEVInsertPointGuard Guard(Builder, this); in expand() local
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp57 std::lock_guard<sys::Mutex> Guard(OProfileInitializationMutex); in initialize() local
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp174 std::lock_guard<std::mutex> Guard(Mutex); in ~TemporaryFiles() local
180 std::lock_guard<std::mutex> Guard(Mutex); in addFile() local
187 std::lock_guard<std::mutex> Guard(Mutex); in removeFile() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp188 IRBuilder<>::InsertPointGuard Guard(IRB); in addBoundsChecking() local
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DConcurrentHashtable.h294 std::mutex Guard; global() member

123