//===- DialectResourceBlobManager.cpp - Dialect Blob Management -----------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "mlir/IR/DialectResourceBlobManager.h" #include "llvm/ADT/SmallString.h" #include <optional> usingnamespacemlir; //===----------------------------------------------------------------------===// // DialectResourceBlobManager //===---------------------------------------------------------------------===// auto DialectResourceBlobManager::lookup(StringRef name) -> BlobEntry * { … } void DialectResourceBlobManager::update(StringRef name, AsmResourceBlob &&newBlob) { … } auto DialectResourceBlobManager::insert(StringRef name, std::optional<AsmResourceBlob> blob) -> BlobEntry & { … }