Searched refs:string_ref (Results 1 – 2 of 2) sorted by relevance
92 const char *GetConstCStringWithStringRef(const llvm::StringRef &string_ref) { in GetConstCStringWithStringRef() argument93 if (string_ref.data()) { in GetConstCStringWithStringRef()94 const uint8_t h = hash(string_ref); in GetConstCStringWithStringRef()98 auto it = m_string_pools[h].m_string_map.find(string_ref); in GetConstCStringWithStringRef()106 .m_string_map.insert(std::make_pair(string_ref, nullptr)) in GetConstCStringWithStringRef()
967 // This would be a nice place for a string_ref