Searched refs:PooledStringPtr (Results 1 – 9 of 9) sorted by relevance
38 class PooledStringPtr; variable54 friend class PooledStringPtr; variable67 PooledStringPtr intern(StringRef Str);79 class PooledStringPtr {84 PooledStringPtr() : S(0) {} in PooledStringPtr() function86 explicit PooledStringPtr(entry_t *E) : S(E) { in PooledStringPtr() function90 PooledStringPtr(const PooledStringPtr &That) : S(That.S) { in PooledStringPtr() function94 PooledStringPtr &operator=(const PooledStringPtr &That) {113 ~PooledStringPtr() { clear(); } in ~PooledStringPtr()133 inline bool operator==(const PooledStringPtr &That) { return S == That.S; }[all …]
38 class PooledStringPtr; variable54 friend class PooledStringPtr; variable67 PooledStringPtr intern(StringRef Str);79 class PooledStringPtr {85 PooledStringPtr() = default;87 explicit PooledStringPtr(entry_t *E) : S(E) { in PooledStringPtr() function91 PooledStringPtr(const PooledStringPtr &That) : S(That.S) { in PooledStringPtr() function95 PooledStringPtr &operator=(const PooledStringPtr &That) {114 ~PooledStringPtr() { clear(); } in ~PooledStringPtr()134 inline bool operator==(const PooledStringPtr &That) const { return S == That.S; }[all …]
37 class PooledStringPtr; variable53 friend class PooledStringPtr; variable66 PooledStringPtr intern(StringRef Str);78 class PooledStringPtr {83 PooledStringPtr() : S(nullptr) {} in PooledStringPtr() function85 explicit PooledStringPtr(entry_t *E) : S(E) { in PooledStringPtr() function89 PooledStringPtr(const PooledStringPtr &That) : S(That.S) { in PooledStringPtr() function93 PooledStringPtr &operator=(const PooledStringPtr &That) {112 ~PooledStringPtr() { clear(); } in ~PooledStringPtr()132 inline bool operator==(const PooledStringPtr &That) const { return S == That.S; }[all …]
19 const PooledStringPtr a = pool.intern("a"); in TEST()20 const PooledStringPtr b = pool.intern("b"); in TEST()26 const PooledStringPtr a = pool.intern("a"); in TEST()27 const PooledStringPtr b = pool.intern("b"); in TEST()
25 PooledStringPtr StringPool::intern(StringRef Key) { in intern()28 return PooledStringPtr(&*I); in intern()34 return PooledStringPtr(S); in intern()
260 static DenseMap<const Function*,PooledStringPtr> *GCNames;280 GCNames = new DenseMap<const Function*,PooledStringPtr>(); in setGC()