22 auto R = Unique.insert(S);
24 *R.first = Strings.save(S);
This class represents lattice values for constants.
LLVM_NODISCARD bool empty() const
empty - Check if the string is empty.
LLVM_NODISCARD size_t size() const
size - Get the string size.
StringRef save(const char *S)
StringRef save(const char *S)
LLVM_ATTRIBUTE_RETURNS_NONNULL LLVM_ATTRIBUTE_RETURNS_NOALIAS void * Allocate(size_t Size, Align Alignment)
Allocate space at the specified alignment.
LLVM_NODISCARD const char * data() const
data - Get a pointer to the start of the string (which may not be null terminated).
StringRef - Represent a constant reference to a string, i.e.