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

123

/freebsd-11-stable/stand/libsa/
H A Dzalloc_defs.h70 typedef struct Guard { struct
73 } Guard; typedef in typeref:struct:Guard
H A Dzalloc_malloc.c56 Guard *res;
94 Guard *res = (void *)((char *)ptr - MALLOCALIGN);
/freebsd-11-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_interface.cpp192 SpinMutexLock Guard(&XRayInstrMapMutex);
250 SpinMutexLock Guard(&XRayInstrMapMutex);
316 SpinMutexLock Guard(&XRayInstrMapMutex);
464 SpinMutexLock Guard(&XRayInstrMapMutex);
478 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_basic_logging.cpp80 thread_local atomic_uint8_t Guard{0};
168 RecursionGuard G(Guard);
279 RecursionGuard G(Guard);
/freebsd-11-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);
400 Instruction *Guard,
407 IRBuilder<> Builder(Guard);
415 Value *LHSV = Expander.expandCodeFor(LHS, Ty, findInsertPt(Guard, {LH
399 expandCheck(SCEVExpander &Expander, Instruction *Guard, ICmpInst::Predicate Pred, const SCEV *LHS, const SCEV *RHS) argument
561 widenICmpRangeCheckIncrementingLoop( LoopICmp LatchCheck, LoopICmp RangeCheck, SCEVExpander &Expander, Instruction *Guard) argument
610 widenICmpRangeCheckDecrementingLoop( LoopICmp LatchCheck, LoopICmp RangeCheck, SCEVExpander &Expander, Instruction *Guard) argument
673 widenICmpRangeCheck(ICmpInst *ICI, SCEVExpander &Expander, Instruction *Guard) argument
737 collectChecks(SmallVectorImpl<Value *> &Checks, Value *Condition, SCEVExpander &Expander, Instruction *Guard) argument
791 widenGuardConditions(IntrinsicInst *Guard, SCEVExpander &Expander) argument
[all...]
/freebsd-11-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-11-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-11-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-11-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-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DGsymCreator.cpp34 std::lock_guard<std::recursive_mutex> Guard(Mutex);
54 std::lock_guard<std::recursive_mutex> Guard(Mutex);
158 std::lock_guard<std::recursive_mutex> Guard(Mutex);
248 std::lock_guard<std::recursive_mutex> Guard(Mutex);
255 std::lock_guard<std::recursive_mutex> Guard(Mutex);
261 std::lock_guard<std::recursive_mutex> Guard(Mutex);
270 std::lock_guard<std::recursive_mutex> Guard(Mutex);
/freebsd-11-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-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp357 if (Value *Guard = TLI->getIRStackGuard(B))
358 return B.CreateLoad(B.getInt8PtrTy(), Guard, true, "StackGuard");
453 LoadInst *Guard = B.CreateLoad(B.getInt8PtrTy(), AI, true, "Guard"); local
454 CallInst *Call = B.CreateCall(GuardCheck, {Guard});
507 Value *Guard = getStackGuard(TLI, M, B); local
509 Value *Cmp = B.CreateICmpEQ(Guard, LI2);
/freebsd-11-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-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp57 std::lock_guard<sys::Mutex> Guard(OProfileInitializationMutex);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DJumpThreading.h159 bool ThreadGuard(BasicBlock *BB, IntrinsicInst *Guard, BranchInst *BI);
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp178 void emitIfdef(StringRef Guard, raw_ostream &OS);
275 void SearchableTableEmitter::emitIfdef(StringRef Guard, raw_ostream &OS) { argument
276 OS << "#ifdef " << Guard << "\n"; local
277 PreprocessorGuards.insert(Guard);
785 for (const auto &Guard : PreprocessorGuards)
786 OS << "#undef " << Guard << "\n"; local
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp673 ConstantAddress Guard) {
682 if (Guard.isValid()) {
685 llvm::Value *GuardVal = Builder.CreateLoad(Guard);
696 Builder.CreateStore(llvm::ConstantInt::get(GuardVal->getType(),1), Guard);
700 Guard.getPointer(),
671 GenerateCXXGlobalInitFunc(llvm::Function *Fn, ArrayRef<llvm::Function *> Decls, ConstantAddress Guard) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp261 std::unique_lock<sys::Mutex> Guard(*FunctionsLock);
268 Guard.unlock();
286 Guard.unlock();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp424 std::lock_guard<sys::Mutex> Guard(Mutex);
466 std::lock_guard<sys::Mutex> Guard(Mutex);

Completed in 202 milliseconds

123