Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ssa refactor): Separate Brillig only logic from Brillig-SSA generation logic #1631

Merged
merged 28 commits into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
0c94eee
separate brillig only logic from logic that combines both brillig and…
kevaundray Jun 10, 2023
9b12a6e
move operations related to brillig-ssa conversion to brillig_gen
kevaundray Jun 10, 2023
1efaa84
intermediate step -- make build work by leaking the abstraction
kevaundray Jun 10, 2023
4dad872
refactor return instruction -- all of the implementation details abou…
kevaundray Jun 10, 2023
2ea78a7
fix clippy
kevaundray Jun 10, 2023
2ea7ca1
add TODO
kevaundray Jun 10, 2023
8cf6737
move `convert_integer_mod` into BrilligIr
kevaundray Jun 10, 2023
853baf2
encapsulate modulo operation in brillig_gen
kevaundray Jun 10, 2023
d57784b
process binary instruction
kevaundray Jun 10, 2023
f923c41
refactor const instruction
kevaundray Jun 10, 2023
170bcd5
make code surrounding jumps satisfy the abstraction
kevaundray Jun 10, 2023
4021e7f
move not instruction
kevaundray Jun 10, 2023
f3a7e82
add foreign call instruction
kevaundray Jun 10, 2023
47a56a3
move load and store instructions to brillig_ir
kevaundray Jun 10, 2023
bde51e3
move truncate instruction
kevaundray Jun 10, 2023
dc47158
move `mov`, `stop` and `allocate_array` methods
kevaundray Jun 10, 2023
58038a7
fix clippy
kevaundray Jun 10, 2023
df8bc75
remove push_code method in brillig_gen
kevaundray Jun 10, 2023
aa577d9
move jump and jmpif instructions to brillig_ir
kevaundray Jun 10, 2023
7770c79
clean up terminator instruction
kevaundray Jun 10, 2023
060ce73
remove allow(deprecated) lint
kevaundray Jun 10, 2023
2f4118f
refactor document for link and link_with
kevaundray Jun 10, 2023
5254d3d
use .into so we can get rid of Value import
kevaundray Jun 10, 2023
9b6886f
add docs
kevaundray Jun 11, 2023
96b6f91
Update crates/noirc_evaluator/src/brillig/brillig_ir/artifact.rs
kevaundray Jun 12, 2023
463bbff
Update crates/noirc_evaluator/src/brillig/brillig_gen.rs
kevaundray Jun 12, 2023
23828de
make code a bit clearer
kevaundray Jun 11, 2023
5ea79e6
fix clippy
kevaundray Jun 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 0 additions & 123 deletions crates/noirc_evaluator/src/brillig/artifact.rs

This file was deleted.

106 changes: 0 additions & 106 deletions crates/noirc_evaluator/src/brillig/binary.rs

This file was deleted.

Loading