| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPredication.cpp | 284 Value *expandCheck(SCEVExpander &Expander, Instruction *Guard, 289 Instruction *Guard); 293 Instruction *Guard); 297 Instruction *Guard); 299 SCEVExpander &Expander, Instruction *Guard); 301 bool widenWidenableBranchGuardConditions(BranchInst *Guard, SCEVExpander &Expander); 401 Instruction *Guard, in expandCheck() argument 408 IRBuilder<> Builder(Guard); in expandCheck() 416 Value *LHSV = Expander.expandCodeFor(LHS, Ty, findInsertPt(Guard, {LHS})); in expandCheck() 417 Value *RHSV = Expander.expandCodeFor(RHS, Ty, findInsertPt(Guard, {RHS})); in expandCheck() [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()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
| H A D | xray_log_interface.cc | 71 SpinMutexLock Guard(&XRayImplMutex); in __xray_log_register_mode() local 87 SpinMutexLock Guard(&XRayImplMutex); in __xray_log_select_mode() local 101 SpinMutexLock Guard(&XRayImplMutex); in __xray_log_get_current_mode() local 110 SpinMutexLock Guard(&XRayImplMutex); in __xray_set_log_impl() local 118 SpinMutexLock Guard(&XRayImplMutex); in __xray_set_log_impl() local 125 SpinMutexLock Guard(&XRayImplMutex); in __xray_remove_log_impl() local 134 SpinMutexLock Guard(&XRayImplMutex); in __xray_log_init() local 142 SpinMutexLock Guard(&XRayImplMutex); in __xray_log_init_mode() local 163 SpinMutexLock Guard(&XRayImplMutex); in __xray_log_init_mode_bin() local 182 SpinMutexLock Guard(&XRayImplMutex); in __xray_log_finalize() local [all …]
|
| H A D | xray_fdr_logging.cc | 501 RecursionGuard Guard{Running}; in fdrLoggingHandleArg0() local 502 if (!Guard) in fdrLoggingHandleArg0() 531 RecursionGuard Guard{Running}; in fdrLoggingHandleArg1() local 532 if (!Guard) in fdrLoggingHandleArg1() 561 RecursionGuard Guard{Running}; in fdrLoggingHandleCustomEvent() local 562 if (!Guard) in fdrLoggingHandleCustomEvent() 591 RecursionGuard Guard{Running}; in fdrLoggingHandleTypedEvent() local 592 if (!Guard) in fdrLoggingHandleTypedEvent()
|
| H A D | xray_interface.cc | 193 SpinMutexLock Guard(&XRayInstrMapMutex); in patchFunction() local 251 SpinMutexLock Guard(&XRayInstrMapMutex); in controlPatching() local 317 SpinMutexLock Guard(&XRayInstrMapMutex); in mprotectAndPatchFunction() local 465 SpinMutexLock Guard(&XRayInstrMapMutex); in __xray_function_address() local 479 SpinMutexLock Guard(&XRayInstrMapMutex); in __xray_max_function_id() local
|
| H A D | xray_init.cc | 65 SpinMutexLock Guard(&XRayInitMutex); in __xray_init() local 85 SpinMutexLock Guard(&XRayInstrMapMutex); in __xray_init() local
|
| H A D | xray_buffer_queue.cc | 72 SpinMutexLock Guard(&Mutex); in init() local 168 SpinMutexLock Guard(&Mutex); in getBuffer() local 190 SpinMutexLock Guard(&Mutex); in releaseBuffer() local
|
| H A D | xray_basic_logging.cc | 81 thread_local atomic_uint8_t Guard{0}; variable 169 RecursionGuard G(Guard); in InMemoryRawLog() 280 RecursionGuard G(Guard); in InMemoryRawLogWithArg()
|
| H A D | xray_powerpc64.inc | 29 std::lock_guard<std::mutex> Guard(M);
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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
|
| /netbsd-src/external/bsd/ntp/dist/sntp/unity/ |
| H A D | unity_fixture.c | 178 } Guard; typedef 186 Guard* guard; in unity_malloc() 197 guard = (Guard*)malloc(size + sizeof(Guard) + 4); in unity_malloc() 207 Guard* guard = (Guard*)mem; in isOverrun() 216 Guard* guard = (Guard*)mem; in release_memory() 242 Guard* guard = (Guard*)oldMem; in unity_realloc()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/ |
| H A D | GsymCreator.cpp | 38 std::lock_guard<std::mutex> Guard(Mutex); in insertFile() local 58 std::lock_guard<std::mutex> Guard(Mutex); in encode() local 191 std::lock_guard<std::mutex> Guard(Mutex); in finalize() local 299 std::lock_guard<std::mutex> Guard(Mutex); in insertString() local 315 std::lock_guard<std::mutex> Guard(Mutex); in addFunctionInfo() local 322 std::lock_guard<std::mutex> Guard(Mutex); in forEachFunctionInfo() local 331 std::lock_guard<std::mutex> Guard(Mutex); in forEachFunctionInfo() local 339 std::lock_guard<std::mutex> Guard(Mutex); in getNumFunctionInfos() local 350 std::lock_guard<std::mutex> Guard(Mutex); in hasFunctionInfoForAddress() local
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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
|
| /netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| H A D | SveEmitter.cpp | 157 std::string Guard; member in __anon47288a980111::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 __anon9e9e0a7a0111::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()
|
| /netbsd-src/external/apache2/llvm/dist/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);
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
| H A D | GuardUtils.h | 29 void makeGuardControlFlowExplicit(Function *DeoptIntrinsic, CallInst *Guard,
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGDeclCXX.cpp | 750 ConstantAddress Guard) { in GenerateCXXGlobalInitFunc() argument 759 if (Guard.isValid()) { in GenerateCXXGlobalInitFunc() 762 llvm::Value *GuardVal = Builder.CreateLoad(Guard); in GenerateCXXGlobalInitFunc() 773 Builder.CreateStore(llvm::ConstantInt::get(GuardVal->getType(),1), Guard); in GenerateCXXGlobalInitFunc() 777 Guard.getPointer(), in GenerateCXXGlobalInitFunc()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | ExternalFunctions.cpp | 261 std::unique_lock<sys::Mutex> Guard(*FunctionsLock); in callExternalFunction() local 268 Guard.unlock(); in callExternalFunction() 286 Guard.unlock(); in callExternalFunction()
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/ubsan/ |
| H A D | ubsan_value.cpp | 43 __sanitizer::SpinMutexLock Guard(&Lock); in getObjCClassName() local
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/PerfJITEvents/ |
| H A D | PerfJITEventListener.cpp | 424 std::lock_guard<sys::Mutex> Guard(Mutex); in NotifyCode() local 466 std::lock_guard<sys::Mutex> Guard(Mutex); in NotifyDebug() local
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/OProfileJIT/ |
| H A D | OProfileWrapper.cpp | 57 std::lock_guard<sys::Mutex> Guard(OProfileInitializationMutex); in initialize() local
|