Incremental computation of dominator trees

  • Authors:
  • Vugranam C. Sreedhar;Guang R. Gao;Yong-fong Lee

  • Affiliations:
  • ACAPS Laboratory, School of Computer Science, McGill University, CANADA;ACAPS Laboratory, School of Computer Science, McGill University, CANADA;Application Development Technology Institute, IBM Software Solutions Division, San Jose, California

  • Venue:
  • IR '95 Papers from the 1995 ACM SIGPLAN workshop on Intermediate representations
  • Year:
  • 1995

Quantified Score

Hi-index 0.00

Visualization

Abstract

Data flow analysis based on an incremental approach may require that the dominator tree be correctly maintained at all times. Previous solutions to the problem of incrementally maintaining dominator trees were restricted to reducible flowgraphs. In this paper we present a new algorithm for incrementally maintaining the dominator tree of an arbitrary flowgraph, either reducible or irreducible, based on a program representation called the DJ-graph. For the case where an edge is inserted, our algorithm is also faster than previous approaches (in the worst case). For the deletion case, our algorithm is likely to run fast on the average cases.