Home | History | Annotate | Download | only in TableGen

Lines Matching refs:AttrName

100 static StringRef NormalizeAttrName(StringRef AttrName) {
101 if (AttrName.startswith("__"))
102 AttrName = AttrName.substr(2, AttrName.size());
104 if (AttrName.endswith("__"))
105 AttrName = AttrName.substr(0, AttrName.size() - 2);
107 return AttrName;
166 StringRef attrName;
172 attrName(Attr), isOpt(false) {
182 StringRef getAttrName() const { return attrName; }
2516 std::string AttrName;
2519 AttrName = Attr.getValueAsString("ParseKind");
2520 if (Seen.find(AttrName) != Seen.end())
2522 Seen.insert(AttrName);
2524 AttrName = NormalizeAttrName(StringRef(Attr.getName())).str();
2549 "return AttributeList::AT_" + AttrName + ";"));