HomeSort by: relevance | last modified time | path
    Searched refs:Guard (Results 1 - 25 of 66) sorted by relevancy

1 2 3

  /src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_powerpc64.inc 29 std::lock_guard<std::mutex> Guard(M);
xray_log_interface.cc 71 SpinMutexLock Guard(&XRayImplMutex);
87 SpinMutexLock Guard(&XRayImplMutex);
101 SpinMutexLock Guard(&XRayImplMutex);
110 SpinMutexLock Guard(&XRayImplMutex);
118 SpinMutexLock Guard(&XRayImplMutex);
125 SpinMutexLock Guard(&XRayImplMutex);
134 SpinMutexLock Guard(&XRayImplMutex);
142 SpinMutexLock Guard(&XRayImplMutex);
163 SpinMutexLock Guard(&XRayImplMutex);
182 SpinMutexLock Guard(&XRayImplMutex)
    [all...]
xray_init.cc 65 SpinMutexLock Guard(&XRayInitMutex);
85 SpinMutexLock Guard(&XRayInstrMapMutex);
xray_interface.cc 193 SpinMutexLock Guard(&XRayInstrMapMutex);
251 SpinMutexLock Guard(&XRayInstrMapMutex);
317 SpinMutexLock Guard(&XRayInstrMapMutex);
465 SpinMutexLock Guard(&XRayInstrMapMutex);
479 SpinMutexLock Guard(&XRayInstrMapMutex);
xray_fdr_logging.cc 501 RecursionGuard Guard{Running};
502 if (!Guard)
531 RecursionGuard Guard{Running};
532 if (!Guard)
561 RecursionGuard Guard{Running};
562 if (!Guard)
591 RecursionGuard Guard{Running};
592 if (!Guard)
xray_buffer_queue.cc 72 SpinMutexLock Guard(&Mutex);
168 SpinMutexLock Guard(&Mutex);
190 SpinMutexLock Guard(&Mutex);
xray_basic_logging.cc 81 thread_local atomic_uint8_t Guard{0};
166 // Use a simple recursion guard, to handle cases where we're already logging
169 RecursionGuard G(Guard);
280 RecursionGuard G(Guard);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
MakeGuardsExplicit.cpp 1 //===- MakeGuardsExplicit.cpp - Turn guard intrinsics into guard branches -===//
9 // This pass lowers the @llvm.experimental.guard intrinsic to the new form of
10 // guard represented as widenable explicit branch to the deopt block. The
12 // the guard represented as intrinsic:
14 // call void(i1, ...) @llvm.experimental.guard(i1 %old_cond) [ "deopt"() ]
16 // transforms to a guard represented as widenable explicit branch:
25 // - %guarded is the lower part of old guard intrinsic's parent block split by
58 static void turnToExplicitForm(CallInst *Guard, Function *DeoptIntrinsic) {
59 // Replace the guard with an explicit branch (just like in GuardWidening)
    [all...]
LoopPredication.cpp 1 //===-- LoopPredication.cpp - Guard based loop predication pass -----------===//
14 // guard(i < len);
21 // guard(n - 1 < len);
25 // After this transformation the condition of the guard is loop invariant, so
39 // assumes that the guard doesn't fail. Using these facts to optimize the
40 // guard results in a circular logic where the guard is optimized under the
44 // basing on the guard. Basing on nuw the guard predicate will be considered
50 // guard(i u< len
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
GuardUtils.cpp 27 cl::desc("The probability of a guard failing is assumed to be the "
31 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())
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
GuardUtils.h 22 /// Splits control flow at point of \p Guard, replacing it with explicit branch
23 /// by the condition of guard's first argument. The taken branch then goes to
24 /// the block that contains \p Guard's successors, and the non-taken branch
27 /// widenable nature of the guard by lowering to equivelent form. If not set,
29 void makeGuardControlFlowExplicit(Function *DeoptIntrinsic, CallInst *Guard,
  /src/external/apache2/llvm/dist/llvm/lib/IR/
PassRegistry.cpp 42 sys::SmartScopedReader<true> Guard(Lock);
47 sys::SmartScopedReader<true> Guard(Lock);
56 sys::SmartScopedWriter<true> Guard(Lock);
72 sys::SmartScopedReader<true> Guard(Lock);
96 sys::SmartScopedWriter<true> Guard(Lock);
117 sys::SmartScopedWriter<true> Guard(Lock);
122 sys::SmartScopedWriter<true> Guard(Lock);
  /src/external/bsd/ntp/dist/sntp/unity/
unity_fixture.c 177 char guard[sizeof(size_t)]; member in struct:GuardBytes
178 } Guard;
186 Guard* guard; local
197 guard = (Guard*)malloc(size + sizeof(Guard) + 4);
198 guard->size = size;
199 mem = (char*)&(guard[1]);
207 Guard* guard = (Guard*)mem local
216 Guard* guard = (Guard*)mem; local
242 Guard* guard = (Guard*)oldMem; local
    [all...]
  /src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/gnu/
codecvt_members.cc 44 struct Guard
47 explicit Guard(__c_locale loc) : old(__uselocale(loc)) { }
48 ~Guard() { __uselocale(old); }
50 explicit Guard(__c_locale) { }
65 Guard g(_M_c_locale_codecvt);
135 Guard g(_M_c_locale_codecvt);
207 Guard g(_M_c_locale_codecvt);
217 Guard g(_M_c_locale_codecvt);
229 Guard g(_M_c_locale_codecvt);
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/
GsymCreator.cpp 38 std::lock_guard<std::mutex> Guard(Mutex);
58 std::lock_guard<std::mutex> Guard(Mutex);
191 std::lock_guard<std::mutex> Guard(Mutex);
299 std::lock_guard<std::mutex> Guard(Mutex);
315 std::lock_guard<std::mutex> Guard(Mutex);
322 std::lock_guard<std::mutex> Guard(Mutex);
331 std::lock_guard<std::mutex> Guard(Mutex);
339 std::lock_guard<std::mutex> Guard(Mutex);
350 std::lock_guard<std::mutex> Guard(Mutex);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
StackProtector.cpp 266 /// The standard heuristic which will add a guard variable to functions that
270 /// strong heuristic will add a guard variables to functions that call alloca
377 /// Create a stack guard loading and populate whether SelectionDAG SSP is
382 Value *Guard = TLI->getIRStackGuard(B);
384 if ((GuardMode == "tls" || GuardMode.empty()) && Guard)
385 return B.CreateLoad(B.getInt8PtrTy(), Guard, true, "StackGuard");
387 // Use SelectionDAG SSP handling, since there isn't an IR guard.
404 /// Insert code into the entry block that stores the stack guard
409 /// StackGuard = <stack guard>
430 /// - The prologue code loads and stores the stack guard onto the stack
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTXUtilities.cpp 42 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);
  /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
