Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DIRModule.h32 class PyLocation; variable
123 static PyLocation *getDefaultLocation();
127 PyLocation *getLocation();
136 static pybind11::object pushLocation(PyLocation &location);
137 static void popLocation(PyLocation &location);
294 PyLocation getLocation();
420 class PyLocation : public BaseContextObject {
422 PyLocation(PyMlirContextRef contextRef, MlirLocation loc) in PyLocation() function
441 static PyLocation createFromCapsule(pybind11::object capsule);
450 : public Defaulting<DefaultingPyLocation, PyLocation> {
[all …]
H A DIRCore.cpp642 return py::cast<PyLocation *>(location); in getLocation()
765 PyLocation PyDiagnostic::getLocation() { in getLocation()
825 py::object PyLocation::getCapsule() { in getCapsule()
829 PyLocation PyLocation::createFromCapsule(py::object capsule) { in createFromCapsule()
837 py::object PyLocation::contextEnter() { in contextEnter()
847 PyLocation &DefaultingPyLocation::resolve() { in resolve()
2384 [](PyLocation &self, PyLocation &other) -> bool { in populateIRCore()
2407 [](PyLocation callee, const std::vector<PyLocation> &frames, in populateIRCore()
2412 for (const PyLocation &frame : in populateIRCore()
2424 return PyLocation( in populateIRCore()
[all …]
/llvm-project-15.0.7/mlir/docs/Bindings/
H A DPython.md179 * `PyLocation` (`loc: mlir.ir.Location = None`)