reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/IntrusiveRefCntPtr.h
   94   void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
include/llvm/ADT/Statistic.h
   69   unsigned getValue() const { return Value.load(std::memory_order_relaxed); }
   75     Value.store(Val, std::memory_order_relaxed);
   80     Value.fetch_add(1, std::memory_order_relaxed);
   86     return Value.fetch_add(1, std::memory_order_relaxed);
   90     Value.fetch_sub(1, std::memory_order_relaxed);
   96     return Value.fetch_sub(1, std::memory_order_relaxed);
  102     Value.fetch_add(V, std::memory_order_relaxed);
  109     Value.fetch_sub(V, std::memory_order_relaxed);
  114     unsigned PrevMax = Value.load(std::memory_order_relaxed);
  118                               PrevMax, V, std::memory_order_relaxed)) {
include/llvm/Support/ManagedStatic.h
   91     return *static_cast<C *>(Ptr.load(std::memory_order_relaxed));
  101     return *static_cast<C *>(Ptr.load(std::memory_order_relaxed));
lib/Support/ManagedStatic.cpp
   39     if (!Ptr.load(std::memory_order_relaxed)) {
lib/Support/PrettyStackTrace.cpp
  186       GlobalSigInfoGenerationCounter.load(std::memory_order_relaxed);
  271       GlobalSigInfoGenerationCounter.fetch_add(1, std::memory_order_relaxed);
  279       GlobalSigInfoGenerationCounter.load(std::memory_order_relaxed);
lib/Support/Statistic.cpp
  100   if (!Initialized.load(std::memory_order_relaxed)) {
  105     if (Initialized.load(std::memory_order_relaxed))
lib/Target/ARM/ARMExpandPseudoInsts.cpp
  419   if (!TableChecked.load(std::memory_order_relaxed)) {
  422     TableChecked.store(true, std::memory_order_relaxed);
lib/Target/X86/X86EvexToVex.cpp
  239   if (!TableChecked.load(std::memory_order_relaxed)) {
  246     TableChecked.store(true, std::memory_order_relaxed);
lib/Target/X86/X86InstrFMA3Info.cpp
  118   if (!TableChecked.load(std::memory_order_relaxed)) {
  124     TableChecked.store(true, std::memory_order_relaxed);
lib/Target/X86/X86InstrFoldTables.cpp
 5519   if (!FoldTablesChecked.load(std::memory_order_relaxed)) {
 5568     FoldTablesChecked.store(true, std::memory_order_relaxed);
projects/openmp/runtime/src/kmp_barrier.cpp
 1425         kmp_int32 cancel_request = KMP_ATOMIC_LD_RLX(&team->t.t_cancel_request);
 1429           KMP_ATOMIC_ST_RLX(&team->t.t_cancel_request, cancel_noreq);
projects/openmp/runtime/src/kmp_cancel.cpp
  257     switch (KMP_ATOMIC_LD_RLX(&(this_team->t.t_cancel_request))) {
projects/openmp/runtime/src/kmp_lock.cpp
   73   return KMP_LOCK_STRIP(KMP_ATOMIC_LD_RLX(&lck->lk.poll)) - 1;
   94   if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free &&
  107   } while (KMP_ATOMIC_LD_RLX(&lck->lk.poll) != tas_free ||
  135   if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free &&
  610                                    std::memory_order_relaxed) -
  616                                    std::memory_order_relaxed) != -1;
  628       &lck->lk.next_ticket, 1U, std::memory_order_relaxed);
  656                                  std::memory_order_relaxed)) {
  672                              std::memory_order_relaxed);
  678                                                    std::memory_order_relaxed);
  681                                 std::memory_order_relaxed) == my_ticket) {
  697                                  std::memory_order_relaxed)) {
  711                                std::memory_order_relaxed);
  718                                                   std::memory_order_relaxed) -
  720                                                   std::memory_order_relaxed);
  736                                  std::memory_order_relaxed)) {
  752   std::atomic_store_explicit(&lck->lk.owner_id, 0, std::memory_order_relaxed);
  760                              std::memory_order_relaxed);
  762                              std::memory_order_relaxed);
  765       std::memory_order_relaxed); // no thread owns the lock.
  768       std::memory_order_relaxed); // -1 => not a nested lock.
  779                              std::memory_order_relaxed);
  781                              std::memory_order_relaxed);
  782   std::atomic_store_explicit(&lck->lk.owner_id, 0, std::memory_order_relaxed);
  784                              std::memory_order_relaxed);
  791                                  std::memory_order_relaxed)) {
  813                                    std::memory_order_relaxed);
  819                                std::memory_order_relaxed);
  821                                std::memory_order_relaxed);
  831                                  std::memory_order_relaxed)) {
  850                                             std::memory_order_relaxed) +
  856                                std::memory_order_relaxed);
  858                                std::memory_order_relaxed);
  869                                  std::memory_order_relaxed)) {
  885                                       std::memory_order_relaxed) -
  887     std::atomic_store_explicit(&lck->lk.owner_id, 0, std::memory_order_relaxed);
  899                                  std::memory_order_relaxed)) {
  920                              std::memory_order_relaxed);
  927                              std::memory_order_relaxed);
  935                                  std::memory_order_relaxed)) {
projects/openmp/runtime/src/kmp_os.h
 1024       expected, desired, std::memory_order_acq_rel, std::memory_order_relaxed);
 1030       expected, desired, std::memory_order_acquire, std::memory_order_relaxed);
 1036       expected, desired, std::memory_order_release, std::memory_order_relaxed);
