Lines Matching defs:PyOperation
41 class PyOperation;
207 std::vector<PyOperation *> getLiveOperationObjects();
279 llvm::DenseMap<void *, std::pair<nanobind::handle, PyOperation *>>;
289 friend class PyOperation;
571 /// Base class for PyOperation and PyOpView which exposes the primary, user
606 virtual PyOperation &getOperation() = 0;
609 /// Wrapper around PyOperation.
615 class PyOperation;
616 using PyOperationRef = PyObjectRef<PyOperation>;
617 class PyOperation : public PyOperationBase, public BaseContextObject {
619 ~PyOperation() override;
620 PyOperation &getOperation() override { return *this; }
622 /// Returns a PyOperation for the given MlirOperation, optionally associating
681 /// Creates a PyOperation from the MlirOperation wrapped by a capsule.
708 PyOperation(PyMlirContextRef contextRef, MlirOperation operation);
739 PyOperation &getOperation() override { return operation; }
765 PyOperation &operation; // For efficient, cast-free access from C++