Lines Matching refs:isSubClassOf
36 assert(isSubClassOf("AttrConstraint") && in AttrConstraint()
40 bool AttrConstraint::isSubClassOf(StringRef className) const { in isSubClassOf() function in AttrConstraint
41 return def->isSubClassOf(className); in isSubClassOf()
45 assert(record->isSubClassOf("Attr") && in Attribute()
51 bool Attribute::isDerivedAttr() const { return isSubClassOf("DerivedAttr"); } in isDerivedAttr()
53 bool Attribute::isTypeAttr() const { return isSubClassOf("TypeAttrBase"); } in isTypeAttr()
59 return isSubClassOf("SymbolRefAttr") || isSubClassOf("FlatSymbolRefAttr"); in isSymbolRefAttr()
62 bool Attribute::isEnumAttr() const { return isSubClassOf("EnumAttrInfo"); } in isEnumAttr()
142 assert(def->isSubClassOf("ConstantAttr") && in ConstantAttr()
155 assert(isSubClassOf("EnumAttrCaseInfo") && in EnumAttrCase()
162 bool EnumAttrCase::isStrCase() const { return isSubClassOf("StrEnumAttrCase"); } in isStrCase()
175 assert(isSubClassOf("EnumAttrInfo") && in EnumAttr()
184 return attr->isSubClassOf("EnumAttrInfo"); in classof()
187 bool EnumAttr::isBitEnum() const { return isSubClassOf("BitEnumAttr"); } in isBitEnum()
235 assert(def->isSubClassOf("StructFieldAttr") && in StructFieldAttr()
255 assert(isSubClassOf("StructAttr") && in StructAttr()