9#ifdef GET_ATTRDEF_CLASSES
10#undef GET_ATTRDEF_CLASSES
21struct BitVectorAttrStorage;
23class BitVectorAttr :
public ::mlir::Attribute::AttrBase<BitVectorAttr, ::mlir::Attribute, detail::BitVectorAttrStorage, ::mlir::TypedAttr::Trait> {
27 std::string getValueAsString(
bool prefix =
true)
const;
28 static constexpr ::llvm::StringLiteral name =
"smt.bv";
29 static constexpr ::llvm::StringLiteral dialectName =
"smt";
30 using Base::getChecked;
31 static BitVectorAttr get(::mlir::MLIRContext *context, ::llvm::APInt value);
32 static BitVectorAttr getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::llvm::APInt value);
33 static BitVectorAttr get(::mlir::MLIRContext *context, llvm::StringRef value);
34 static BitVectorAttr getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, llvm::StringRef value);
35 static BitVectorAttr get(::mlir::MLIRContext *context, uint64_t value,
unsigned width);
36 static BitVectorAttr getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, uint64_t value,
unsigned width);
37 static ::llvm::LogicalResult verify(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::APInt value);
38 static ::llvm::LogicalResult verifyInvariants(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::APInt value);
39 static constexpr ::llvm::StringLiteral getMnemonic() {
43 static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
44 void print(::mlir::AsmPrinter &odsPrinter)
const;
45 ::llvm::APInt getValue()
const;
46 ::mlir::Type getType()
const;
50MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::smt::BitVectorAttr)