-
Notifications
You must be signed in to change notification settings - Fork 1.8k
C++: reuse unaliased SSA results when computing aliased SSA #5522
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 all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
d95ef89
C++: add test for IR alias analysis soundness
rdmarsh2 a9d7990
C++: make unaliased_ssa IR stage sound
rdmarsh2 deff5c3
C++: Reuse SSA from earlier stages
rdmarsh2 8bc7e59
autoformat and sync C++ files
rdmarsh2 1c72ea9
C++: accept phi node reorderings in IR tests
rdmarsh2 f9e0ba1
C++: remove points-to expectations for reused SSA
rdmarsh2 86b1d03
C++: accept test regressions
rdmarsh2 922cf64
C++/C#: Add `combineOverlap()` predicate
7930c4a
C++: tests for phi nodes after unreachable blocks
rdmarsh2 6600436
C++: handle degenerate phi nodes
rdmarsh2 195b811
C++: handle phi operands from unreachable blocks
rdmarsh2 1f69b31
C++: test changes in annotate_sinks_only
rdmarsh2 5d7d26b
C++: fixups and file sync for SSA sharing
rdmarsh2 b281102
C#: sync IR files and update for C++ SSA reuse
rdmarsh2 230f4bc
C++: accept test changes from IR sharing
rdmarsh2 5406783
C++: autoformat
rdmarsh2 35594ea
C++: fix bad join order in phi node sharing
rdmarsh2 5318aa8
C++: autoformat
rdmarsh2 b3e598c
C++/C#: fix another join order in SSA construction
rdmarsh2 9ac55af
C++: One more join order fix
rdmarsh2 e590a7b
C++: Handle alias models for `this`/qualifiers
rdmarsh2 db85a21
C++: fix alias model for smart pointer setters
rdmarsh2 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be more aesthetically pleasing to add a
int getIndex() { none() }
predicate toArgumentOperand
and implement it asresult = -1
forThisArgumentOperand
?