Home
last modified time | relevance | path

Searched refs:PyDictAttribute (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DIRAttributes.cpp755 class PyDictAttribute : public PyConcreteAttribute<PyDictAttribute> { class
769 c.def("__contains__", &PyDictAttribute::dunderContains); in bindDerived()
770 c.def("__len__", &PyDictAttribute::dunderLen); in bindDerived()
787 return PyDictAttribute(context->getRef(), attr); in bindDerived()
791 c.def("__getitem__", [](PyDictAttribute &self, const std::string &name) { in bindDerived()
800 c.def("__getitem__", [](PyDictAttribute &self, intptr_t index) { in bindDerived()
900 PyDictAttribute::bind(m); in populateIRAttributes()