LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
Attrs.h.inc
Go to the documentation of this file.
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 llzk {
18class PublicAttr;
19class LoopBoundsAttr;
20class PublicAttr : public ::mlir::Attribute::AttrBase<PublicAttr, ::mlir::Attribute, ::mlir::AttributeStorage> {
21public:
22 using Base::Base;
23 static constexpr ::llvm::StringLiteral name = "llzk.pub";
24 static constexpr ::llvm::StringLiteral getMnemonic() {
25 return {"pub"};
26 }
27
28};
29namespace detail {
30struct LoopBoundsAttrStorage;
31} // namespace detail
32class LoopBoundsAttr : public ::mlir::Attribute::AttrBase<LoopBoundsAttr, ::mlir::Attribute, detail::LoopBoundsAttrStorage> {
33public:
34 using Base::Base;
35 static constexpr ::llvm::StringLiteral name = "llzk.loopbounds";
36 static LoopBoundsAttr get(::mlir::MLIRContext *context, ::llvm::APInt lower, ::llvm::APInt upper, ::llvm::APInt step);
37 static constexpr ::llvm::StringLiteral getMnemonic() {
38 return {"loopbounds"};
39 }
40
41 static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
42 void print(::mlir::AsmPrinter &odsPrinter) const;
43 ::llvm::APInt getLower() const;
44 ::llvm::APInt getUpper() const;
45 ::llvm::APInt getStep() const;
46};
47} // namespace llzk
48MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::PublicAttr)
49MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::LoopBoundsAttr)
50
51#endif // GET_ATTRDEF_CLASSES
52