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

123

/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_powerpc64.inc28 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.cpp500 RecursionGuard Guard{Running};
501 if (!Guard)
530 RecursionGuard Guard{Running};
531 if (!Guard)
560 RecursionGuard Guard{Running};
561 if (!Guard)
590 RecursionGuard Guard{Running};
591 if (!Guard)
H A Dxray_buffer_queue.cpp71 SpinMutexLock Guard(&Mutex);
167 SpinMutexLock Guard(&Mutex);
189 SpinMutexLock Guard(&Mutex);
H A Dxray_interface.cpp219 SpinMutexLock Guard(&XRayInstrMapMutex);
277 SpinMutexLock Guard(&XRayInstrMapMutex);
344 SpinMutexLock Guard(&XRayInstrMapMutex);
496 SpinMutexLock Guard(&XRayInstrMapMutex);
516 SpinMutexLock Guard(&XRayInstrMapMutex);
H A Dxray_basic_logging.cpp80 thread_local atomic_uint8_t Guard{0};
168 RecursionGuard G(Guard);
279 RecursionGuard G(Guard);
/freebsd-13-stable/stand/libsa/
H A Dzalloc_defs.h73 typedef struct Guard { struct
76 } Guard; typedef in typeref:struct:Guard
H A Dzalloc_malloc.c78 Guard *res;
116 Guard *res = (void *)((char *)ptr - MALLOCALIGN);
187 Guard *g = (Guard *)((char *)ptr - MALLOCALIGN);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMakeGuardsExplicit.cpp58 static void turnToExplicitForm(CallInst *Guard, Function *DeoptIntrinsic) { argument
60 BasicBlock *OriginalBB = Guard->getParent();
62 makeGuardControlFlowExplicit(DeoptIntrinsic, Guard, true);
65 Guard->eraseFromParent();
88 for (auto *Guard : GuardIntrinsics)
89 turnToExplicitForm(Guard, DeoptIntrinsic);
H A DLoopPredication.cpp1 //===-- LoopPredication.cpp - Guard based loop predication pass -----------===//
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,
408 IRBuilder<> Builder(Guard);
416 Value *LHSV = Expander.expandCodeFor(LHS, Ty, findInsertPt(Guard, {LH
400 expandCheck(SCEVExpander &Expander, Instruction *Guard, ICmpInst::Predicate Pred, const SCEV *LHS, const SCEV *RHS) argument
562 widenICmpRangeCheckIncrementingLoop( LoopICmp LatchCheck, LoopICmp RangeCheck, SCEVExpander &Expander, Instruction *Guard) argument
611 widenICmpRangeCheckDecrementingLoop( LoopICmp LatchCheck, LoopICmp RangeCheck, SCEVExpander &Expander, Instruction *Guard) argument
674 widenICmpRangeCheck(ICmpInst *ICI, SCEVExpander &Expander, Instruction *Guard) argument
738 collectChecks(SmallVectorImpl<Value *> &Checks, Value *Condition, SCEVExpander &Expander, Instruction *Guard) argument
792 widenGuardConditions(IntrinsicInst *Guard, SCEVExpander &Expander) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/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(std::next(Guard->arg_begin()), Guard->arg_end());
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
30 makeGuardControlFlowExplicit(Function *DeoptIntrinsic, CallInst *Guard, bool UseWC) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/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,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DPassRegistry.cpp42 sys::SmartScopedReader<true> Guard(Lock);
48 sys::SmartScopedReader<true> Guard(Lock);
58 sys::SmartScopedWriter<true> Guard(Lock);
74 sys::SmartScopedReader<true> Guard(Lock);
98 sys::SmartScopedWriter<true> Guard(Lock);
119 sys::SmartScopedWriter<true> Guard(Lock);
124 sys::SmartScopedWriter<true> Guard(Lock);
/freebsd-13-stable/contrib/ntp/sntp/unity/
H A Dunity_fixture.c176 } Guard; typedef in typeref:struct:GuardBytes
184 Guard* guard;
195 guard = (Guard*)malloc(size + sizeof(Guard) + 4);
205 Guard* guard = (Guard*)mem;
214 Guard* guard = (Guard*)mem;
240 Guard* guard = (Guard*)oldMe
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DGsymCreator.cpp40 std::lock_guard<std::recursive_mutex> Guard(Mutex);
60 std::lock_guard<std::recursive_mutex> Guard(Mutex);
165 std::lock_guard<std::recursive_mutex> Guard(Mutex);
267 std::lock_guard<std::recursive_mutex> Guard(Mutex);
283 std::lock_guard<std::recursive_mutex> Guard(Mutex);
290 std::lock_guard<std::recursive_mutex> Guard(Mutex);
299 std::lock_guard<std::recursive_mutex> Guard(Mutex);
307 std::lock_guard<std::recursive_mutex> Guard(Mutex);
318 std::lock_guard<std::recursive_mutex> Guard(Mutex);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp42 std::lock_guard<sys::Mutex> Guard(Lock);
47 std::lock_guard<sys::Mutex> Guard(Lock);
73 std::lock_guard<sys::Mutex> Guard(Lock);
107 std::lock_guard<sys::Mutex> Guard(Lock);
121 std::lock_guard<sys::Mutex> Guard(Lock);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp384 if (Value *Guard = TLI->getIRStackGuard(B))
385 return B.CreateLoad(B.getInt8PtrTy(), Guard, true, "StackGuard");
480 LoadInst *Guard = B.CreateLoad(B.getInt8PtrTy(), AI, true, "Guard"); local
481 CallInst *Call = B.CreateCall(GuardCheck, {Guard});
534 Value *Guard = getStackGuard(TLI, M, B); local
536 Value *Cmp = B.CreateICmpEQ(Guard, LI2);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_value.cpp43 __sanitizer::SpinMutexLock Guard(&Lock);
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DSveEmitter.cpp157 std::string Guard; member in class:__anon2451::Intrinsic
176 ClassKind Class, SVEEmitter &Emitter, StringRef Guard);
186 StringRef getGuard() const { return Guard; }
813 SVEEmitter &Emitter, StringRef Guard)
815 BaseTypeSpec(BT), Class(Class), Guard(Guard.str()),
997 StringRef Guard = R->getValueAsString("ArchGuard"); local
1052 TS, ClassS, *this, Guard));
1058 ImmChecks, TS, ClassG, *this, Guard));
809 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
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DValueMap.h264 std::unique_lock<typename Config::mutex_type> Guard; variable
266 Guard = std::unique_lock<typename Config::mutex_type>(*M);
277 std::unique_lock<typename Config::mutex_type> Guard; variable
279 Guard = std::unique_lock<typename Config::mutex_type>(*M);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp57 std::lock_guard<sys::Mutex> Guard(OProfileInitializationMutex);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DJumpThreading.h164 bool ThreadGuard(BasicBlock *BB, IntrinsicInst *Guard, BranchInst *BI);
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp182 void emitIfdef(StringRef Guard, raw_ostream &OS);
279 void SearchableTableEmitter::emitIfdef(StringRef Guard, raw_ostream &OS) { argument
280 OS << "#ifdef " << Guard << "\n"; local
281 PreprocessorGuards.insert(std::string(Guard));
796 for (const auto &Guard : PreprocessorGuards)
797 OS << "#undef " << Guard << "\n"; local
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp760 ConstantAddress Guard) {
769 if (Guard.isValid()) {
772 llvm::Value *GuardVal = Builder.CreateLoad(Guard);
783 Builder.CreateStore(llvm::ConstantInt::get(GuardVal->getType(),1), Guard);
787 Guard.getPointer(),
758 GenerateCXXGlobalInitFunc(llvm::Function *Fn, ArrayRef<llvm::Function *> Decls, ConstantAddress Guard) argument

Completed in 269 milliseconds

123