Incremental computation of dominator trees
In this article, we present a new algorithm for incrementally maintaining the dominator tree of an arbitrary flowgraph. Previous work most relevant to this article includes only the Carroll-Ryder algorithm and the Ramalingam-Reps algorithm. Both these methods are restricted to reducible flowgraphs....
Gespeichert in:
Veröffentlicht in: | ACM transactions on programming languages and systems 1997-03, Vol.19 (2), p.239-252 |
---|---|
Hauptverfasser: | , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | In this article, we present a new algorithm for incrementally maintaining the dominator tree of an arbitrary flowgraph. Previous work most relevant to this article includes only the Carroll-Ryder algorithm and the Ramalingam-Reps algorithm. Both these methods are restricted to reducible flowgraphs. By contrast, our approach can handle irreducible as well as reducible flowgraphs. For the case where an edge is inserted, our incremental algorithm is also faster than previous incremental algorithms in the worst case. For the deletion case, our algorithm has a quadratic time complexity in the worst case. |
---|---|
ISSN: | 0164-0925 1558-4593 |
DOI: | 10.1145/244795.244799 |