LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
Attrs.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 {
18namespace felt {
19class FeltConstAttr;
20namespace detail {
21struct FeltConstAttrStorage;
22} // namespace detail
23class FeltConstAttr : public ::mlir::Attribute::AttrBase<FeltConstAttr, ::mlir::Attribute, detail::FeltConstAttrStorage, ::mlir::TypedAttr::Trait> {
24public:
25 using Base::Base;
26 ::mlir::Type getType() const;
27 static constexpr ::llvm::StringLiteral name = "felt.felt.const";
28 static FeltConstAttr get(::mlir::MLIRContext *context, ::llvm::APInt value);
29 static constexpr ::llvm::StringLiteral getMnemonic() {
30 return {"felt.const"};
31 }
32
33 static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType);
34 void print(::mlir::AsmPrinter &odsPrinter) const;
35 ::llvm::APInt getValue() const;
36};
37} // namespace felt
38} // namespace llzk
39MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::felt::FeltConstAttr)
40
41#endif // GET_ATTRDEF_CLASSES
42