On the Sequential Nature ofInterprocedural Program-Analysis Problems

Thomas Reps

Abstract

Abstract In this paper, westudy two interprocedural program-analysis problems—interprocedural slicing and interprocedural dataflow analysis—and present the following results: • Interprocedural slicing is log-space complete forP. • The problem of obtaining “meet-over-all-valid-paths ” solutions to interprocedural dataflow analysis problems isPhard. • Obtaining “meet-over-all-valid-paths ” solutions to interprocedural gen/kill dataflow analysis problems is log-space complete forP. These results provide evidence that there do not exist fast (NC-class) parallel algorithms for interprocedural slicing and interprocedural dataflow analysis (unlessP ⊆NC). That is, it is unlikely that there are algorithms for interprocedural slicing and interprocedural dataflow analysis for which the number of processors is bounded by a polynomial in the size of the input, and whose running time is bounded by a polynomial in the logarithm of the size of the input. This suggests that there are limitations on the ability to use parallelism to overcome compiler bottlenecks due to expensive interprocedural-analysis computations. 1.
BibTeX
@article{reps1996sequential,
  author = {Thomas Reps},
  title = {{On the Sequential Nature ofInterprocedural Program-Analysis Problems}},
  journal = {Acta Informatica},
  year = {1996},
  doi = {10.1007/bf03036473},
}

Loading related content...

Figure