Home
last modified time | relevance | path

Searched refs:PooledStringPtr (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/LLVM/include/llvm/Support/
DStringPool.h38 class PooledStringPtr; variable
54 friend class PooledStringPtr; variable
67 PooledStringPtr intern(StringRef Str);
79 class PooledStringPtr {
84 PooledStringPtr() : S(0) {} in PooledStringPtr() function
86 explicit PooledStringPtr(entry_t *E) : S(E) { in PooledStringPtr() function
90 PooledStringPtr(const PooledStringPtr &That) : S(That.S) { in PooledStringPtr() function
94 PooledStringPtr &operator=(const PooledStringPtr &That) {
113 ~PooledStringPtr() { clear(); } in ~PooledStringPtr()
133 inline bool operator==(const PooledStringPtr &That) { return S == That.S; }
[all …]
/external/llvm/include/llvm/Support/
DStringPool.h37 class PooledStringPtr; variable
53 friend class PooledStringPtr; variable
66 PooledStringPtr intern(StringRef Str);
78 class PooledStringPtr {
83 PooledStringPtr() : S(nullptr) {} in PooledStringPtr() function
85 explicit PooledStringPtr(entry_t *E) : S(E) { in PooledStringPtr() function
89 PooledStringPtr(const PooledStringPtr &That) : S(That.S) { in PooledStringPtr() function
93 PooledStringPtr &operator=(const PooledStringPtr &That) {
112 ~PooledStringPtr() { clear(); } in ~PooledStringPtr()
132 inline bool operator==(const PooledStringPtr &That) const { return S == That.S; }
[all …]
/external/llvm/unittests/Support/
DStringPool.cpp19 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()
/external/llvm/lib/Support/
DStringPool.cpp25 PooledStringPtr StringPool::intern(StringRef Key) { in intern()
28 return PooledStringPtr(&*I); in intern()
34 return PooledStringPtr(S); in intern()
/external/swiftshader/third_party/LLVM/lib/Support/
DStringPool.cpp25 PooledStringPtr StringPool::intern(StringRef Key) { in intern()
28 return PooledStringPtr(&*I); in intern()
34 return PooledStringPtr(S); in intern()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DFunction.cpp260 static DenseMap<const Function*,PooledStringPtr> *GCNames;
280 GCNames = new DenseMap<const Function*,PooledStringPtr>(); in setGC()