projects/openmp/runtime/src/kmp_taskdeps.cpp
   44   KMP_ATOMIC_ST_RLX(&node->dn.nrefs, 1); // init creates the first reference
projects/openmp/runtime/src/kmp_tasking.cpp
 1275   KMP_ATOMIC_ST_RLX(&taskdata->td_untied_count, 0);
 1316   KMP_ATOMIC_ST_RLX(&taskdata->td_incomplete_child_tasks, 0);
 1318   KMP_ATOMIC_ST_RLX(&taskdata->td_allocated_child_tasks, 1);
 2317   reduce_data = KMP_ATOMIC_LD_RLX(&team->t.t_tg_reduce_data[is_ws]);
 2405   KMP_ATOMIC_ST_RLX(&tg_new->count, 0);
 2406   KMP_ATOMIC_ST_RLX(&tg_new->cancel_request, cancel_noreq);
projects/openmp/runtime/src/z_Linux_util.cpp
 1387   int old_value = KMP_ATOMIC_LD_RLX(&th->th.th_suspend_init_count);
tools/lldb/include/lldb/Core/Module.h
  126     module_sp->m_did_load_objfile.store(true, std::memory_order_relaxed);
tools/lldb/include/lldb/Utility/Log.h
   78       Log *log = log_ptr.load(std::memory_order_relaxed);
   89       Log *log = log_ptr.load(std::memory_order_relaxed);
tools/lldb/source/Utility/Log.cpp
   91   uint32_t mask = m_mask.fetch_or(flags, std::memory_order_relaxed);
   93     m_options.store(options, std::memory_order_relaxed);
   95     m_channel.log_ptr.store(this, std::memory_order_relaxed);
  102   uint32_t mask = m_mask.fetch_and(~flags, std::memory_order_relaxed);
  105     m_channel.log_ptr.store(nullptr, std::memory_order_relaxed);
  110   return m_options.load(std::memory_order_relaxed);
  114   return m_mask.load(std::memory_order_relaxed);
  276   return m_options.load(std::memory_order_relaxed) & LLDB_LOG_OPTION_VERBOSE;
  354     c.second.m_channel.log_ptr.store(nullptr, std::memory_order_relaxed);
usr/include/c++/7.4.0/atomic
 1061     { __a->store(__i, memory_order_relaxed); }
 1066     { __a->store(__i, memory_order_relaxed); }
usr/include/c++/7.4.0/bits/atomic_base.h
   90       : __m == memory_order_release ? memory_order_relaxed : __m;
usr/include/c++/7.4.0/bits/atomic_futex.h
  101 	  _M_data.fetch_or(_Waiter_bit, memory_order_relaxed);