Lines Matching refs:PyAttribute
121 PyArrayAttributeIterator(PyAttribute attr) : attr(std::move(attr)) {} in PyArrayAttributeIterator()
125 PyAttribute dunderNext() { in dunderNext()
129 return PyAttribute(attr.getContext(), in dunderNext()
141 PyAttribute attr;
145 PyAttribute getItem(intptr_t i) { in getItem()
146 return PyAttribute(getContext(), mlirArrayAttrGetElement(*this, i)); in getItem()
156 mlirAttributes.push_back(pyTryCast<PyAttribute>(attribute)); in bindDerived()
184 attributes.push_back(pyTryCast<PyAttribute>(attr)); in bindDerived()
507 PyAttribute &elementAttr) { in getSplat()
777 auto &mlirAttr = it.second.cast<PyAttribute &>(); in bindDerived()
798 return PyAttribute(self.getContext(), attr); in bindDerived()