| /openbsd-src/gnu/llvm/compiler-rt/lib/xray/ |
| H A D | xray_log_interface.cpp | 70 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 D | xray_fdr_logging.cpp | 499 RecursionGuard Guard{Running}; in fdrLoggingHandleArg0() local 500 if (!Guard) in fdrLoggingHandleArg0() 529 RecursionGuard Guard{Running}; in fdrLoggingHandleArg1() local 530 if (!Guard) in fdrLoggingHandleArg1() 559 RecursionGuard Guard{Running}; in fdrLoggingHandleCustomEvent() local 560 if (!Guard) in fdrLoggingHandleCustomEvent() 589 RecursionGuard Guard{Running}; in fdrLoggingHandleTypedEvent() local 590 if (!Guard) in fdrLoggingHandleTypedEvent()
|
| H A D | xray_init.cpp | 64 SpinMutexLock Guard(&XRayInitMutex); in __xray_init() local 84 SpinMutexLock Guard(&XRayInstrMapMutex); in __xray_init() local
|
| H A D | xray_interface.cpp | 222 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 D | xray_buffer_queue.cpp | 71 SpinMutexLock Guard(&Mutex); in init() local 167 SpinMutexLock Guard(&Mutex); in getBuffer() local 189 SpinMutexLock Guard(&Mutex); in releaseBuffer() local
|
| H A D | xray_basic_logging.cpp | 80 thread_local atomic_uint8_t Guard{0}; variable 168 RecursionGuard G(Guard); in InMemoryRawLog() 279 RecursionGuard G(Guard); in InMemoryRawLogWithArg()
|
| H A D | xray_powerpc64.inc | 43 std::lock_guard<std::mutex> Guard(M);
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | GuardUtils.cpp | 31 CallInst *Guard, bool UseWC) { in makeGuardControlFlowExplicit() argument 32 OperandBundleDef DeoptOB(*Guard->getOperandBundle(LLVMContext::OB_deopt)); in makeGuardControlFlowExplicit() 33 SmallVector<Value *, 4> Args(drop_begin(Guard->args())); in makeGuardControlFlowExplicit() 35 auto *CheckBB = Guard->getParent(); in makeGuardControlFlowExplicit() 37 SplitBlockAndInsertIfThen(Guard->getArgOperand(0), Guard, true); in makeGuardControlFlowExplicit() 48 if (auto *MD = Guard->getMetadata(LLVMContext::MD_make_implicit)) in makeGuardControlFlowExplicit() 51 MDBuilder MDB(Guard->getContext()); in makeGuardControlFlowExplicit() 65 DeoptCall->setCallingConv(Guard->getCallingConv()); in makeGuardControlFlowExplicit()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPredication.cpp | 295 Value *expandCheck(SCEVExpander &Expander, Instruction *Guard, 301 Instruction *Guard); 305 Instruction *Guard); 309 Instruction *Guard); 311 SCEVExpander &Expander, Instruction *Guard); 313 bool widenWidenableBranchGuardConditions(BranchInst *Guard, SCEVExpander &Expander); 416 Instruction *Guard, in expandCheck() argument 423 IRBuilder<> Builder(Guard); in expandCheck() 432 Expander.expandCodeFor(LHS, Ty, findInsertPt(Expander, Guard, {LHS})); in expandCheck() 434 Expander.expandCodeFor(RHS, Ty, findInsertPt(Expander, Guard, {RHS})); in expandCheck() [all …]
|
| H A D | MakeGuardsExplicit.cpp | 56 static void turnToExplicitForm(CallInst *Guard, Function *DeoptIntrinsic) { in turnToExplicitForm() argument 58 BasicBlock *OriginalBB = Guard->getParent(); in turnToExplicitForm() 60 makeGuardControlFlowExplicit(DeoptIntrinsic, Guard, true); in turnToExplicitForm() 63 Guard->eraseFromParent(); in turnToExplicitForm() 86 for (auto *Guard : GuardIntrinsics) in explicifyGuards() local 87 turnToExplicitForm(Guard, DeoptIntrinsic); in explicifyGuards()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | PassRegistry.cpp | 36 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
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/GSYM/ |
| H A D | GsymCreator.cpp | 39 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
|
| /openbsd-src/gnu/llvm/llvm/lib/Debuginfod/ |
| H A D | Debuginfod.cpp | 282 std::lock_guard<std::mutex> Guard(QueueMutex); in push() local 290 std::unique_lock<std::mutex> Guard(QueueMutex); in pop() local 292 QueueCondition.wait(Guard, [&] { return !LogEntryQueue.empty(); }); in pop() 294 std::lock_guard<std::mutex> Guard(QueueMutex); in pop() local 312 std::lock_guard<sys::Mutex> Guard(UpdateMutex); in update() local 377 std::lock_guard<std::mutex> Guard(IteratorMutex); in findBinaries() local 423 std::unique_lock<std::mutex> Guard(IteratorMutex); in findBinaries() local 432 std::shared_lock<sys::RWMutex> Guard(BinariesMutex); in getBinaryPath() local 444 std::shared_lock<sys::RWMutex> Guard(DebugBinariesMutex); in getDebugBinaryPath() local
|
| /openbsd-src/gnu/usr.bin/perl/cpan/autodie/lib/autodie/Scope/ |
| H A D | GuardStack.pm | 6 use autodie::Scope::Guard; 16 # Scope::Guard module. 28 $^H{$h_key} = autodie::Scope::Guard->new(sub {
|
| H A D | Guard.pm | 1 package autodie::Scope::Guard; 11 # Scope::Guard module. 30 autodie::Scope::Guard - Wrapper class for calling subs at end of scope 34 use autodie::Scope::Guard; 35 $^H{'my-key'} = autodie::Scope::Guard->new(sub { 47 Scope::Guard module. 53 my $hook = autodie::Scope::Guard->new(sub {}); 55 Creates a new C<autodie::Scope::Guard>, which will invoke the given
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | StackProtector.cpp | 392 Value *Guard = TLI->getIRStackGuard(B); in getStackGuard() local 394 if ((GuardMode == "tls" || GuardMode.empty()) && Guard) in getStackGuard() 395 return B.CreateLoad(B.getInt8PtrTy(), Guard, true, "StackGuard"); in getStackGuard() 516 LoadInst *Guard = B.CreateLoad(B.getInt8PtrTy(), AI, true, "Guard"); in InsertStackProtectors() local 517 CallInst *Call = B.CreateCall(GuardCheck, {Guard}); in InsertStackProtectors() 554 Value *Guard = getStackGuard(TLI, M, B); in InsertStackProtectors() local 556 auto *Cmp = cast<ICmpInst>(B.CreateICmpNE(Guard, LI2)); in InsertStackProtectors()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXUtilities.cpp | 49 std::lock_guard<sys::Mutex> Guard(AC.Lock); in clearAnnotationCache() local 55 std::lock_guard<sys::Mutex> Guard(AC.Lock); in cacheAnnotationFromMD() local 82 std::lock_guard<sys::Mutex> Guard(AC.Lock); in cacheAnnotationFromMD() local 117 std::lock_guard<sys::Mutex> Guard(AC.Lock); in findOneNVVMAnnotation() local 132 std::lock_guard<sys::Mutex> Guard(AC.Lock); in findAllNVVMAnnotation() local
|
| /openbsd-src/gnu/llvm/clang/utils/TableGen/ |
| H A D | SveEmitter.cpp | 157 std::string Guard; member in __anon5066fa640111::Intrinsic 176 ClassKind Class, SVEEmitter &Emitter, StringRef Guard); 186 StringRef getGuard() const { return Guard; } in getGuard() 816 SVEEmitter &Emitter, StringRef Guard) in Intrinsic() argument 818 BaseTypeSpec(BT), Class(Class), Guard(Guard.str()), in Intrinsic() 996 StringRef Guard = R->getValueAsString("TargetGuard"); in createIntrinsic() local 1051 TS, ClassS, *this, Guard)); in createIntrinsic() 1057 ImmChecks, TS, ClassG, *this, Guard)); in createIntrinsic()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| H A D | GuardUtils.h | 29 void makeGuardControlFlowExplicit(Function *DeoptIntrinsic, CallInst *Guard,
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | ValueMap.h | 263 std::unique_lock<typename Config::mutex_type> Guard; 265 Guard = std::unique_lock<typename Config::mutex_type>(*M); 276 std::unique_lock<typename Config::mutex_type> Guard; 278 Guard = std::unique_lock<typename Config::mutex_type>(*M);
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGDeclCXX.cpp | 736 llvm::GlobalVariable *Guard = new llvm::GlobalVariable( in EmitCXXModuleInitFunc() local 741 Guard->setAlignment(GuardAlign.getAsAlign()); in EmitCXXModuleInitFunc() 742 GuardAddr = ConstantAddress(Guard, Int8Ty, GuardAlign); in EmitCXXModuleInitFunc() 1019 ConstantAddress Guard) { in GenerateCXXGlobalInitFunc() argument 1028 if (Guard.isValid()) { in GenerateCXXGlobalInitFunc() 1031 llvm::Value *GuardVal = Builder.CreateLoad(Guard); in GenerateCXXGlobalInitFunc() 1042 Builder.CreateStore(llvm::ConstantInt::get(GuardVal->getType(),1), Guard); in GenerateCXXGlobalInitFunc() 1046 Guard.getPointer(), in GenerateCXXGlobalInitFunc()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/PerfJITEvents/ |
| H A D | PerfJITEventListener.cpp | 287 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
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | SearchableTableEmitter.cpp | 190 void emitIfdef(StringRef Guard, raw_ostream &OS); 287 void SearchableTableEmitter::emitIfdef(StringRef Guard, raw_ostream &OS) { in emitIfdef() argument 288 OS << "#ifdef " << Guard << "\n"; in emitIfdef() 289 PreprocessorGuards.insert(std::string(Guard)); in emitIfdef() 821 for (const auto &Guard : PreprocessorGuards) in run() local 822 OS << "#undef " << Guard << "\n"; in run()
|
| /openbsd-src/gnu/llvm/lld/MinGW/ |
| H A D | Options.td | 144 defm guard_cf : B<"guard-cf", "Enable Control Flow Guard" , 145 "Do not enable Control Flow Guard (default)">; 147 "Enable Control Flow Guard long jump hardening (default for --guard-cf)" , 148 "Do not enable Control Flow Guard long jump hardening">;
|
| /openbsd-src/gnu/usr.bin/perl/dist/threads/t/ |
| H A D | libc.t | 12 # Guard against bugs that result in deadlock
|