LLZK
3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Toggle main menu visibility
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
19
namespace
llzk::witgen
{
20
24
llvm::Error
writeWtns
(
25
mlir::ModuleOp moduleOp,
const
llvm::json::Value &fullWitness,
const
Field
&field,
26
llvm::StringRef outputFilename
27
);
28
29
}
// namespace llzk::witgen
Field.h
llzk::Field
Information about the prime finite field used for the interval analysis.
Definition
Field.h:36
llzk::witgen
Definition
Errors.h:15
llzk::witgen::writeWtns
llvm::Error writeWtns(ModuleOp moduleOp, const llvm::json::Value &fullWitness, const Field &field, StringRef outputFilename)
Definition
Wtns.cpp:222
tools
llzk-witgen
Wtns.h
Generated by
1.17.0
Copyright 2025 Veridise Inc. under the Apache License v2.0. Copyright 2026 Project LLZK under the Apache License v2.0.