Searched refs:PyOperation (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/mlir/lib/Bindings/Python/ |
D | IRModules.h | 29 class PyOperation; variable 228 llvm::DenseMap<void *, std::pair<pybind11::handle, PyOperation *>>; 233 friend class PyOperation; variable 399 virtual PyOperation &getOperation() = 0; 408 class PyOperation; variable 409 using PyOperationRef = PyObjectRef<PyOperation>; 410 class PyOperation : public PyOperationBase, public BaseContextObject { 412 ~PyOperation(); 413 PyOperation &getOperation() override { return *this; } in getOperation() 466 PyOperation(PyMlirContextRef contextRef, MlirOperation operation); [all …]
|
D | IRModules.cpp | 329 PyOperation::forOperation(parentOperation->getContext(), next); in dunderNext() 380 return PyOperation::forOperation(parentOperation->getContext(), childOp) in dunderGetItem() 735 PyOperation::PyOperation(PyMlirContextRef contextRef, MlirOperation operation) in PyOperation() function in PyOperation 738 PyOperation::~PyOperation() { in ~PyOperation() 748 PyOperationRef PyOperation::createInstance(PyMlirContextRef contextRef, in createInstance() 753 PyOperation *unownedOperation = in createInstance() 754 new PyOperation(std::move(contextRef), operation); in createInstance() 768 PyOperationRef PyOperation::forOperation(PyMlirContextRef contextRef, in forOperation() 779 PyOperation *existing = it->second.second; in forOperation() 784 PyOperationRef PyOperation::createDetached(PyMlirContextRef contextRef, in createDetached() [all …]
|
/external/llvm-project/mlir/docs/Bindings/ |
D | Python.md | 126 * `PyOperation` (`mlir.ir.Operation`) - but with caveats 165 As mentioned above, `PyOperation` is special because it can exist in either a 176 Due to the validity and parenting accounting needs, `PyOperation` is the owner
|