Home | History | Annotate | Download | only in NVPTX

Lines Matching refs:string

1 //===-- ManagedStringPool.h - Managed String Pool ---------------*- C++ -*-===//
10 // The strings allocated from a managed string pool are owned by the string
11 // pool and will be deleted together with the managed string pool.
19 #include <string>
23 /// ManagedStringPool - The strings allocated from a managed string pool are
24 /// owned by the string pool and will be deleted together with the managed
25 /// string pool.
27 SmallVector<std::string *, 8> Pool;
32 SmallVectorImpl<std::string *>::iterator Current = Pool.begin();
39 std::string *getManagedString(const char *S) {
40 std::string *Str = new std::string(S);