LLZK 2.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
SMTDialect.h.inc
Go to the documentation of this file.
1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* Dialect Declarations *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* From: SMTDialect.td *|
7|* *|
8\*===----------------------------------------------------------------------===*/
9
10namespace llzk {
11namespace smt {
12
13class SMTDialect : public ::mlir::Dialect {
14 explicit SMTDialect(::mlir::MLIRContext *context);
15
16 void initialize();
17 friend class ::mlir::MLIRContext;
18public:
19 ~SMTDialect() override;
20 static constexpr ::llvm::StringLiteral getDialectNamespace() {
21 return ::llvm::StringLiteral("smt");
22 }
23
25 ::mlir::Attribute parseAttribute(::mlir::DialectAsmParser &parser,
26 ::mlir::Type type) const override;
27
29 void printAttribute(::mlir::Attribute attr,
30 ::mlir::DialectAsmPrinter &os) const override;
31
33 ::mlir::Type parseType(::mlir::DialectAsmParser &parser) const override;
34
36 void printType(::mlir::Type type,
37 ::mlir::DialectAsmPrinter &os) const override;
38
41 ::mlir::Operation *materializeConstant(::mlir::OpBuilder &builder,
42 ::mlir::Attribute value,
43 ::mlir::Type type,
44 ::mlir::Location loc) override;
45
46 void registerAttributes();
47 void registerTypes();
48 };
49} // namespace smt
50} // namespace llzk
51MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::smt::SMTDialect)
static constexpr ::llvm::StringLiteral getDialectNamespace()
friend class ::mlir::MLIRContext
::mlir::Operation * materializeConstant(::mlir::OpBuilder &builder, ::mlir::Attribute value, ::mlir::Type type, ::mlir::Location loc) override
Materialize a single constant operation from a given attribute value with the desired resultant type.
::mlir::Type parseType(::mlir::DialectAsmParser &parser) const override
Parse a type registered to this dialect.
void printType(::mlir::Type type, ::mlir::DialectAsmPrinter &os) const override
Print a type registered to this dialect.
::mlir::Attribute parseAttribute(::mlir::DialectAsmParser &parser, ::mlir::Type type) const override
Parse an attribute registered to this dialect.
void printAttribute(::mlir::Attribute attr, ::mlir::DialectAsmPrinter &os) const override
Print an attribute registered to this dialect.