• Home
  • Raw
  • Download

Lines Matching refs:Attribute

44 Attribute::Attribute(const Record *record) : AttrConstraint(record) {  in Attribute()  function in Attribute
49 Attribute::Attribute(const DefInit *init) : Attribute(init->getDef()) {} in Attribute() function in Attribute
51 bool Attribute::isDerivedAttr() const { return isSubClassOf("DerivedAttr"); } in isDerivedAttr()
53 bool Attribute::isTypeAttr() const { return isSubClassOf("TypeAttrBase"); } in isTypeAttr()
55 bool Attribute::isSymbolRefAttr() const { in isSymbolRefAttr()
62 bool Attribute::isEnumAttr() const { return isSubClassOf("EnumAttrInfo"); } in isEnumAttr()
64 StringRef Attribute::getStorageType() const { in getStorageType()
72 StringRef Attribute::getReturnType() const { in getReturnType()
79 llvm::Optional<Type> Attribute::getValueType() const { in getValueType()
85 StringRef Attribute::getConvertFromStorageCall() const { in getConvertFromStorageCall()
90 bool Attribute::isConstBuildable() const { in isConstBuildable()
95 StringRef Attribute::getConstBuilderTemplate() const { in getConstBuilderTemplate()
100 Attribute Attribute::getBaseAttr() const { in getBaseAttr()
103 return Attribute(defInit).getBaseAttr(); in getBaseAttr()
108 bool Attribute::hasDefaultValue() const { in hasDefaultValue()
113 StringRef Attribute::getDefaultValue() const { in getDefaultValue()
118 bool Attribute::isOptional() const { return def->getValueAsBit("isOptional"); } in isOptional()
120 StringRef Attribute::getAttrDefName() const { in getAttrDefName()
127 StringRef Attribute::getDerivedCodeBody() const { in getDerivedCodeBody()
132 Dialect Attribute::getDialect() const { in getDialect()
146 Attribute ConstantAttr::getAttribute() const { in getAttribute()
147 return Attribute(def->getValueAsDef("attr")); in getAttribute()
154 EnumAttrCase::EnumAttrCase(const llvm::Record *record) : Attribute(record) { in EnumAttrCase()
174 EnumAttr::EnumAttr(const llvm::Record *record) : Attribute(record) { in EnumAttr()
179 EnumAttr::EnumAttr(const llvm::Record &record) : Attribute(&record) {} in EnumAttr()
183 bool EnumAttr::classof(const Attribute *attr) { in classof()
249 Attribute StructFieldAttr::getType() const { in getType()
251 return Attribute(cast<llvm::DefInit>(init)); in getType()
254 StructAttr::StructAttr(const llvm::Record *record) : Attribute(record) { in StructAttr()