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

References

include/llvm/Support/ManagedStatic.h
   71   bool isConstructed() const { return Ptr != nullptr; }
   87     void *Tmp = Ptr.load(std::memory_order_acquire);
   91     return *static_cast<C *>(Ptr.load(std::memory_order_relaxed));
   97     void *Tmp = Ptr.load(std::memory_order_acquire);
  101     return *static_cast<C *>(Ptr.load(std::memory_order_relaxed));
lib/Support/ManagedStatic.cpp
   39     if (!Ptr.load(std::memory_order_relaxed)) {
   42       Ptr.store(Tmp, std::memory_order_release);
   50     assert(!Ptr && !DeleterFn && !Next &&
   52     Ptr = Creator();
   70   DeleterFn(Ptr);
   73   Ptr = nullptr;