Lines Matching refs:StringRef
21 #include "llvm/ADT/StringRef.h"
63 bool hasAttribute(StringRef Kind) const;
68 StringRef getKindAsString() const;
69 StringRef getValueAsString() const;
93 static void Profile(FoldingSetNodeID &ID, StringRef Kind, StringRef Values) {
154 StringAttributeImpl(StringRef Kind, StringRef Val = StringRef())
165 StringRef getStringKind() const {
166 return StringRef(getTrailingObjects<char>(), KindSize);
168 StringRef getStringValue() const {
169 return StringRef(getTrailingObjects<char>() + KindSize + 1, ValSize);
172 static size_t totalSizeToAlloc(StringRef Kind, StringRef Val) {
216 DenseMap<StringRef, Attribute> StringAttrs;
241 bool hasAttribute(StringRef Kind) const;
245 Attribute getAttribute(StringRef Kind) const;