| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | GuardUtils.cpp | 28 CallInst *Guard) { in makeGuardControlFlowExplicit() argument 29 OperandBundleDef DeoptOB(*Guard->getOperandBundle(LLVMContext::OB_deopt)); in makeGuardControlFlowExplicit() 30 SmallVector<Value *, 4> Args(std::next(Guard->arg_begin()), Guard->arg_end()); in makeGuardControlFlowExplicit() 32 auto *CheckBB = Guard->getParent(); in makeGuardControlFlowExplicit() 34 SplitBlockAndInsertIfThen(Guard->getArgOperand(0), Guard, true); in makeGuardControlFlowExplicit() 45 if (auto *MD = Guard->getMetadata(LLVMContext::MD_make_implicit)) in makeGuardControlFlowExplicit() 48 MDBuilder MDB(Guard->getContext()); in makeGuardControlFlowExplicit() 62 DeoptCall->setCallingConv(Guard->getCallingConv()); in makeGuardControlFlowExplicit()
|
| /freebsd-12.1/contrib/compiler-rt/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);
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | MakeGuardsExplicit.cpp | 58 static void turnToExplicitForm(CallInst *Guard, Function *DeoptIntrinsic) { in turnToExplicitForm() argument 60 BasicBlock *BB = Guard->getParent(); in turnToExplicitForm() 61 makeGuardControlFlowExplicit(DeoptIntrinsic, Guard); in turnToExplicitForm() 72 WidenableCondition->setCallingConv(Guard->getCallingConv()); in turnToExplicitForm() 77 Guard->eraseFromParent(); in turnToExplicitForm() 100 for (auto *Guard : GuardIntrinsics) in explicifyGuards() local 101 turnToExplicitForm(Guard, DeoptIntrinsic); in explicifyGuards()
|
| H A D | LoopPredication.cpp | 577 bool LoopPredication::widenGuardConditions(IntrinsicInst *Guard, in widenGuardConditions() argument 580 LLVM_DEBUG(Guard->dump()); in widenGuardConditions() 591 SmallVector<Value *, 4> Worklist(1, Guard->getOperand(0)); in widenGuardConditions() 628 Builder.SetInsertPoint(Guard); in widenGuardConditions() 635 Guard->setOperand(0, LastCheck); in widenGuardConditions() 833 for (auto *Guard : Guards) in runOnLoop() local 834 Changed |= widenGuardConditions(Guard, Expander); in runOnLoop()
|
| /freebsd-12.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-12.1/contrib/llvm/lib/IR/ |
| H A D | PassRegistry.cpp | 43 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local 49 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local 59 sys::SmartScopedWriter<true> Guard(Lock); in registerPass() local 75 sys::SmartScopedReader<true> Guard(Lock); in enumerateWith() local 99 sys::SmartScopedWriter<true> Guard(Lock); in registerAnalysisGroup() local 120 sys::SmartScopedWriter<true> Guard(Lock); in addRegistrationListener() local 125 sys::SmartScopedWriter<true> Guard(Lock); in removeRegistrationListener() local
|
| /freebsd-12.1/stand/libsa/ |
| H A D | zalloc_malloc.c | 74 Guard *res; in Malloc_align() 112 Guard *res = (void *)((char *)ptr - MALLOCALIGN); in Free() 178 Guard *g = (Guard *)((char *)ptr - MALLOCALIGN); in Realloc()
|
| H A D | zalloc_defs.h | 73 typedef struct Guard { struct 76 } Guard; argument
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | StackProtector.cpp | 325 if (Value *Guard = TLI->getIRStackGuard(B)) in getStackGuard() local 326 return B.CreateLoad(Guard, true, "StackGuard"); in getStackGuard() 421 LoadInst *Guard = B.CreateLoad(AI, true, "Guard"); in InsertStackProtectors() local 422 CallInst *Call = B.CreateCall(GuardCheck, {Guard}); in InsertStackProtectors() 476 Value *Guard = getStackGuard(TLI, M, B); in InsertStackProtectors() local 478 Value *Cmp = B.CreateICmpEQ(Guard, LI2); in InsertStackProtectors()
|
| /freebsd-12.1/contrib/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXUtilities.cpp | 41 MutexGuard Guard(Lock); in clearAnnotationCache() local 46 MutexGuard Guard(Lock); in cacheAnnotationFromMD() local 72 MutexGuard Guard(Lock); in cacheAnnotationFromMD() local 106 MutexGuard Guard(Lock); in findOneNVVMAnnotation() local 120 MutexGuard Guard(Lock); in findAllNVVMAnnotation() local
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | ValueMap.h | 270 unique_lock<typename Config::mutex_type> Guard; 272 Guard = unique_lock<typename Config::mutex_type>(*M); 283 unique_lock<typename Config::mutex_type> Guard; 285 Guard = unique_lock<typename Config::mutex_type>(*M);
|
| /freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/ |
| H A D | GuardUtils.h | 26 void makeGuardControlFlowExplicit(Function *DeoptIntrinsic, CallInst *Guard);
|
| /freebsd-12.1/contrib/llvm/utils/TableGen/ |
| H A D | SearchableTableEmitter.cpp | 179 void emitIfdef(StringRef Guard, raw_ostream &OS); 276 void SearchableTableEmitter::emitIfdef(StringRef Guard, raw_ostream &OS) { in emitIfdef() argument 277 OS << "#ifdef " << Guard << "\n"; in emitIfdef() 278 PreprocessorGuards.insert(Guard); in emitIfdef() 782 for (const auto &Guard : PreprocessorGuards) in run() local 783 OS << "#undef " << Guard << "\n"; in run()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGDeclCXX.cpp | 627 ConstantAddress Guard) { in GenerateCXXGlobalInitFunc() argument 636 if (Guard.isValid()) { in GenerateCXXGlobalInitFunc() 639 llvm::Value *GuardVal = Builder.CreateLoad(Guard); in GenerateCXXGlobalInitFunc() 650 Builder.CreateStore(llvm::ConstantInt::get(GuardVal->getType(),1), Guard); in GenerateCXXGlobalInitFunc() 654 Guard.getPointer(), in GenerateCXXGlobalInitFunc()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | ExternalFunctions.cpp | 262 unique_lock<sys::Mutex> Guard(*FunctionsLock); in callExternalFunction() local 269 Guard.unlock(); in callExternalFunction() 287 Guard.unlock(); in callExternalFunction()
|
| /freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/ |
| H A D | NeonEmitter.cpp | 306 std::string Guard; member in __anoneec6fbfe0111::Intrinsic 339 StringRef Guard, bool IsUnavailable, bool BigEndianSafe) in Intrinsic() argument 341 CK(CK), Body(Body), Guard(Guard.str()), IsUnavailable(IsUnavailable), in Intrinsic() 377 std::string getGuard() const { return Guard; } in getGuard() 438 if (Guard != Other.Guard) in operator <() 439 return Guard < Other.Guard; in operator <() 2029 std::string Guard = R->getValueAsString("ArchGuard"); in createIntrinsic() local 2067 Guard, IsUnavailable, BigEndianSafe); in createIntrinsic()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/PerfJITEvents/ |
| H A D | PerfJITEventListener.cpp | 418 MutexGuard Guard(Mutex); in NotifyCode() local 460 MutexGuard Guard(Mutex); in NotifyDebug() local
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/OProfileJIT/ |
| H A D | OProfileWrapper.cpp | 58 MutexGuard Guard(OProfileInitializationMutex); in initialize() local
|
| /freebsd-12.1/contrib/llvm/include/llvm/Transforms/Scalar/ |
| H A D | JumpThreading.h | 150 bool ThreadGuard(BasicBlock *BB, IntrinsicInst *Guard, BranchInst *BI);
|