1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* AttrDef Declarations *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* *|
7\*===----------------------------------------------------------------------===*/
8
9#ifdef GET_ATTRDEF_CLASSES
10#undef GET_ATTRDEF_CLASSES
11
12
13namespace mlir {
14class AsmParser;
15class AsmPrinter;
16} // namespace mlir
17namespace mlir {
18namespace tfg {
19class RegionAttr;
20namespace detail {
21struct RegionAttrStorage;
22} // namespace detail
23class RegionAttr : public ::mlir::Attribute::AttrBase<RegionAttr, ::mlir::Attribute, detail::RegionAttrStorage> {
24public:
25 using Base::Base;
26public:
27 static RegionAttr get(::mlir::MLIRContext *context, DictionaryAttr attrs, ArrayAttr arg_attrs, ArrayAttr res_attrs);
28 static RegionAttr get(DictionaryAttr attrs, ArrayAttr arg_attrs, ArrayAttr res_attrs);
29 static constexpr ::llvm::StringLiteral getMnemonic() {
30 return {"region_attrs"};
31 }
32
33 static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
34 void print(::mlir::AsmPrinter &odsPrinter) const;
35 DictionaryAttr getAttrs() const;
36 ArrayAttr getArgAttrs() const;
37 ArrayAttr getResAttrs() const;
38};
39} // namespace tfg
40} // namespace mlir
41MLIR_DECLARE_EXPLICIT_TYPE_ID(::mlir::tfg::RegionAttr)
42
43#endif // GET_ATTRDEF_CLASSES
44
45