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

References

include/llvm/Support/StringPool.h
   87       if (S) ++S->getValue().Refcount;
   87       if (S) ++S->getValue().Refcount;
   90     PooledStringPtr(const PooledStringPtr &That) : S(That.S) {
   91       if (S) ++S->getValue().Refcount;
   91       if (S) ++S->getValue().Refcount;
   95       if (S != That.S) {
   95       if (S != That.S) {
   97         S = That.S;
   97         S = That.S;
   98         if (S) ++S->getValue().Refcount;
   98         if (S) ++S->getValue().Refcount;
  104       if (!S)
  106       if (--S->getValue().Refcount == 0) {
  107         S->getValue().Pool->InternTable.remove(S);
  107         S->getValue().Pool->InternTable.remove(S);
  108         S->Destroy();
  110       S = nullptr;
  117       return S->getKeyData();
  122       return S->getKeyData() + S->getKeyLength();
  122       return S->getKeyData() + S->getKeyLength();
  127       return S->getKeyLength();
  131     inline explicit operator bool() const { return S != nullptr; }
  133     inline bool operator==(const PooledStringPtr &That) const { return S == That.S; }
  133     inline bool operator==(const PooledStringPtr &That) const { return S == That.S; }
  134     inline bool operator!=(const PooledStringPtr &That) const { return S != That.S; }
  134     inline bool operator!=(const PooledStringPtr &That) const { return S != That.S; }