//===- Context.h - MLIR PDLL ODS Context ------------------------*- 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 // //===----------------------------------------------------------------------===// #ifndef MLIR_TOOLS_PDLL_ODS_CONTEXT_H_ #define MLIR_TOOLS_PDLL_ODS_CONTEXT_H_ #include <string> #include "mlir/Support/LLVM.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringMap.h" namespace llvm { class SMLoc; } // namespace llvm namespace mlir { namespace pdll { namespace ods { class AttributeConstraint; class Dialect; class Operation; class TypeConstraint; /// This class contains all of the registered ODS operation classes. class Context { … }; } // namespace ods } // namespace pdll } // namespace mlir #endif // MLIR_PDL_pdll_ODS_CONTEXT_H_