LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
SMTInfoOps.td
Go to the documentation of this file.
1//===-- SMTInfoOps.td - Operations 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_SMTINFOOPS_TD
11#define LLZK_DIALECT_SMTINFO_IR_SMTINFOOPS_TD
12
13include "llzk/Dialect/SMTInfo/IR/SMTInfoAttributes.td"
14include "mlir/IR/OpBase.td"
15
16class SMTInfoOp<string mnemonic, list<Trait> traits = []>
17 : Op<SMTInfoDialect, mnemonic, traits>;
18
19def SMTInfoSetOp : SMTInfoOp<"set"> {
20 let summary = "attach SMT-LIB set-info metadata to a script";
21 let arguments = (ins SMTInfoKeywordAttr:$key, AnyAttr:$value);
22 let hasCustomAssemblyFormat = 1;
23 let hasVerifier = 1;
24}
25
26#endif // LLZK_DIALECT_SMTINFO_IR_SMTINFOOPS_TD