[Mlir-commits] [mlir] [mlir] Method to iterate over registered operations for a given dialect class. (PR #112344)
Rajveer Singh Bharadwaj
llvmlistbot at llvm.org
Thu Oct 17 00:58:16 PDT 2024
================
@@ -190,6 +190,9 @@ class MLIRContextImpl {
/// and efficient `getRegisteredOperations` implementation.
SmallVector<RegisteredOperationName, 0> sortedRegisteredOperations;
+ /// This returns the number of registered operations for the given dialect.
+ size_t operationCount = 0;
+
----------------
Rajveer100 wrote:
I have updated the logic that doesn't require the count now.
https://github.com/llvm/llvm-project/pull/112344
More information about the Mlir-commits
mailing list