| /freebsd-13.1/contrib/llvm-project/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 | 219 SpinMutexLock Guard(&XRayInstrMapMutex); in patchFunction() local 277 SpinMutexLock Guard(&XRayInstrMapMutex); in controlPatching() local 344 SpinMutexLock Guard(&XRayInstrMapMutex); in mprotectAndPatchFunction() local 496 SpinMutexLock Guard(&XRayInstrMapMutex); in __xray_function_address() local 516 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 | 28 std::lock_guard<std::mutex> Guard(M);
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPredication.cpp | 408 IRBuilder<> Builder(Guard); in expandCheck() 565 SCEVExpander &Expander, Instruction *Guard) { in widenICmpRangeCheckIncrementingLoop() argument 587 if (!isSafeToExpandAt(LatchStart, Guard, *SE) || in widenICmpRangeCheckIncrementingLoop() 588 !isSafeToExpandAt(LatchLimit, Guard, *SE)) { in widenICmpRangeCheckIncrementingLoop() 614 SCEVExpander &Expander, Instruction *Guard) { in widenICmpRangeCheckDecrementingLoop() argument 796 LLVM_DEBUG(Guard->dump()); in widenGuardConditions() 801 Guard); in widenGuardConditions() 810 auto *OldCond = Guard->getOperand(0); in widenGuardConditions() 811 Guard->setOperand(0, AllChecks); in widenGuardConditions() 1240 for (auto *Guard : Guards) in runOnLoop() local [all …]
|
| H A D | MakeGuardsExplicit.cpp | 58 static void turnToExplicitForm(CallInst *Guard, Function *DeoptIntrinsic) { in turnToExplicitForm() argument 60 BasicBlock *OriginalBB = Guard->getParent(); in turnToExplicitForm() 62 makeGuardControlFlowExplicit(DeoptIntrinsic, Guard, true); in turnToExplicitForm() 65 Guard->eraseFromParent(); in turnToExplicitForm() 88 for (auto *Guard : GuardIntrinsics) in explicifyGuards() local 89 turnToExplicitForm(Guard, DeoptIntrinsic); in explicifyGuards()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | PassRegistry.cpp | 42 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local 47 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local 56 sys::SmartScopedWriter<true> Guard(Lock); in registerPass() local 72 sys::SmartScopedReader<true> Guard(Lock); in enumerateWith() local 96 sys::SmartScopedWriter<true> Guard(Lock); in registerAnalysisGroup() local 117 sys::SmartScopedWriter<true> Guard(Lock); in addRegistrationListener() local 122 sys::SmartScopedWriter<true> Guard(Lock); in removeRegistrationListener() local
|
| /freebsd-13.1/contrib/ntp/sntp/unity/ |
| H A D | unity_fixture.c | 176 } Guard; typedef 184 Guard* guard; in unity_malloc() 195 guard = (Guard*)malloc(size + sizeof(Guard) + 4); in unity_malloc() 205 Guard* guard = (Guard*)mem; in isOverrun() 214 Guard* guard = (Guard*)mem; in release_memory() 240 Guard* guard = (Guard*)oldMem; in unity_realloc()
|
| /freebsd-13.1/contrib/llvm-project/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
|
| /freebsd-13.1/stand/libsa/ |
| H A D | zalloc_malloc.c | 78 Guard *res; in Malloc_align() 116 Guard *res = (void *)((char *)ptr - MALLOCALIGN); in Free() 187 Guard *g = (Guard *)((char *)ptr - MALLOCALIGN); in Realloc()
|
| H A D | zalloc_defs.h | 73 typedef struct Guard { struct 76 } Guard; argument
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StackProtector.cpp | 382 Value *Guard = TLI->getIRStackGuard(B); in getStackGuard() local 384 if ((GuardMode == "tls" || GuardMode.empty()) && Guard) in getStackGuard() 385 return B.CreateLoad(B.getInt8PtrTy(), Guard, true, "StackGuard"); in getStackGuard() 495 LoadInst *Guard = B.CreateLoad(B.getInt8PtrTy(), AI, true, "Guard"); in InsertStackProtectors() local 496 CallInst *Call = B.CreateCall(GuardCheck, {Guard}); in InsertStackProtectors() 550 Value *Guard = getStackGuard(TLI, M, B); in InsertStackProtectors() local 552 Value *Cmp = B.CreateICmpEQ(Guard, LI2); in InsertStackProtectors()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXUtilities.cpp | 42 std::lock_guard<sys::Mutex> Guard(Lock); in clearAnnotationCache() local 47 std::lock_guard<sys::Mutex> Guard(Lock); in cacheAnnotationFromMD() local 73 std::lock_guard<sys::Mutex> Guard(Lock); in cacheAnnotationFromMD() local 107 std::lock_guard<sys::Mutex> Guard(Lock); in findOneNVVMAnnotation() local 121 std::lock_guard<sys::Mutex> Guard(Lock); in findAllNVVMAnnotation() local
|
| /freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | SveEmitter.cpp | 157 std::string Guard; member in __anon1b4186c10111::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("ArchGuard"); in createIntrinsic() local 1051 TS, ClassS, *this, Guard)); in createIntrinsic() 1057 ImmChecks, TS, ClassG, *this, Guard)); in createIntrinsic()
|
| H A D | NeonEmitter.cpp | 325 std::string Guard; member in __anonf5d68bc30111::Intrinsic 371 StringRef Guard, bool IsUnavailable, bool BigEndianSafe) in Intrinsic() argument 373 Guard(Guard.str()), IsUnavailable(IsUnavailable), in Intrinsic() 414 std::string getGuard() const { return Guard; } in getGuard() 464 if (Guard != Other.Guard) in operator <() 465 return Guard < Other.Guard; in operator <() 1942 std::string Guard = std::string(R->getValueAsString("ArchGuard")); in createIntrinsic() local 1984 Guard, IsUnavailable, BigEndianSafe); in createIntrinsic()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | GuardUtils.h | 29 void makeGuardControlFlowExplicit(Function *DeoptIntrinsic, CallInst *Guard,
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ValueMap.h | 264 std::unique_lock<typename Config::mutex_type> Guard; 266 Guard = std::unique_lock<typename Config::mutex_type>(*M); 277 std::unique_lock<typename Config::mutex_type> Guard; 279 Guard = std::unique_lock<typename Config::mutex_type>(*M);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/ |
| H A D | PerfJITEventListener.cpp | 288 std::lock_guard<sys::Mutex> Guard(Mutex); in notifyObjectLoaded() local 427 std::lock_guard<sys::Mutex> Guard(Mutex); in NotifyCode() local 469 std::lock_guard<sys::Mutex> Guard(Mutex); in NotifyDebug() local
|
| /freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | SearchableTableEmitter.cpp | 192 void emitIfdef(StringRef Guard, raw_ostream &OS); 289 void SearchableTableEmitter::emitIfdef(StringRef Guard, raw_ostream &OS) { in emitIfdef() argument 290 OS << "#ifdef " << Guard << "\n"; in emitIfdef() 291 PreprocessorGuards.insert(std::string(Guard)); in emitIfdef() 816 for (const auto &Guard : PreprocessorGuards) in run() local 817 OS << "#undef " << Guard << "\n"; in run()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_value.cpp | 43 __sanitizer::SpinMutexLock Guard(&Lock); in getObjCClassName() local
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | ExternalFunctions.cpp | 263 std::unique_lock<sys::Mutex> Guard(*FunctionsLock); in callExternalFunction() local 270 Guard.unlock(); in callExternalFunction() 288 Guard.unlock(); in callExternalFunction()
|