1981 · 210 citations · 12 references
ComputingComputer ScienceAlgorithmsCompilersProgramming LanguagesAlgorithm AnalysisControl-flow AnalysisData-flow AnalysisAliasingControl Flow Graph AnalysisData Flow PatternsDataflow GraphsInterprocedural Data-flow AnalysisInterprocedural Dataflow Analysis
Data flow analysis is well understood intra‑procedurally, but inter‑procedural features such as recursion, nesting, and aliasing make the problems substantially harder. The avail, live, and must‑summary data flow problems become NP‑complete with aliasing, yet the authors present an O(SET·EDGE) algorithm that is practical because SET is typically small, on the order of the program’s variable count.
Data flow analysis is well understood at the intra-procedural level and efficient algorithms are available. When inter-procedural mechanisms such as recursion, procedure nesting, and pass-by-reference aliasing are introduced, the data flow problems become much more difficult. The avail, live, and must-summary data flow problems are shown to be NP-complete in the presence of aliasing. However, an algorithm is presented with O(SET*EDGE) time performance where EDGE is the size of the program's flow graph and SET is a possible exponential number which reflects the number of aliasing patterns of the program. It is argued that in practice SET is small and on the order of the number of variables of the program.
12
The complexity of theorem-proving procedures
Stephen Cook · 1971 · 6.2K citations · Full text
A unified approach to global program optimization
Gary A. Kildall · 1973 · 901 citations
A program data flow analysis procedure
Frances Allen, John Cocke · Communications of the ACM · 1976 · 410 citations · Full text
Global Data Flow Analysis and Iterative Algorithms
John B. Kam, Jeffrey D. Ullman · Journal of the ACM · 1976 · 303 citations · Full text