-
Notifications
You must be signed in to change notification settings - Fork 406
feat(brillig): SSA globals code gen #7021
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
Merged
Merged
Changes from 48 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
c7d8009
cleanup global generation with GlobalsBuilder
vezenovm 4b19a7b
all tests paassing
vezenovm c8e08d3
cargo fmt
vezenovm 8a24746
fmt and clippy
vezenovm e3358e3
some comments for context
vezenovm c3948fe
nargo fmt
vezenovm 328004e
merge master and conflicts w/ printer
vezenovm 40c50fc
remove type from Value::Global and cleanup
vezenovm 7744179
bring back global type
vezenovm 68ddd14
Update compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs
vezenovm 6823019
only print globals when printing ssa if globals exist
vezenovm 73ceea5
Merge remote-tracking branch 'origin/mv/ssa-globals-1' into mv/ssa-gl…
vezenovm cbe377e
make an eval method
vezenovm 2d750fb
Update compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs
vezenovm faeb30f
Update compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs
vezenovm 2322cb6
Update test_programs/execution_success/global_var_regression_simple/s…
vezenovm 08a2aba
Merge branch 'master' into mv/ssa-globals-1
vezenovm fa6d9cf
cargo mft
vezenovm 200964f
Merge branch 'master' into mv/ssa-globals-1
vezenovm 5bbe0c9
working brillig implementation of globals
vezenovm f98c713
merge conflicts w/ master
vezenovm 2bff6eb
Merge branch 'mv/ssa-globals-1' into mv/ssa-globals-brillig-gen
vezenovm ad19fc3
Merge branch 'master' into mv/ssa-globals-1
vezenovm bb5a9ea
Update compiler/noirc_frontend/src/hir/comptime/value.rs
vezenovm fa0122d
make separate BrilligsGlobal struct
vezenovm 74a7358
do ot duplicate codegen
vezenovm df5eef0
Merge branch 'master' into mv/ssa-globals-1
vezenovm eaacac8
merge conflcits w/ mv/ssa-globals-1
vezenovm 91c0c35
some fixes and fmt after merge
vezenovm 94683e6
re-use codegen methods for BrilligBlock
vezenovm 584cc92
Merge branch 'master' into mv/ssa-globals-1
vezenovm f5c5f25
cleanup and put brillig globals code gen into separate method
vezenovm 8809385
remove pub(crate) on registers field from debugging
vezenovm 713fc80
Merge branch 'mv/ssa-globals-1' into mv/ssa-globals-brillig-gen
vezenovm 8ff2934
switch to Function from DataFlowGraph to represent globals
vezenovm 00a9759
fixes post merge where globals are represented as a Function rather t…
vezenovm 4c390c7
fmt and clippy
vezenovm c19adb0
Merge remote-tracking branch 'origin/mv/ssa-globals-brillig-gen' into…
vezenovm 9f83dd7
merge conflicts w/ master
vezenovm fb276b8
merge conflicts w/ master
vezenovm 5b9a667
fixes with globals now part of the funciton dfg
vezenovm da71014
various unit test fixes
vezenovm 22cc651
Merge branch 'master' into mv/ssa-globals-brillig-gen
vezenovm 6a1006b
bump max global space and check for global instruction in die
vezenovm 9e39938
Merge remote-tracking branch 'origin/mv/ssa-globals-brillig-gen' into…
vezenovm 06693f4
Update compiler/noirc_evaluator/src/ssa/parser/into_ssa.rs
vezenovm 3ebb4a8
Update tooling/nargo/src/errors.rs
vezenovm fe7f8b6
feat(ssa): Globals DIE (#7081)
vezenovm b21bb69
remove unnecessary lifetime and update map
vezenovm f7b7348
Merge branch 'master' into mv/ssa-globals-brillig-gen
vezenovm f934a94
merge conflicts w/ master
vezenovm 66bf286
use DoubleEndedIterator
vezenovm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.