• Home
  • Raw
  • Download

Lines Matching refs:pybind11

38   PyObjectRef(T *referrent, pybind11::object object)  in PyObjectRef()
62 pybind11::object releaseObject() { in releaseObject()
74 pybind11::object getObject() { in getObject()
82 pybind11::object object;
101 PyThreadContextEntry(FrameKind frameKind, pybind11::object context, in PyThreadContextEntry()
102 pybind11::object insertionPoint, in PyThreadContextEntry()
103 pybind11::object location) in PyThreadContextEntry()
123 static pybind11::object pushContext(PyMlirContext &context);
125 static pybind11::object pushInsertionPoint(PyInsertionPoint &insertionPoint);
127 static pybind11::object pushLocation(PyLocation &location);
134 static void push(FrameKind frameKind, pybind11::object context,
135 pybind11::object insertionPoint, pybind11::object location);
138 pybind11::object context;
140 pybind11::object insertionPoint;
142 pybind11::object location;
176 return PyMlirContextRef(this, pybind11::cast(this)); in getRef()
180 pybind11::object getCapsule();
186 static pybind11::object createFromCapsule(pybind11::object capsule);
200 pybind11::object contextEnter();
201 void contextExit(pybind11::object excType, pybind11::object excVal,
202 pybind11::object excTb);
220 llvm::DenseMap<const void *, std::pair<pybind11::handle, PyModule *>>;
228 llvm::DenseMap<void *, std::pair<pybind11::handle, PyOperation *>>;
296 PyDialect(pybind11::object descriptor) : descriptor(std::move(descriptor)) {} in PyDialect()
298 pybind11::object getDescriptor() { return descriptor; } in getDescriptor()
301 pybind11::object descriptor;
314 pybind11::object contextEnter();
315 void contextExit(pybind11::object excType, pybind11::object excVal,
316 pybind11::object excTb);
319 pybind11::object getCapsule();
325 static PyLocation createFromCapsule(pybind11::object capsule);
363 pybind11::reinterpret_borrow<pybind11::object>(handle)); in getRef()
370 pybind11::object getCapsule();
376 static pybind11::object createFromCapsule(pybind11::object capsule);
381 pybind11::handle handle;
390 void print(pybind11::object fileObject, bool binary,
393 pybind11::object getAsm(bool binary,
419 pybind11::object parentKeepAlive = pybind11::object());
425 pybind11::object parentKeepAlive = pybind11::object());
436 this, pybind11::reinterpret_borrow<pybind11::object>(handle)); in getRef()
455 static pybind11::object
458 llvm::Optional<pybind11::dict> attributes,
460 DefaultingPyLocation location, pybind11::object ip);
463 pybind11::object createOpView();
469 pybind11::object parentKeepAlive);
472 pybind11::handle handle;
479 pybind11::object parentKeepAlive;
491 PyOpView(pybind11::object operationObject);
494 static pybind11::object createRawSubclass(pybind11::object userClass);
496 pybind11::object getOperationObject() { return operationObject; } in getOperationObject()
500 pybind11::object operationObject; // Holds the reference.
564 pybind11::object contextEnter();
565 void contextExit(pybind11::object excType, pybind11::object excVal,
566 pybind11::object excTb);
591 pybind11::object getCapsule();
597 static PyAttribute createFromCapsule(pybind11::object capsule);
637 pybind11::object getCapsule();
643 static PyType createFromCapsule(pybind11::object capsule);
670 void populateIRSubmodule(pybind11::module &m);
675 namespace pybind11 {