ACM Home Page
Please provide us with feedback. Feedback
A new, simpler linear-time dominators algorithm
Full text PdfPdf (726 KB)
Source ACM Transactions on Programming Languages and Systems (TOPLAS) archive
Volume 20 ,  Issue 6  (November 1998) table of contents
Pages: 1265 - 1296  
Year of Publication: 1998
ISSN:0164-0925
Authors
Adam L. Buchsbaum  AT&T Labs, Florham Park, NJ
Haim Kaplan  AT&T Labs, Florham Park, NJ
Anne Rogers  AT&T Labs, Florham Park, NJ
Jeffery R. Westbrook  AT&T Labs, Florham Park, NJ
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 6,   Downloads (12 Months): 67,   Citation Count: 12
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/295656.295663
What is a DOI?

ABSTRACT

We present a new linear-time algorithm to find the immediate dominators of all vertices in a flowgraph. Our algorithm is simpler than previous linear-time algorithms: rather than employ complicated data structures, we combine the use of microtrees and memoization with new observations on a restricted class of path compressions. We have implemented our algorithm, and we report experimental results that show that the constant factors are low. Compared to the standard, slightly superlinear algorithm of Lengauer and Tarjan, which has much less overhead, our algorithm runs 10-20% slower on real flowgraphs of reasonable size and only a few percent slower on very large flowgraphs.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
 
3
ALSTRUP, S., HAREL, D., LAURIDSEN, P. W., AND THORUP, M. 1997. Dominators in linear time. Manuscript available at ftp ://ftp. diku. dk/pub/diku/users/stephen/dom, ps.
 
4
AMARASINGHE, S. P., ANDERSON, J. M., LAM, M. S., AND TSENG, C. W. 1995. The SUIF compiler for scalable parallel machines. In Proceedings of the 7th SIAM Conference on Parallel Processing for Scientific Computing. SIAM, Philadelphia, Pa.
 
5
6
 
7
 
8
9
 
10
DIXON, B. AND TARJAN, R. E. 1997. Optimal parallel verification of minimum spanning trees in logarithmic time. Algorithmiea 17, 11-8.
11
 
12
 
13
GABOW, H. N. AND TARJAN, R. E. 1985. A linear-time algorithm for a special case of disjoint set union. J. Comput. Syst. Sei. 30, 2, 209-21.
14
 
15
HOLLOWAY, G. AND YOUNG, C. 1997. The flow analysis and transformation libraries of Machine SUIF. In Proceedings of the 2rid SUIF Compiler Workshop. Stanford University, Stanford, Calif.
16
 
17
18
 
19
 
20
PEREIRA, F. AND RILEY, M. 1997. Speech recognition by composition of weighted finite automata. In Finite-State Language Processing. MIT Press, Cambridge, Mass.
 
21
22
23
 
24
SPEC. 1995. The SPEC95 Benchmark Suite. The Standard Performance Evaluation Corp., Manassas, Va. http ://www. specbench, org.
 
25
TARJAN, R. E. 1972. Depth-first search and linear graph algorithms. SIAM J. Comput. 1, 2, 146-59.
 
26
TARJAN, R. E. 1974. Finding dominators in directed graphs. SIAM J. Comput. 3, 1, 62-89.
27
 
28
TARJAN, R. E. 1979b. A class of algorithms which require nonlinear time to maintain disjoint sets. J. Comput. Syst. Sci. 18, 2, 110-27.
29

CITED BY  12

Collaborative Colleagues:
Adam L. Buchsbaum: colleagues
Haim Kaplan: colleagues
Anne Rogers: colleagues
Jeffery R. Westbrook: colleagues