ubsan_value.cpp 22 // unclear. rdar://58124919 tracks using a more obviously portable guard.
43 __sanitizer::SpinMutexLock Guard(&Lock);
  /src/external/gpl3/gcc/dist/libsanitizer/ubsan/
ubsan_value.cpp 41 __sanitizer::SpinMutexLock Guard(&Lock);
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
SveEmitter.cpp 156 /// The architectural #ifdef guard.
157 std::string Guard;
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("ArchGuard");
1051 TS, ClassS, *this, Guard));
1057 ImmChecks, TS, ClassG, *this, Guard));
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
ValueMap.h 264 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);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
JumpThreading.h 167 bool threadGuard(BasicBlock *BB, IntrinsicInst *Guard, BranchInst *BI);
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/OProfileJIT/
OProfileWrapper.cpp 57 std::lock_guard<sys::Mutex> Guard(OProfileInitializationMutex);
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/
SearchableTableEmitter.cpp 192 void emitIfdef(StringRef Guard, raw_ostream &OS);
289 void SearchableTableEmitter::emitIfdef(StringRef Guard, raw_ostream &OS) {
290 OS << "#ifdef " << Guard << "\n";
291 PreprocessorGuards.insert(std::string(Guard));
816 for (const auto &Guard : PreprocessorGuards)
817 OS << "#undef " << Guard << "\n";
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGDeclCXX.cpp 323 // If we've been asked to forbid guard variables, emit an error now.
328 "this initialization requires a guard variable, which "
517 // minor startup time optimization. In the MS C++ ABI, there are no guard
735 // layer will guard the whole-TU initialization for us.)
750 ConstantAddress Guard) {
759 if (Guard.isValid()) {
760 // If we have a guard variable, check whether we've already performed
762 llvm::Value *GuardVal = Builder.CreateLoad(Guard);
764 "guard.uninitialized");
773 Builder.CreateStore(llvm::ConstantInt::get(GuardVal->getType(),1), Guard);
    [all...]

Completed in 55 milliseconds

1 2 3