//===--- RegistryManager.h - Matcher registry -------------------*- C++ -*-===// // // 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 // //===----------------------------------------------------------------------===// // // RegistryManager to manage registry of all known matchers. // // The registry provides a generic interface to construct any matcher by name. // //===----------------------------------------------------------------------===// #ifndef MLIR_TOOLS_MLIRQUERY_MATCHER_REGISTRYMANAGER_H #define MLIR_TOOLS_MLIRQUERY_MATCHER_REGISTRYMANAGER_H #include "Diagnostics.h" #include "mlir/Query/Matcher/Marshallers.h" #include "mlir/Query/Matcher/Registry.h" #include "mlir/Query/Matcher/VariantValue.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" #include <string> namespace mlir::query::matcher { MatcherCtor; struct MatcherCompletion { … }; class RegistryManager { … }; } // namespace mlir::query::matcher #endif // MLIR_TOOLS_MLIRQUERY_MATCHER_REGISTRYMANAGER_H