Searched refs:Guard (Results 1 - 25 of 65) sorted by relevance

123

/openbsd-current/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DMakeGuardsExplicit.cpp56 static void turnToExplicitForm(CallInst *Guard, Function *DeoptIntrinsic) { argument
58 BasicBlock *OriginalBB = Guard->getParent();
60 makeGuardControlFlowExplicit(DeoptIntrinsic, Guard, true);
63 Guard->eraseFromParent();
86 for (auto *Guard : GuardIntrinsics)
87 turnToExplicitForm(Guard, DeoptIntrinsic);
H A DLoopPredication.cpp1 //===-- LoopPredication.cpp - Guard based loop predication pass -----------===//
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,
423 IRBuilder<> Builder(Guard);
432 Expander.expandCodeFor(LHS, Ty, findInsertPt(Expander, Guard, {LH
415 expandCheck(SCEVExpander &Expander, Instruction *Guard, ICmpInst::Predicate Pred, const SCEV *LHS, const SCEV *RHS) argument
580 widenICmpRangeCheckIncrementingLoop( LoopICmp LatchCheck, LoopICmp RangeCheck, SCEVExpander &Expander, Instruction *Guard) argument
629 widenICmpRangeCheckDecrementingLoop( LoopICmp LatchCheck, LoopICmp RangeCheck, SCEVExpander &Expander, Instruction *Guard) argument
692 widenICmpRangeCheck(ICmpInst *ICI, SCEVExpander &Expander, Instruction *Guard) argument
755 collectChecks(SmallVectorImpl<Value *> &Checks, Value *Condition, SCEVExpander &Expander, Instruction *Guard) argument
809 widenGuardConditions(IntrinsicInst *Guard, SCEVExpander &Expander) argument
[all...]
/openbsd-current/gnu/usr.bin/perl/cpan/autodie/lib/autodie/Scope/
H A DGuard.pm1 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
H A DGuardStack.pm6 use autodie::Scope::Guard;
16 # Scope::Guard module.
28 $^H{$h_key} = autodie::Scope::Guard->new(sub {
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Utils/
H A DGuardUtils.cpp31 CallInst *Guard, bool UseWC) {
32 OperandBundleDef DeoptOB(*Guard->getOperandBundle(LLVMContext::OB_deopt));
33 SmallVector<Value *, 4> Args(drop_begin(Guard->args()));
35 auto *CheckBB = Guard->getParent();
37 SplitBlockAndInsertIfThen(Guard->getArgOperand(0), Guard, true);
48 if (auto *MD = Guard->getMetadata(LLVMContext::MD_make_implicit))
51 MDBuilder MDB(Guard->getContext());
65 DeoptCall->setCallingConv(Guard->getCallingConv());
30 makeGuardControlFlowExplicit(Function *DeoptIntrinsic, CallInst *Guard, bool UseWC) argument
/openbsd-current/gnu/llvm/compiler-rt/lib/xray/
H A Dxray_powerpc64.inc43 std::lock_guard<std::mutex> Guard(M);
H A Dxray_log_interface.cpp70 SpinMutexLock Guard(&XRayImplMutex);
86 SpinMutexLock Guard(&XRayImplMutex);
100 SpinMutexLock Guard(&XRayImplMutex);
109 SpinMutexLock Guard(&XRayImplMutex);
117 SpinMutexLock Guard(&XRayImplMutex);
124 SpinMutexLock Guard(&XRayImplMutex);
133 SpinMutexLock Guard(&XRayImplMutex);
141 SpinMutexLock Guard(&XRayImplMutex);
162 SpinMutexLock Guard(&XRayImplMutex);
181 SpinMutexLock Guard(
[all...]
H A Dxray_init.cpp64 SpinMutexLock Guard(&XRayInitMutex);
84 SpinMutexLock Guard(&XRayInstrMapMutex);
H A Dxray_fdr_logging.cpp499 RecursionGuard Guard{Running};
500 if (!Guard)
529 RecursionGuard Guard{Running};
530 if (!Guard)
559 RecursionGuard Guard{Running};
560 if (!Guard)
589 RecursionGuard Guard{Running};
590 if (!Guard)
H A Dxray_buffer_queue.cpp71 SpinMutexLock Guard(&Mutex);
167 SpinMutexLock Guard(&Mutex);
189 SpinMutexLock Guard(&Mutex);
H A Dxray_interface.cpp222 SpinMutexLock Guard(&XRayInstrMapMutex);
280 SpinMutexLock Guard(&XRayInstrMapMutex);
347 SpinMutexLock Guard(&XRayInstrMapMutex);
499 SpinMutexLock Guard(&XRayInstrMapMutex);
519 SpinMutexLock Guard(&XRayInstrMapMutex);
H A Dxray_basic_logging.cpp80 thread_local atomic_uint8_t Guard{0};
168 RecursionGuard G(Guard);
279 RecursionGuard G(Guard);
/openbsd-current/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DGuardUtils.h22 /// Splits control flow at point of \p Guard, replacing it with explicit branch
24 /// the block that contains \p Guard's successors, and the non-taken branch
29 void makeGuardControlFlowExplicit(Function *DeoptIntrinsic, CallInst *Guard,
/openbsd-current/gnu/llvm/llvm/lib/IR/
H A DPassRegistry.cpp36 sys::SmartScopedReader<true> Guard(Lock);
41 sys::SmartScopedReader<true> Guard(Lock);
50 sys::SmartScopedWriter<true> Guard(Lock);
66 sys::SmartScopedReader<true> Guard(Lock);
90 sys::SmartScopedWriter<true> Guard(Lock);
111 sys::SmartScopedWriter<true> Guard(Lock);
116 sys::SmartScopedWriter<true> Guard(Lock);
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/GSYM/
H A DGsymCreator.cpp39 std::lock_guard<std::mutex> Guard(Mutex);
59 std::lock_guard<std::mutex> Guard(Mutex);
192 std::lock_guard<std::mutex> Guard(Mutex);
309 std::lock_guard<std::mutex> Guard(Mutex);
325 std::lock_guard<std::mutex> Guard(Mutex);
332 std::lock_guard<std::mutex> Guard(Mutex);
341 std::lock_guard<std::mutex> Guard(Mutex);
349 std::lock_guard<std::mutex> Guard(Mutex);
360 std::lock_guard<std::mutex> Guard(Mutex);
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/
H A DStackProtector.cpp392 Value *Guard = TLI->getIRStackGuard(B); local
394 if ((GuardMode == "tls" || GuardMode.empty()) && Guard)
395 return B.CreateLoad(B.getInt8PtrTy(), Guard, true, "StackGuard");
516 LoadInst *Guard = B.CreateLoad(B.getInt8PtrTy(), AI, true, "Guard"); local
517 CallInst *Call = B.CreateCall(GuardCheck, {Guard});
554 Value *Guard = getStackGuard(TLI, M, B); local
556 auto *Cmp = cast<ICmpInst>(B.CreateICmpNE(Guard, LI2));
/openbsd-current/gnu/llvm/llvm/lib/Debuginfod/
H A DDebuginfod.cpp282 std::lock_guard<std::mutex> Guard(QueueMutex);
290 std::unique_lock<std::mutex> Guard(QueueMutex);
292 QueueCondition.wait(Guard, [&] { return !LogEntryQueue.empty(); });
294 std::lock_guard<std::mutex> Guard(QueueMutex);
312 std::lock_guard<sys::Mutex> Guard(UpdateMutex);
377 std::lock_guard<std::mutex> Guard(IteratorMutex);
423 std::unique_lock<std::mutex> Guard(IteratorMutex);
432 std::shared_lock<sys::RWMutex> Guard(BinariesMutex);
444 std::shared_lock<sys::RWMutex> Guard(DebugBinariesMutex);
/openbsd-current/gnu/llvm/compiler-rt/lib/ubsan/
H A Dubsan_value.cpp41 __sanitizer::SpinMutexLock Guard(&Lock);
/openbsd-current/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp49 std::lock_guard<sys::Mutex> Guard(AC.Lock);
55 std::lock_guard<sys::Mutex> Guard(AC.Lock);
82 std::lock_guard<sys::Mutex> Guard(AC.Lock);
117 std::lock_guard<sys::Mutex> Guard(AC.Lock);
132 std::lock_guard<sys::Mutex> Guard(AC.Lock);
/openbsd-current/gnu/llvm/llvm/include/llvm/IR/
H A DValueMap.h263 std::unique_lock<typename Config::mutex_type> Guard; variable
265 Guard = std::unique_lock<typename Config::mutex_type>(*M);
276 std::unique_lock<typename Config::mutex_type> Guard; variable
278 Guard = std::unique_lock<typename Config::mutex_type>(*M);
/openbsd-current/gnu/llvm/clang/utils/TableGen/
H A DSveEmitter.cpp157 std::string Guard; member in class:__anon1198::Intrinsic
176 ClassKind Class, SVEEmitter &Emitter, StringRef Guard);
186 StringRef getGuard() const { return Guard; }
816 SVEEmitter &Emitter, StringRef Guard)
818 BaseTypeSpec(BT), Class(Class), Guard(Guard.str()),
996 StringRef Guard = R->getValueAsString("TargetGuard"); local
1051 TS, ClassS, *this, Guard));
1057 ImmChecks, TS, ClassG, *this, Guard));
812 Intrinsic(StringRef Name, StringRef Proto, uint64_t MergeTy, StringRef MergeSuffix, uint64_t MemoryElementTy, StringRef LLVMName, uint64_t Flags, ArrayRef<ImmCheck> Checks, TypeSpec BT, ClassKind Class, SVEEmitter &Emitter, StringRef Guard) argument
/openbsd-current/gnu/llvm/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp287 std::lock_guard<sys::Mutex> Guard(Mutex);
426 std::lock_guard<sys::Mutex> Guard(Mutex);
468 std::lock_guard<sys::Mutex> Guard(Mutex);
/openbsd-current/gnu/llvm/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp57 std::lock_guard<sys::Mutex> Guard(OProfileInitializationMutex);
/openbsd-current/gnu/llvm/llvm/include/llvm/Transforms/Scalar/
H A DJumpThreading.h165 bool threadGuard(BasicBlock *BB, IntrinsicInst *Guard, BranchInst *BI);
/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DCGDeclCXX.cpp736 llvm::GlobalVariable *Guard = new llvm::GlobalVariable( local
741 Guard->setAlignment(GuardAlign.getAsAlign());
742 GuardAddr = ConstantAddress(Guard, Int8Ty, GuardAlign);
1019 ConstantAddress Guard) {
1028 if (Guard.isValid()) {
1031 llvm::Value *GuardVal = Builder.CreateLoad(Guard);
1042 Builder.CreateStore(llvm::ConstantInt::get(GuardVal->getType(),1), Guard);
1046 Guard.getPointer(),
1017 GenerateCXXGlobalInitFunc(llvm::Function *Fn, ArrayRef<llvm::Function *> Decls, ConstantAddress Guard) argument

Completed in 507 milliseconds

123