Searched refs:PooledStringPtr (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DStringPool.h15 // PooledStringPtr Str = Pool.intern("wakka wakka");
22 // Pooled strings are immutable, but you can change a PooledStringPtr to point
37 class PooledStringPtr;
53 friend class PooledStringPtr;
66 PooledStringPtr intern(StringRef Str);
73 /// PooledStringPtr - A pointer to an interned string. Use operator bool to
78 class PooledStringPtr { class in namespace:llvm
84 PooledStringPtr() = default;
86 explicit PooledStringPtr(entry_t *E) : S(E) { function in class:llvm::PooledStringPtr
90 PooledStringPtr(cons function in class:llvm::PooledStringPtr
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DStringPool.cpp21 assert(InternTable.empty() && "PooledStringPtr leaked!");
24 PooledStringPtr StringPool::intern(StringRef Key) {
27 return PooledStringPtr(&*I);
33 return PooledStringPtr(S);

Completed in 157 milliseconds