-
Notifications
You must be signed in to change notification settings - Fork 9
Generalize interpreter traversal over CFG, Block, DiGraph, and UnGraph bodies #684
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
Draft
Draft
Changes from 7 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f800609
refactor: rename regions to cfgs and update related tests
zhenrongliew aed4c23
Refactor terminology from Region to Cfg across the codebase
zhenrongliew 1268950
Add acceptance tests for mixed language interpreter bodies
zhenrongliew 0a27ea6
Refactor interpreter frame structure and update toy language integration
zhenrongliew 162f06c
Merge branch 'rust' into dl/generalize-body
Roger-luo 969914e
refactor: simplify liveness analysis by removing demand pre-pass
zhenrongliew 31bd511
Fixed SSAInfo.uses def-use population at finalize. (#687)
zhenrongliew e0b99cc
refactor: generalize body handling and update topology queries
zhenrongliew 8bc66df
Refactored the DenseBackwardInterp trait to use point_state and point…
zhenrongliew e6410e4
refactor: introduce AbstractDiGraphFrame for dependency-ordered graph…
zhenrongliew 2a9e7d6
refactor: enhance body handling and interprocedural analysis in tests
zhenrongliew e4d50b2
refactor: update frame handling methods for clarity and consistency
zhenrongliew 2b12a2b
refactored topology queries already answered in IR
zhenrongliew d1801fa
Add call body traversal policy and tests
zhenrongliew 6ec0a31
Decoupled the monolithic trait `ForwardFrameDriver` into smaller trai…
zhenrongliew a61fb14
Refactor block and graph ownership semantics in IR
zhenrongliew 3979057
Refactor liveness to store both block and statement liveness facts.
zhenrongliew d423569
Refactor dense backward engine to use scoped fact stores and improve …
zhenrongliew 5d01225
Refactor block predecessor handling to use SmallVec for improved memo…
zhenrongliew 27e901f
Changed to use SmallVec. Liveness Analysis now uses block cursor: Las…
zhenrongliew f6439fc
Refactor CallContext trait to accept FunctionTarget instead of indivi…
zhenrongliew 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.