| 1 | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |
| 2 | |* *| |
| 3 | |* Dialect Declarations *| |
| 4 | |* *| |
| 5 | |* Automatically generated file, do not edit! *| |
| 6 | |* From: OpenACCOps.td *| |
| 7 | |* *| |
| 8 | \*===----------------------------------------------------------------------===*/ |
| 9 | |
| 10 | #include "mlir/IR/Dialect.h" |
| 11 | |
| 12 | namespace mlir::acc { |
| 13 | |
| 14 | |
| 15 | class OpenACCDialect : public ::mlir::Dialect { |
| 16 | explicit OpenACCDialect(::mlir::MLIRContext *context); |
| 17 | |
| 18 | void initialize(); |
| 19 | friend class ::mlir::MLIRContext; |
| 20 | public: |
| 21 | ~OpenACCDialect() override; |
| 22 | static constexpr ::llvm::StringLiteral getDialectNamespace() { |
| 23 | return ::llvm::StringLiteral("acc" ); |
| 24 | } |
| 25 | |
| 26 | /// Parse an attribute registered to this dialect. |
| 27 | ::mlir::Attribute parseAttribute(::mlir::DialectAsmParser &parser, |
| 28 | ::mlir::Type type) const override; |
| 29 | |
| 30 | /// Print an attribute registered to this dialect. |
| 31 | void printAttribute(::mlir::Attribute attr, |
| 32 | ::mlir::DialectAsmPrinter &os) const override; |
| 33 | |
| 34 | /// Parse a type registered to this dialect. |
| 35 | ::mlir::Type parseType(::mlir::DialectAsmParser &parser) const override; |
| 36 | |
| 37 | /// Print a type registered to this dialect. |
| 38 | void printType(::mlir::Type type, |
| 39 | ::mlir::DialectAsmPrinter &os) const override; |
| 40 | }; |
| 41 | |
| 42 | } // namespace mlir::acc |
| 43 | MLIR_DECLARE_EXPLICIT_TYPE_ID(::mlir::acc::OpenACCDialect) |
| 44 | |