9#ifdef GET_ATTRDEF_CLASSES
10#undef GET_ATTRDEF_CLASSES
23struct BitVectorAttrStorage;
25class BitVectorAttr :
public ::mlir::Attribute::AttrBase<BitVectorAttr, ::mlir::Attribute, detail::BitVectorAttrStorage, ::mlir::TypedAttr::Trait> {
29 std::string getValueAsString(
bool prefix =
true)
const;
30 static constexpr ::llvm::StringLiteral name =
"smt.bv";
31 static constexpr ::llvm::StringLiteral dialectName =
"smt";
32 using Base::getChecked;
33 static BitVectorAttr get(::mlir::MLIRContext *context, ::llvm::APInt value);
34 static BitVectorAttr getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::llvm::APInt value);
35 static BitVectorAttr get(::mlir::MLIRContext *context, llvm::StringRef value);
36 static BitVectorAttr getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, llvm::StringRef value);
37 static BitVectorAttr get(::mlir::MLIRContext *context, uint64_t value,
unsigned width);
38 static BitVectorAttr getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, uint64_t value,
unsigned width);
39 static ::llvm::LogicalResult verify(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::APInt value);
40 static ::llvm::LogicalResult verifyInvariants(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::APInt value);
41 static constexpr ::llvm::StringLiteral getMnemonic() {
45 static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
46 void print(::mlir::AsmPrinter &odsPrinter)
const;
47 ::llvm::APInt getValue()
const;
48 ::mlir::Type getType()
const;
51struct KeywordAttrStorage;
53class KeywordAttr :
public ::mlir::Attribute::AttrBase<KeywordAttr, ::mlir::Attribute, detail::KeywordAttrStorage> {
56 static constexpr ::llvm::StringLiteral name =
"smt.keyword";
57 static constexpr ::llvm::StringLiteral dialectName =
"smt";
58 using Base::getChecked;
59 static KeywordAttr get(::mlir::MLIRContext *context, ::llvm::StringRef value);
60 static KeywordAttr getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::llvm::StringRef value);
61 static ::llvm::LogicalResult verify(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::StringRef value);
62 static ::llvm::LogicalResult verifyInvariants(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::StringRef value);
63 static constexpr ::llvm::StringLiteral getMnemonic() {
67 static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
68 void print(::mlir::AsmPrinter &odsPrinter)
const;
69 ::llvm::StringRef getValue()
const;
72struct SymbolAttrStorage;
74class SymbolAttr :
public ::mlir::Attribute::AttrBase<SymbolAttr, ::mlir::Attribute, detail::SymbolAttrStorage> {
77 static constexpr ::llvm::StringLiteral name =
"smt.symbol";
78 static constexpr ::llvm::StringLiteral dialectName =
"smt";
79 using Base::getChecked;
80 static SymbolAttr get(::mlir::MLIRContext *context, ::llvm::StringRef value);
81 static SymbolAttr getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::llvm::StringRef value);
82 static ::llvm::LogicalResult verify(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::StringRef value);
83 static ::llvm::LogicalResult verifyInvariants(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::StringRef value);
84 static constexpr ::llvm::StringLiteral getMnemonic() {
88 static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
89 void print(::mlir::AsmPrinter &odsPrinter)
const;
90 ::llvm::StringRef getValue()
const;
94MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::smt::BitVectorAttr)
95MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::smt::KeywordAttr)
96MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::smt::SymbolAttr)