Skip to content

Commit

Permalink
chore(avm): codegen improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
fcarreiro committed Jul 31, 2024
1 parent 30f9b7b commit 5c8c89d
Show file tree
Hide file tree
Showing 108 changed files with 2,062 additions and 2,249 deletions.
2 changes: 1 addition & 1 deletion barretenberg/cpp/src/barretenberg/bb/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef DISABLE_AZTEC_VM
#include "barretenberg/vm/avm_trace/avm_common.hpp"
#include "barretenberg/vm/avm_trace/avm_execution.hpp"
#include "barretenberg/vm/avm_trace/stats.hpp"
#include "barretenberg/vm/stats.hpp"
#endif
#include "config.hpp"
#include "get_bn254_crs.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generated/avm/declare_views.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generated/avm/declare_views.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generated/avm/declare_views.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generated/avm/declare_views.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generated/avm/declare_views.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generated/avm/declare_views.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generated/avm/declare_views.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generated/avm/declare_views.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generated/avm/declare_views.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generated/avm/declare_views.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_permutation/generic_permutation_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generated/avm/declare_views.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generated/avm/declare_views.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generic_lookup/generic_lookup_relation.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTOGENERATED FILE
#pragma once

#include "barretenberg/relations/generated/avm/declare_views.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
#include "barretenberg/vm/avm_trace/avm_trace.hpp"
#include "barretenberg/vm/avm_trace/aztec_constants.hpp"
#include "barretenberg/vm/avm_trace/constants.hpp"
#include "barretenberg/vm/avm_trace/stats.hpp"
#include "barretenberg/vm/generated/avm_circuit_builder.hpp"
#include "barretenberg/vm/generated/avm_composer.hpp"
#include "barretenberg/vm/generated/avm_flavor.hpp"
#include "barretenberg/vm/generated/avm_verifier.hpp"
#include "barretenberg/vm/stats.hpp"

#include <cassert>
#include <cstddef>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "barretenberg/vm/avm_trace/fixed_gas.hpp"
#include "barretenberg/vm/avm_trace/fixed_powers.hpp"
#include "barretenberg/vm/avm_trace/gadgets/avm_slice_trace.hpp"
#include "barretenberg/vm/avm_trace/stats.hpp"
#include "barretenberg/vm/stats.hpp"

namespace bb::avm_trace {

Expand Down
Loading

0 comments on commit 5c8c89d

Please sign in to comment.