Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Bindings/Python/
DIRModules.cpp469 return PyThreadContextEntry::pushContext(*this); in contextEnter()
475 PyThreadContextEntry::popContext(*this); in contextExit()
479 PyMlirContext *context = PyThreadContextEntry::getDefaultContext(); in resolve()
494 std::vector<PyThreadContextEntry> &PyThreadContextEntry::getStack() { in getStack()
495 static thread_local std::vector<PyThreadContextEntry> stack; in getStack()
499 PyThreadContextEntry *PyThreadContextEntry::getTopOfStack() { in getTopOfStack()
506 void PyThreadContextEntry::push(FrameKind frameKind, py::object context, in push()
528 PyMlirContext *PyThreadContextEntry::getContext() { in getContext()
534 PyInsertionPoint *PyThreadContextEntry::getInsertionPoint() { in getInsertionPoint()
540 PyLocation *PyThreadContextEntry::getLocation() { in getLocation()
[all …]
DIRModules.h93 class PyThreadContextEntry {
101 PyThreadContextEntry(FrameKind frameKind, pybind11::object context, in PyThreadContextEntry() function
122 static PyThreadContextEntry *getTopOfStack();
131 static std::vector<PyThreadContextEntry> &getStack();