Conversation
…p for meet, lattice bottom for join and lattice bottom for lhs of leq and lattice top for rhs of leq
…ad of LatticeTop and LatticeBottom
yhteoh
force-pushed
the
fix_maplattice
branch
from
September 17, 2026 14:00
89c1694 to
6e64077
Compare
yhteoh
force-pushed
the
fix_maplattice
branch
from
September 17, 2026 15:43
4298787 to
6e4cf8a
Compare
yhteoh
force-pushed
the
fix_maplattice
branch
2 times, most recently
from
September 17, 2026 17:01
d211b4a to
6a4525d
Compare
… specifying initial state for analyze, use abstract method merge to specify merge function instead of argument to analyze
…ciated with the root node
…nd result as the out_state for both backwards and forwards. Cleaned up dataflow interface with based on this
yhteoh
force-pushed
the
fix_maplattice
branch
from
September 18, 2026 13:53
e08905c to
1d1282e
Compare
…ngleton instances for Lattices, Added MapLattice as base class for dynamic class generation in maplattice and added caching to maplattice, changed maplattice storage of element lattice, now stored as instance instead of class
…oundary and result to in_states and out_states in DataflowAnalysis.analyze, optimize DataflowAnalysis.analyze
yhteoh
force-pushed
the
fix_maplattice
branch
from
September 19, 2026 15:29
b8b240b to
ef90335
Compare
yhteoh
force-pushed
the
fix_maplattice
branch
from
September 19, 2026 15:30
ef90335 to
3eb7204
Compare
…bels key and value.
…e labels in add_succ
yhteoh
force-pushed
the
fix_maplattice
branch
from
September 19, 2026 20:10
66a8cbf to
ef005fb
Compare
yhteoh
force-pushed
the
fix_maplattice
branch
from
September 19, 2026 21:47
913a977 to
b15bb09
Compare
yhteoh
force-pushed
the
fix_maplattice
branch
2 times, most recently
from
September 19, 2026 22:20
a5a738c to
7d8eae3
Compare
… if it were a method of DataflowAnalysis
yhteoh
force-pushed
the
fix_maplattice
branch
2 times, most recently
from
September 20, 2026 01:18
06a2507 to
15fe806
Compare
yhteoh
force-pushed
the
fix_maplattice
branch
from
September 20, 2026 01:21
15fe806 to
0dd9cf4
Compare
yhteoh
force-pushed
the
fix_maplattice
branch
from
September 20, 2026 01:38
a7b32b8 to
d50c5d3
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
fix
What is the current behavior? (You can also link to an open issue here)
LatticeBottomas default value of unassigned keyCFGafterCFGBlockAccumulatorblocks ids are not consecutiveDataflowAnalysisDataflowAnalysis.analyzetakes inmerge_function, even thoughmerge_functionis determined by the analysisCFGBlock.edge_labelsin form node id to labelBackwardDataflowAnalysisflips in_states and out_states when returningmaplatticeincorrect type hintslatticechangesmaplatticeable to determine behavior for undefined keys, one of [flexible, top, bottom, strict]maplatticeby enabling caching and implementing a base classMapLatticefor dynamically generated subclasses to inherit fromLatticeMetato manage singleton instances ofLatticedataflowchangesDataflowAnalysisDataflowAnalysisfor default initial state based on graphDataflowAnalysis.analyzeto use an initial stateDataflowAnalysisDataflowAnalysis.mergeto specify merge function to use instead of as an argument toDataflowAnalysis.analyzeBackwardDataflowAnalysisflips to return the in_states and out_states correctly`DataflowResultnow contains theDataflowAnalysisused to generate itcfgchangesCFGBlock.succsandCFGBlock.predsCFGBlock.edge_labelsto be of form label to node idCFGBlockRelabelCFGBlocksto relabel block ids such that they are consecutivemajor
maplatticeoperationsDataflowAnalysisinterface