/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|*                                                                            *|
|* AttrDef Declarations                                                       *|
|*                                                                            *|
|* Automatically generated file, do not edit!                                 *|
|*                                                                            *|
\*===----------------------------------------------------------------------===*/

#ifdef GET_ATTRDEF_CLASSES
#undef GET_ATTRDEF_CLASSES


namespace mlir {
class AsmParser;
class AsmPrinter;
} // namespace mlir
namespace fir {
class FortranVariableFlagsAttr;
class CUDADataAttributeAttr;
class CUDAProcAttributeAttr;
class CUDALaunchBoundsAttr;
class CUDAClusterDimsAttr;
namespace detail {
struct FortranVariableFlagsAttrStorage;
} // namespace detail
class FortranVariableFlagsAttr : public ::mlir::Attribute::AttrBase<FortranVariableFlagsAttr, ::mlir::Attribute, detail::FortranVariableFlagsAttrStorage> {
public:
  using Base::Base;
  static constexpr ::llvm::StringLiteral name = "fir.var_attrs";
  static FortranVariableFlagsAttr get(::mlir::MLIRContext *context, FortranVariableFlagsEnum flags);
  static constexpr ::llvm::StringLiteral getMnemonic() {
    return {"var_attrs"};
  }

  static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
  void print(::mlir::AsmPrinter &odsPrinter) const;
  FortranVariableFlagsEnum getFlags() const;
};
namespace detail {
struct CUDADataAttributeAttrStorage;
} // namespace detail
class CUDADataAttributeAttr : public ::mlir::Attribute::AttrBase<CUDADataAttributeAttr, ::mlir::Attribute, detail::CUDADataAttributeAttrStorage> {
public:
  using Base::Base;
  static constexpr ::llvm::StringLiteral name = "fir.cuda";
  static CUDADataAttributeAttr get(::mlir::MLIRContext *context, ::fir::CUDADataAttribute value);
  static constexpr ::llvm::StringLiteral getMnemonic() {
    return {"cuda"};
  }

  static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
  void print(::mlir::AsmPrinter &odsPrinter) const;
  ::fir::CUDADataAttribute getValue() const;
};
namespace detail {
struct CUDAProcAttributeAttrStorage;
} // namespace detail
class CUDAProcAttributeAttr : public ::mlir::Attribute::AttrBase<CUDAProcAttributeAttr, ::mlir::Attribute, detail::CUDAProcAttributeAttrStorage> {
public:
  using Base::Base;
  static constexpr ::llvm::StringLiteral name = "fir.cuda_proc";
  static CUDAProcAttributeAttr get(::mlir::MLIRContext *context, ::fir::CUDAProcAttribute value);
  static constexpr ::llvm::StringLiteral getMnemonic() {
    return {"cuda_proc"};
  }

  static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
  void print(::mlir::AsmPrinter &odsPrinter) const;
  ::fir::CUDAProcAttribute getValue() const;
};
namespace detail {
struct CUDALaunchBoundsAttrStorage;
} // namespace detail
class CUDALaunchBoundsAttr : public ::mlir::Attribute::AttrBase<CUDALaunchBoundsAttr, ::mlir::Attribute, detail::CUDALaunchBoundsAttrStorage> {
public:
  using Base::Base;
  static constexpr ::llvm::StringLiteral name = "fir.launch_bounds";
  static CUDALaunchBoundsAttr get(::mlir::MLIRContext *context, mlir::IntegerAttr maxTPB, mlir::IntegerAttr minBPM, mlir::IntegerAttr upperBoundClusterSize);
  static constexpr ::llvm::StringLiteral getMnemonic() {
    return {"launch_bounds"};
  }

  static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
  void print(::mlir::AsmPrinter &odsPrinter) const;
  mlir::IntegerAttr getMaxTPB() const;
  mlir::IntegerAttr getMinBPM() const;
  mlir::IntegerAttr getUpperBoundClusterSize() const;
};
namespace detail {
struct CUDAClusterDimsAttrStorage;
} // namespace detail
class CUDAClusterDimsAttr : public ::mlir::Attribute::AttrBase<CUDAClusterDimsAttr, ::mlir::Attribute, detail::CUDAClusterDimsAttrStorage> {
public:
  using Base::Base;
  static constexpr ::llvm::StringLiteral name = "fir.cluster_dims";
  static CUDAClusterDimsAttr get(::mlir::MLIRContext *context, mlir::IntegerAttr x, mlir::IntegerAttr y, mlir::IntegerAttr z);
  static constexpr ::llvm::StringLiteral getMnemonic() {
    return {"cluster_dims"};
  }

  static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
  void print(::mlir::AsmPrinter &odsPrinter) const;
  mlir::IntegerAttr getX() const;
  mlir::IntegerAttr getY() const;
  mlir::IntegerAttr getZ() const;
};
} // namespace fir
MLIR_DECLARE_EXPLICIT_TYPE_ID(::fir::FortranVariableFlagsAttr)
MLIR_DECLARE_EXPLICIT_TYPE_ID(::fir::CUDADataAttributeAttr)
MLIR_DECLARE_EXPLICIT_TYPE_ID(::fir::CUDAProcAttributeAttr)
MLIR_DECLARE_EXPLICIT_TYPE_ID(::fir::CUDALaunchBoundsAttr)
MLIR_DECLARE_EXPLICIT_TYPE_ID(::fir::CUDAClusterDimsAttr)

#endif  // GET_ATTRDEF_CLASSES

