Lines Matching defs:ID
68 void Profile(FoldingSetNodeID &ID) const {
70 Profile(ID, getKindAsEnum(), 0);
72 Profile(ID, getKindAsEnum(), getValueAsInt());
74 Profile(ID, getKindAsString(), getValueAsString());
76 static void Profile(FoldingSetNodeID &ID, Attribute::AttrKind Kind,
78 ID.AddInteger(Kind);
79 if (Val) ID.AddInteger(Val);
81 static void Profile(FoldingSetNodeID &ID, StringRef Kind, StringRef Values) {
82 ID.AddString(Kind);
83 if (!Values.empty()) ID.AddString(Values);
102 EnumAttributeImpl(AttrEntryKind ID, Attribute::AttrKind Kind)
103 : AttributeImpl(ID), Kind(Kind) {}
180 void Profile(FoldingSetNodeID &ID) const {
181 Profile(ID, makeArrayRef(begin(), end()));
183 static void Profile(FoldingSetNodeID &ID, ArrayRef<Attribute> AttrList) {
185 AttrList[I].Profile(ID);
265 void Profile(FoldingSetNodeID &ID) const {
266 Profile(ID, makeArrayRef(getNode(0), getNumAttributes()));
268 static void Profile(FoldingSetNodeID &ID,
271 ID.AddInteger(Nodes[i].first);
272 ID.AddPointer(Nodes[i].second);