LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
SMTInfoAttributes.td
Go to the documentation of this file.
1//===-- SMTInfoAttributes.td - Attributes for SMT metadata -*- tablegen -*-===//
2//
3// Part of the LLZK Project, under the Apache License v2.0.
4// See LICENSE.txt for license information.
5// Copyright 2026 Project LLZK
6// SPDX-License-Identifier: Apache-2.0
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef LLZK_DIALECT_SMTINFO_IR_SMTINFOATTRIBUTES_TD
11#define LLZK_DIALECT_SMTINFO_IR_SMTINFOATTRIBUTES_TD
12
13include "llzk/Dialect/SMTInfo/IR/SMTInfoDialect.td"
14include "mlir/IR/AttrTypeBase.td"
15
16def SMTInfoKeywordAttr : AttrDef<SMTInfoDialect, "Keyword"> {
17 let mnemonic = "keyword";
18 let summary = "an SMT-LIB keyword";
19 let parameters = (ins StringRefParameter<"The keyword text">:$value);
20 let hasCustomAssemblyFormat = 1;
21 let genVerifyDecl = 1;
22}
23
24def SMTInfoSymbolAttr : AttrDef<SMTInfoDialect, "Symbol"> {
25 let mnemonic = "symbol";
26 let summary = "an SMT-LIB bare symbol";
27 let parameters = (ins StringRefParameter<"The symbol text">:$value);
28 let hasCustomAssemblyFormat = 1;
29 let genVerifyDecl = 1;
30}
31
32#endif // LLZK_DIALECT_SMTINFO_IR_SMTINFOATTRIBUTES_TD