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 = SlabVector< 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 |
void | reserve (size_t size_hint) |
uint32_t | get_fixed_size (bool is_structured=true) const |
virtual RefVector< Selector< FF > > | get_selectors ()=0 |
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 |
uint32_t | trace_offset_ = std::numeric_limits<uint32_t>::max() |
uint32_t | fixed_size = 0 |
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 223 of file execution_trace_block.hpp.
using bb::ExecutionTraceBlock< FF, NUM_WIRES_ >::SelectorType = Selector<FF> |
Definition at line 227 of file execution_trace_block.hpp.
using bb::ExecutionTraceBlock< FF, NUM_WIRES_ >::Wires = std::array<WireType, NUM_WIRES> |
Definition at line 229 of file execution_trace_block.hpp.
using bb::ExecutionTraceBlock< FF, NUM_WIRES_ >::WireType = SlabVector<uint32_t> |
Definition at line 228 of file execution_trace_block.hpp.
|
default |
|
default |
|
defaultnoexcept |
|
virtualdefault |
|
inline |
Definition at line 282 of file execution_trace_block.hpp.
|
pure virtual |
Implemented in bb::MegaTraceBlock, and bb::UltraTraceBlock.
|
default |
|
defaultnoexcept |
|
default |
|
inline |
Definition at line 303 of file execution_trace_block.hpp.
|
inline |
Definition at line 322 of file execution_trace_block.hpp.
|
inline |
Definition at line 323 of file execution_trace_block.hpp.
|
inline |
Definition at line 324 of file execution_trace_block.hpp.
|
inline |
Definition at line 325 of file execution_trace_block.hpp.
|
inline |
Definition at line 321 of file execution_trace_block.hpp.
|
inline |
Definition at line 320 of file execution_trace_block.hpp.
|
inline |
Definition at line 269 of file execution_trace_block.hpp.
|
inline |
Definition at line 267 of file execution_trace_block.hpp.
|
inline |
Definition at line 259 of file execution_trace_block.hpp.
|
inline |
Definition at line 246 of file execution_trace_block.hpp.
|
inline |
Definition at line 318 of file execution_trace_block.hpp.
|
inline |
Definition at line 315 of file execution_trace_block.hpp.
|
inline |
Definition at line 317 of file execution_trace_block.hpp.
|
inline |
Definition at line 316 of file execution_trace_block.hpp.
uint32_t bb::ExecutionTraceBlock< FF, NUM_WIRES_ >::fixed_size = 0 |
Definition at line 299 of file execution_trace_block.hpp.
|
protected |
Definition at line 328 of file execution_trace_block.hpp.
|
staticconstexpr |
Definition at line 225 of file execution_trace_block.hpp.
uint32_t bb::ExecutionTraceBlock< FF, NUM_WIRES_ >::trace_offset_ = std::numeric_limits<uint32_t>::max() |
Definition at line 257 of file execution_trace_block.hpp.
Wires bb::ExecutionTraceBlock< FF, NUM_WIRES_ >::wires |
Definition at line 256 of file execution_trace_block.hpp.