9#ifdef GET_ATTRDEF_CLASSES
10#undef GET_ATTRDEF_CLASSES
20class PublicAttr :
public ::mlir::Attribute::AttrBase<PublicAttr, ::mlir::Attribute, ::mlir::AttributeStorage> {
23 static constexpr ::llvm::StringLiteral name =
"llzk.pub";
24 static constexpr ::llvm::StringLiteral dialectName =
"llzk";
25 static constexpr ::llvm::StringLiteral getMnemonic() {
31struct LoopBoundsAttrStorage;
33class LoopBoundsAttr :
public ::mlir::Attribute::AttrBase<LoopBoundsAttr, ::mlir::Attribute, detail::LoopBoundsAttrStorage> {
36 static constexpr ::llvm::StringLiteral name =
"llzk.loopbounds";
37 static constexpr ::llvm::StringLiteral dialectName =
"llzk";
38 static LoopBoundsAttr get(::mlir::MLIRContext *context, ::llzk::APIntValue lower, ::llzk::APIntValue upper, ::llzk::APIntValue step);
39 static LoopBoundsAttr get(::mlir::MLIRContext *context, ::llvm::APInt lower, ::llvm::APInt upper, ::llvm::APInt step);
40 static constexpr ::llvm::StringLiteral getMnemonic() {
41 return {
"loopbounds"};
44 static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
45 void print(::mlir::AsmPrinter &odsPrinter)
const;
46 const ::llvm::APInt &getLower()
const;
47 const ::llvm::APInt &getUpper()
const;
48 const ::llvm::APInt &getStep()
const;
51MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::PublicAttr)
52MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::LoopBoundsAttr)