Interprocedural Dataflow Analysis via Graph Reachability
Thomas Reps, Susan Horwitz, Mooly Sagiv · 1994
The paper shows how a large class of interprocedural dataflow-analysis problems can be solved precisely in poly-nomial time by transforming them into a special kind of graph-reachability problem. The only restrictions are that the set of dataflow facts must be a finite set, and that the dataflow functions must distribute over the confluence operator (either union or intersection). This class of prob-lems includes—but is not limited to—the classical separ-able problems (also known as “gen/kill ” or “bit-vector” problems)—e.g., reaching definitions, available expres-sions, and live variables. In addition, the class of problems that our techniques handle includes many non-separable problems, including truly-live variables, copy constant pro-pagation, and possibly-uninitialized variables. Results are reported from a preliminary experimental study of C programs (for the problem of finding possibly-uninitialized variables). 1.
Cited by 13 works.
Authors
References
- Program Slicing
- A unified approach to global program optimization
- Flow Analysis of Computer Programs
- Interprocedural slicing using dependence graphs
- Global common subexpression elimination
- Two approaches to interprocedural data flow analysis
- Magic Sets and Other Strange Ways to Implement Logic Programs.
- Interprocedural constant propagation
- On the power of magic
- Pointer-induced aliasing: a problem taxonomy