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 | |
13 | namespace mlir { |
14 | class AsmParser; |
15 | class AsmPrinter; |
16 | } // namespace mlir |
17 | namespace mlir { |
18 | namespace tfg { |
19 | class RegionAttr; |
20 | namespace detail { |
21 | struct RegionAttrStorage; |
22 | } // namespace detail |
23 | class RegionAttr : public ::mlir::Attribute::AttrBase<RegionAttr, ::mlir::Attribute, detail::RegionAttrStorage> { |
24 | public: |
25 | using Base::Base; |
26 | public: |
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 |
41 | MLIR_DECLARE_EXPLICIT_TYPE_ID(::mlir::tfg::RegionAttr) |
42 | |
43 | #endif // GET_ATTRDEF_CLASSES |
44 | |
45 |