Lines Matching refs:PyAffineAddExpr
202 class PyAffineAddExpr class
203 : public PyConcreteAffineExpr<PyAffineAddExpr, PyAffineBinaryExpr> {
209 static PyAffineAddExpr get(PyAffineExpr lhs, const PyAffineExpr &rhs) { in get()
211 return PyAffineAddExpr(lhs.getContext(), expr); in get()
214 static PyAffineAddExpr getRHSConstant(PyAffineExpr lhs, intptr_t rhs) { in getRHSConstant()
217 return PyAffineAddExpr(lhs.getContext(), expr); in getRHSConstant()
220 static PyAffineAddExpr getLHSConstant(intptr_t lhs, PyAffineExpr rhs) { in getLHSConstant()
223 return PyAffineAddExpr(rhs.getContext(), expr); in getLHSConstant()
227 c.def_static("get", &PyAffineAddExpr::get); in bindDerived()
511 .def("__add__", &PyAffineAddExpr::get) in populateIRAffine()
512 .def("__add__", &PyAffineAddExpr::getRHSConstant) in populateIRAffine()
513 .def("__radd__", &PyAffineAddExpr::getRHSConstant) in populateIRAffine()
529 return PyAffineAddExpr::get(self, in populateIRAffine()
534 return PyAffineAddExpr::get( in populateIRAffine()
540 return PyAffineAddExpr::getLHSConstant( in populateIRAffine()
576 "get_add", &PyAffineAddExpr::get, in populateIRAffine()
578 .def_static("get_add", &PyAffineAddExpr::getLHSConstant, in populateIRAffine()
581 .def_static("get_add", &PyAffineAddExpr::getRHSConstant, in populateIRAffine()
638 PyAffineAddExpr::bind(m); in populateIRAffine()