LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
Wtns.h
Go to the documentation of this file.
1//===-- Wtns.h - snarkjs-compatible witness output --------------*- C++ -*-===//
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#pragma once
11
12#include "llzk/Util/Field.h"
13
14#include <mlir/IR/BuiltinOps.h>
15
16#include <llvm/Support/Error.h>
17#include <llvm/Support/JSON.h>
18
19namespace llzk::witgen {
20
24llvm::Error writeWtns(
25 mlir::ModuleOp moduleOp, const llvm::json::Value &fullWitness, const Field &field,
26 llvm::StringRef outputFilename
27);
28
29} // namespace llzk::witgen
Information about the prime finite field used for the interval analysis.
Definition Field.h:36
llvm::Error writeWtns(ModuleOp moduleOp, const llvm::json::Value &fullWitness, const Field &field, StringRef outputFilename)
Definition Wtns.cpp:222