/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|*                                                                            *|
|* Dialect Declarations                                                       *|
|*                                                                            *|
|* Automatically generated file, do not edit!                                 *|
|* From: CUFDialect.td                                                        *|
|*                                                                            *|
\*===----------------------------------------------------------------------===*/

namespace cuf {

/// CUDA Fortran dialect
/// This dialect models CUDA Fortran operations. The CUF dialect operations use
///     the FIR types and are tightly coupled with FIR and HLFIR.
class CUFDialect : public ::mlir::Dialect {
  explicit CUFDialect(::mlir::MLIRContext *context);

  void initialize();
  friend class ::mlir::MLIRContext;
public:
  ~CUFDialect() override;
  static constexpr ::llvm::StringLiteral getDialectNamespace() {
    return ::llvm::StringLiteral("cuf");
  }

  /// Parse an attribute registered to this dialect.
  ::mlir::Attribute parseAttribute(::mlir::DialectAsmParser &parser,
                                   ::mlir::Type type) const override;

  /// Print an attribute registered to this dialect.
  void printAttribute(::mlir::Attribute attr,
                      ::mlir::DialectAsmPrinter &os) const override;

  private:
    // Register the CUF Attributes.
    void registerAttributes();
  };
} // namespace cuf
MLIR_DECLARE_EXPLICIT_TYPE_ID(::cuf::CUFDialect)
