HomeSort by relevance Sort by last modified time
    Searched refs:PooledStringPtr (Results 1 - 4 of 4) sorted by null

  /external/llvm/include/llvm/Support/
StringPool.h 16 // PooledStringPtr Str = Pool.intern("wakka wakka");
23 // 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 {
83 PooledStringPtr() : S(nullptr) {}
85 explicit PooledStringPtr(entry_t *E) : S(E) {
89 PooledStringPtr(const PooledStringPtr &That) : S(That.S)
    [all...]
  /external/llvm/unittests/Support/
StringPool.cpp 19 const PooledStringPtr a = pool.intern("a");
20 const PooledStringPtr b = pool.intern("b");
26 const PooledStringPtr a = pool.intern("a");
27 const PooledStringPtr b = pool.intern("b");
  /external/llvm/lib/Support/
StringPool.cpp 22 assert(InternTable.empty() && "PooledStringPtr leaked!");
25 PooledStringPtr StringPool::intern(StringRef Key) {
28 return PooledStringPtr(&*I);
34 return PooledStringPtr(S);
  /external/llvm/lib/IR/
Function.cpp 361 static DenseMap<const Function*,PooledStringPtr> *GCNames;
381 GCNames = new DenseMap<const Function*,PooledStringPtr>();
    [all...]

Completed in 156 milliseconds