9#ifdef GET_ATTRDEF_CLASSES
10#undef GET_ATTRDEF_CLASSES
51class PublicAttr :
public ::mlir::Attribute::AttrBase<PublicAttr, ::mlir::Attribute, ::mlir::AttributeStorage> {
54 static constexpr ::llvm::StringLiteral name =
"llzk.pub";
55 static constexpr ::llvm::StringLiteral dialectName =
"llzk";
56 static constexpr ::llvm::StringLiteral getMnemonic() {
63struct LoopBoundsAttrStorage;
66class LoopBoundsAttr :
public ::mlir::Attribute::AttrBase<LoopBoundsAttr, ::mlir::Attribute, detail::LoopBoundsAttrStorage> {
69 static constexpr ::llvm::StringLiteral name =
"llzk.loopbounds";
70 static constexpr ::llvm::StringLiteral dialectName =
"llzk";
71 static LoopBoundsAttr get(::mlir::MLIRContext *context, ::llzk::DynamicAPIntValue lower, ::llzk::DynamicAPIntValue upper, ::llzk::DynamicAPIntValue step);
72 static LoopBoundsAttr get(::mlir::MLIRContext *context, const ::llvm::DynamicAPInt &lower, const ::llvm::DynamicAPInt &upper, const ::llvm::DynamicAPInt &step);
73 static constexpr ::llvm::StringLiteral getMnemonic() {
74 return {
"loopbounds"};
77 static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
78 void print(::mlir::AsmPrinter &odsPrinter)
const;
79 const ::llvm::DynamicAPInt &getLower()
const;
80 const ::llvm::DynamicAPInt &getUpper()
const;
81 const ::llvm::DynamicAPInt &getStep()
const;
85MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::PublicAttr)
86MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::LoopBoundsAttr)
Provides the necessary information to the RemoveUnusedDiscardableAllocations pass about operations th...