summaryrefslogtreecommitdiff
path: root/src/analysis/reaching-definitions-transfer-function.h
Commit message (Collapse)AuthorAgeFilesLines
* [NFC] Refactor LocalGraph's core getSets API (#6877)Alon Zakai2024-08-281-5/+5
| | | | | | | | | | | | | | Before we just had a map that people would access with localGraph.getSetses[get], while now it is a call localGraph.getSets(get), which more nicely hides the internal implementation details. Also rename getSetses => getSetsMap. This will allow a later PR to optimize the internals of this API. This is performance-neutral as far as I can measure. (We do replace a direct read from a data structure with a call, but the call is in a header and should always get inlined.)
* Add missing includes (#6049)Thomas Lively2023-10-251-0/+2
| | | | These missing includes were not a problem in our standard build configuration, but were breaking other build configurations.
* Remove incorrect usages of the term "setses" (#5841)Bruce He2023-07-261-20/+20
| | | This change applies to the Reaching Definitions Analysis.
* Reaching Definitions Analysis for LocalGraph (#5817)Bruce He2023-07-191-0/+178
This change implements a reaching definitions analysis which is intended to be equivalent to the information provided by LocalGraph, specifically the Flower class of LocalGraph. It also introduces a CRTP utility in visitor-transfer-function.h which implements most commonly found visitor-type transfer function functionalities. The MonotoneCFGAnalyzer is also modified to add a phase to collect results after the analysis is solved from the final CFG states.