|
LLZK 2.1.1
An open-source IR for Zero Knowledge (ZK) circuits
|
Execute one flattened LLZK function body over runtime values. More...
#include <Interpreter.h>
Public Member Functions | |
| FunctionInterpreter (mlir::ModuleOp moduleOp, mlir::SymbolTableCollection &tables, const llzk::Field &field, UninitializedBehavior uninitializedBehavior, std::mt19937_64 rng) | |
| Build an interpreter for one module and field configuration. | |
| llvm::Expected< llvm::SmallVector< WitnessVal > > | run (llzk::function::FuncDefOp funcOp, mlir::ArrayRef< WitnessVal > args) |
| Run a function with concrete arguments and return its result values. | |
Execute one flattened LLZK function body over runtime values.
Definition at line 25 of file Interpreter.h.
| llzk::witgen::FunctionInterpreter::FunctionInterpreter | ( | mlir::ModuleOp | moduleOp, |
| mlir::SymbolTableCollection & | tables, | ||
| const llzk::Field & | field, | ||
| UninitializedBehavior | uninitializedBehavior, | ||
| std::mt19937_64 | rng ) |
Build an interpreter for one module and field configuration.
Build an interpreter for a specific module and field.
Definition at line 77 of file Interpreter.cpp.
| llvm::Expected< llvm::SmallVector< WitnessVal > > llzk::witgen::FunctionInterpreter::run | ( | llzk::function::FuncDefOp | funcOp, |
| mlir::ArrayRef< WitnessVal > | args ) |
Run a function with concrete arguments and return its result values.
Execute a function body with concrete runtime values.
Definition at line 1173 of file Interpreter.cpp.