LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
SMTInfoAttributes.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::smt_info {
18
20class KeywordAttr;
22class SymbolAttr;
23namespace detail {
24
25struct KeywordAttrStorage;
26
27} // namespace detail
28class KeywordAttr : public ::mlir::Attribute::AttrBase<KeywordAttr, ::mlir::Attribute, detail::KeywordAttrStorage> {
29public:
30 using Base::Base;
31 static constexpr ::llvm::StringLiteral name = "smt_info.keyword";
32 static constexpr ::llvm::StringLiteral dialectName = "smt_info";
33 using Base::getChecked;
34 static KeywordAttr get(::mlir::MLIRContext *context, ::llvm::StringRef value);
35 static KeywordAttr getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::llvm::StringRef value);
36 static ::llvm::LogicalResult verify(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::StringRef value);
37 static ::llvm::LogicalResult verifyInvariants(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::StringRef value);
38 static constexpr ::llvm::StringLiteral getMnemonic() {
39 return {"keyword"};
40 }
41
42 static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
43 void print(::mlir::AsmPrinter &odsPrinter) const;
44 ::llvm::StringRef getValue() const;
45};
46namespace detail {
47
48struct SymbolAttrStorage;
49
50} // namespace detail
51class SymbolAttr : public ::mlir::Attribute::AttrBase<SymbolAttr, ::mlir::Attribute, detail::SymbolAttrStorage> {
52public:
53 using Base::Base;
54 static constexpr ::llvm::StringLiteral name = "smt_info.symbol";
55 static constexpr ::llvm::StringLiteral dialectName = "smt_info";
56 using Base::getChecked;
57 static SymbolAttr get(::mlir::MLIRContext *context, ::llvm::StringRef value);
58 static SymbolAttr getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::llvm::StringRef value);
59 static ::llvm::LogicalResult verify(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::StringRef value);
60 static ::llvm::LogicalResult verifyInvariants(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::StringRef value);
61 static constexpr ::llvm::StringLiteral getMnemonic() {
62 return {"symbol"};
63 }
64
65 static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
66 void print(::mlir::AsmPrinter &odsPrinter) const;
67 ::llvm::StringRef getValue() const;
68};
69
70} // namespace llzk::smt_info
71MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::smt_info::KeywordAttr)
72MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::smt_info::SymbolAttr)
73
74#endif // GET_ATTRDEF_CLASSES
75