Searched refs:SetPyError (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Bindings/Python/ |
| H A D | IRCore.cpp | 237 throw SetPyError(PyExc_IndexError, in dunderGetItem() 310 throw SetPyError(PyExc_IndexError, in dunderGetItem() 415 throw SetPyError(PyExc_IndexError, in dunderGetItem() 427 throw SetPyError(PyExc_IndexError, in dunderGetItem() 580 throw SetPyError( in resolve() 850 throw SetPyError( in resolve() 1582 throw SetPyError(PyExc_ValueError, in insert() 2136 throw SetPyError(PyExc_KeyError, in dunderGetItemNamed() 2164 throw SetPyError(PyExc_KeyError, in dunderDelItem() 2491 throw SetPyError( in populateIRCore() [all …]
|
| H A D | IRAttributes.cpp | 207 throw SetPyError(PyExc_ValueError, in bindDerived() 514 throw SetPyError(PyExc_ValueError, message); in getSplat() 521 throw SetPyError(PyExc_ValueError, message); in getSplat() 531 throw SetPyError(PyExc_ValueError, message); in getSplat() 699 throw SetPyError(PyExc_IndexError, in dunderGetItem() 747 throw SetPyError(PyExc_TypeError, "Unsupported integer type"); in dunderGetItem() 795 throw SetPyError(PyExc_KeyError, in bindDerived() 802 throw SetPyError(PyExc_IndexError, in bindDerived() 825 throw SetPyError(PyExc_IndexError, in dunderGetItem() 842 throw SetPyError(PyExc_TypeError, "Unsupported floating-point type"); in dunderGetItem()
|
| H A D | IRTypes.cpp | 211 throw SetPyError( in bindDerived() 318 throw SetPyError( in requireHasRank() 342 throw SetPyError( in bindDerived() 375 throw SetPyError( in bindDerived() 415 throw SetPyError( in bindDerived() 452 throw SetPyError( in bindDerived() 511 throw SetPyError( in bindDerived()
|
| H A D | Pass.cpp | 91 throw SetPyError(PyExc_ValueError, in populatePassManagerSubmodule() 106 throw SetPyError(PyExc_RuntimeError, in populatePassManagerSubmodule()
|
| H A D | IRModule.cpp | 67 throw SetPyError(PyExc_RuntimeError, llvm::Twine("Dialect namespace '") + in registerDialectImpl() 79 throw SetPyError(PyExc_RuntimeError, llvm::Twine("Operation '") + in registerOperationImpl()
|
| H A D | PybindUtils.cpp | 12 mlir::python::SetPyError(PyObject *excClass, const llvm::Twine &message) { in SetPyError() function in mlir::python
|
| H A D | PybindUtils.h | 26 pybind11::error_already_set SetPyError(PyObject *excClass,
|
| H A D | IRModule.h | 789 throw SetPyError(PyExc_ValueError, llvm::Twine("Cannot cast type to ") + in castFrom() 882 throw SetPyError(PyExc_ValueError, in castFrom()
|
| H A D | IRAffine.cpp | 95 throw SetPyError(PyExc_ValueError, in castFrom()
|