Home
last modified time | relevance | path

Searched refs:Guard (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp408 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 DMakeGuardsExplicit.cpp58 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/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_log_interface.cc71 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 Dxray_fdr_logging.cc501 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 Dxray_interface.cc193 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 Dxray_init.cc65 SpinMutexLock Guard(&XRayInitMutex); in __xray_init() local
85 SpinMutexLock Guard(&XRayInstrMapMutex); in __xray_init() local
H A Dxray_buffer_queue.cc72 SpinMutexLock Guard(&Mutex); in init() local
168 SpinMutexLock Guard(&Mutex); in getBuffer() local
190 SpinMutexLock Guard(&Mutex); in releaseBuffer() local
H A Dxray_basic_logging.cc81 thread_local atomic_uint8_t Guard{0}; variable
169 RecursionGuard G(Guard); in InMemoryRawLog()
280 RecursionGuard G(Guard); in InMemoryRawLogWithArg()
H A Dxray_powerpc64.inc29 std::lock_guard<std::mutex> Guard(M);
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DGuardUtils.cpp31 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/external/apache2/llvm/dist/llvm/lib/IR/
H A DPassRegistry.cpp42 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/external/bsd/ntp/dist/sntp/unity/
H A Dunity_fixture.c178 } 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/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/
H A DGsymCreator.cpp38 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/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DStackProtector.cpp382 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/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp42 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/external/apache2/llvm/dist/clang/utils/TableGen/
H A DSveEmitter.cpp157 std::string Guard; member in __anon93c24aae0111::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 DNeonEmitter.cpp325 std::string Guard; member in __anon7e6fcd500111::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/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DValueMap.h264 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/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DGuardUtils.h29 void makeGuardControlFlowExplicit(Function *DeoptIntrinsic, CallInst *Guard,
/netbsd/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp192 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/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDeclCXX.cpp750 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/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp261 std::unique_lock<sys::Mutex> Guard(*FunctionsLock); in callExternalFunction() local
268 Guard.unlock(); in callExternalFunction()
286 Guard.unlock(); in callExternalFunction()
/netbsd/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp424 std::lock_guard<sys::Mutex> Guard(Mutex); in NotifyCode() local
466 std::lock_guard<sys::Mutex> Guard(Mutex); in NotifyDebug() local
/netbsd/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp57 std::lock_guard<sys::Mutex> Guard(OProfileInitializationMutex); in initialize() local
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp168 InstCombiner::BuilderTy::InsertPointGuard Guard(Builder); in visitImpl() local
514 InstCombiner::BuilderTy::InsertPointGuard Guard(IC.Builder); in Negate() local

12345678910>>...13