|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Basic structure for storing gate data in a builder. More...
#include <execution_trace_block.hpp>
Public Types | |
| using | SelectorType = Selector< FF > |
| using | WireType = std::vector< uint32_t > |
| using | Wires = std::array< WireType, NUM_WIRES > |
Public Member Functions | |
| ExecutionTraceBlock ()=default | |
| ExecutionTraceBlock (const ExecutionTraceBlock &)=default | |
| ExecutionTraceBlock & | operator= (const ExecutionTraceBlock &)=default |
| ExecutionTraceBlock (ExecutionTraceBlock &&) noexcept=default | |
| ExecutionTraceBlock & | operator= (ExecutionTraceBlock &&) noexcept=default |
| virtual | ~ExecutionTraceBlock ()=default |
| void | tracy_gate () |
| uint32_t | trace_offset () const |
| bool | operator== (const ExecutionTraceBlock &other) const =default |
| size_t | size () const |
| virtual RefVector< Selector< FF > > | get_selectors ()=0 |
| void | free_data () |
| Release wire and selector memory. Caches block size so size() still works. | |
| void | populate_wires (const uint32_t &idx_1, const uint32_t &idx_2, const uint32_t &idx_3, const uint32_t &idx_4) |
| auto & | w_l () |
| auto & | w_r () |
| auto & | w_o () |
| auto & | w_4 () |
| Selector< FF > & | q_m () |
| Selector< FF > & | q_c () |
| Selector< FF > & | q_1 () |
| Selector< FF > & | q_2 () |
| Selector< FF > & | q_3 () |
| Selector< FF > & | q_4 () |
Public Attributes | |
| Wires | wires |
| size_t | cached_size_ = 0 |
| bool | data_freed_ = false |
| uint32_t | trace_offset_ = std::numeric_limits<uint32_t>::max() |
Static Public Attributes | |
| static constexpr size_t | NUM_WIRES = NUM_WIRES_ |
Protected Attributes | |
| std::array< SlabVectorSelector< FF >, 6 > | non_gate_selectors |
Basic structure for storing gate data in a builder.
| FF | |
| NUM_WIRES |
Definition at line 212 of file execution_trace_block.hpp.
| using bb::ExecutionTraceBlock< FF, NUM_WIRES_ >::SelectorType = Selector<FF> |
Definition at line 216 of file execution_trace_block.hpp.
| using bb::ExecutionTraceBlock< FF, NUM_WIRES_ >::Wires = std::array<WireType, NUM_WIRES> |
Definition at line 218 of file execution_trace_block.hpp.
| using bb::ExecutionTraceBlock< FF, NUM_WIRES_ >::WireType = std::vector<uint32_t> |
Definition at line 217 of file execution_trace_block.hpp.
|
default |
|
default |
|
defaultnoexcept |
|
virtualdefault |
|
inline |
Release wire and selector memory. Caches block size so size() still works.
Called after trace data has been copied to prover polynomials.
Definition at line 279 of file execution_trace_block.hpp.
|
pure virtual |
Implemented in bb::MegaTraceBlock, and bb::UltraTraceBlock.
|
default |
|
defaultnoexcept |
|
default |
|
inline |
Definition at line 292 of file execution_trace_block.hpp.
|
inline |
Definition at line 311 of file execution_trace_block.hpp.
|
inline |
Definition at line 312 of file execution_trace_block.hpp.
|
inline |
Definition at line 313 of file execution_trace_block.hpp.
|
inline |
Definition at line 314 of file execution_trace_block.hpp.
|
inline |
Definition at line 310 of file execution_trace_block.hpp.
|
inline |
Definition at line 309 of file execution_trace_block.hpp.
|
inline |
Definition at line 258 of file execution_trace_block.hpp.
|
inline |
Definition at line 250 of file execution_trace_block.hpp.
|
inline |
Definition at line 235 of file execution_trace_block.hpp.
|
inline |
Definition at line 307 of file execution_trace_block.hpp.
|
inline |
Definition at line 304 of file execution_trace_block.hpp.
|
inline |
Definition at line 306 of file execution_trace_block.hpp.
|
inline |
Definition at line 305 of file execution_trace_block.hpp.
| size_t bb::ExecutionTraceBlock< FF, NUM_WIRES_ >::cached_size_ = 0 |
Definition at line 246 of file execution_trace_block.hpp.
| bool bb::ExecutionTraceBlock< FF, NUM_WIRES_ >::data_freed_ = false |
Definition at line 247 of file execution_trace_block.hpp.
|
protected |
Definition at line 317 of file execution_trace_block.hpp.
|
staticconstexpr |
Definition at line 214 of file execution_trace_block.hpp.
| uint32_t bb::ExecutionTraceBlock< FF, NUM_WIRES_ >::trace_offset_ = std::numeric_limits<uint32_t>::max() |
Definition at line 248 of file execution_trace_block.hpp.
| Wires bb::ExecutionTraceBlock< FF, NUM_WIRES_ >::wires |
Definition at line 245 of file execution_trace_block.hpp.