Lines Matching refs:NamedAttribute
25 NamedAttrList::NamedAttrList(ArrayRef<NamedAttribute> attributes) { in NamedAttrList()
33 ArrayRef<NamedAttribute> NamedAttrList::getAttrs() const { return attrs; } in getAttrs()
35 Optional<NamedAttribute> NamedAttrList::findDuplicate() const { in findDuplicate()
36 Optional<NamedAttribute> duplicate = in findDuplicate()
72 void NamedAttrList::append(ArrayRef<NamedAttribute> newAttributes) { in append()
86 DictionaryAttr::sort(ArrayRef<NamedAttribute>{in_start, in_end}, attrs); in assign()
90 void NamedAttrList::push_back(NamedAttribute newAttribute) { in push_back()
102 static auto *findAttr(SmallVectorImpl<NamedAttribute> &attrs, T name, in findAttr()
106 attrs, [name](NamedAttribute attr) { return attr.first == name; }); in findAttr()
128 Optional<NamedAttribute> NamedAttrList::getNamed(StringRef name) const { in getNamed()
130 return it != attrs.end() ? *it : Optional<NamedAttribute>(); in getNamed()
132 Optional<NamedAttribute> NamedAttrList::getNamed(Identifier name) const { in getNamed()
134 return it != attrs.end() ? *it : Optional<NamedAttribute>(); in getNamed()
164 NamedAttrList::eraseImpl(SmallVectorImpl<NamedAttribute>::iterator it) { in eraseImpl()
184 NamedAttrList::operator=(const SmallVectorImpl<NamedAttribute> &rhs) { in operator =()
189 NamedAttrList::operator ArrayRef<NamedAttribute>() const { return attrs; } in operator ArrayRef<NamedAttribute>()
203 ArrayRef<NamedAttribute> attributes, in OperationState()