[Mlir-commits] [mlir] [mlir] Allow accessing DialectResourceBlobManager::blobMap (PR #142352)
Andrei Golubev
llvmlistbot at llvm.org
Fri Jun 20 07:40:21 PDT 2025
================
@@ -93,9 +93,14 @@ class DialectResourceBlobManager {
return HandleT(&entry, dialect);
}
+ /// Provide access to all the registered blobs via a callable. During access
+ /// the blobs are guaranteed to remain unchanged.
+ void access(llvm::function_ref<void(const llvm::StringMap<BlobEntry> &)>
----------------
andrey-golubev wrote:
right. I was thinking that `get` is supposed to return something. if you think this is a better name, though, i have nothing against. "access" does sound alien, agree.
https://github.com/llvm/llvm-project/pull/142352
More information about the Mlir-commits
mailing list