Home | History | Annotate | Download | only in TableGen

Lines Matching refs:AttrName

105 static StringRef NormalizeAttrName(StringRef AttrName) {
106 if (AttrName.startswith("__"))
107 AttrName = AttrName.substr(2, AttrName.size());
109 if (AttrName.endswith("__"))
110 AttrName = AttrName.substr(0, AttrName.size() - 2);
112 return AttrName;
167 StringRef attrName;
174 attrName(Attr), isOpt(false), Fake(false) {
184 StringRef getAttrName() const { return attrName; }
2245 static bool isArgVariadic(const Record &R, StringRef AttrName) {
2246 return createArgument(R, AttrName)->isVariadic();
2715 std::string AttrName;
2718 AttrName = Attr.getValueAsString("ParseKind");
2719 if (Seen.find(AttrName) != Seen.end())
2721 Seen.insert(AttrName);
2723 AttrName = NormalizeAttrName(StringRef(Attr.getName())).str();
2748 "return AttributeList::AT_" + AttrName + ";"));