Lines Matching refs:liveOperations
464 size_t PyMlirContext::getLiveOperationCount() { return liveOperations.size(); } in getLiveOperationCount()
739 auto &liveOperations = getContext()->liveOperations; in ~PyOperation() local
740 assert(liveOperations.count(operation.ptr) == 1 && in ~PyOperation()
742 liveOperations.erase(operation.ptr); in ~PyOperation()
751 auto &liveOperations = contextRef->liveOperations; in createInstance() local
764 liveOperations[operation.ptr] = std::make_pair(pyRef, unownedOperation); in createInstance()
771 auto &liveOperations = contextRef->liveOperations; in forOperation() local
772 auto it = liveOperations.find(operation.ptr); in forOperation()
773 if (it == liveOperations.end()) { in forOperation()
787 auto &liveOperations = contextRef->liveOperations; in createDetached() local
788 assert(liveOperations.count(operation.ptr) == 0 && in createDetached()
790 (void)liveOperations; in createDetached()