//===- Dialect.h - Dialect class --------------------------------*- 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 // //===----------------------------------------------------------------------===// // // Dialect wrapper to simplify using TableGen Record defining a MLIR dialect. // //===----------------------------------------------------------------------===// #ifndef MLIR_TABLEGEN_DIALECT_H_ #define MLIR_TABLEGEN_DIALECT_H_ #include "mlir/Support/LLVM.h" #include "llvm/TableGen/Record.h" #include <string> #include <vector> namespace llvm { class Record; } // namespace llvm namespace mlir { namespace tblgen { // Wrapper class that contains a MLIR dialect's information defined in TableGen // and provides helper methods for accessing them. class Dialect { … }; } // namespace tblgen } // namespace mlir #endif // MLIR_TABLEGEN_DIALECT_H_