AlgorithmsGraphsEdit on GitHubEdit history
Lengauer–Tarjan Dominator Algorithm
1979
An algorithm that computes the immediate dominator of every vertex of a flowgraph in almost linear time by using depth-first numbering and semidominators. It is used to build dominator trees in compilers.
Origin
Thomas Lengauer, Robert E. Tarjan (1979). A fast algorithm for finding dominators in a flowgraph. ACM Transactions on Programming Languages and Systems 1(1).doi:10.1145/357062.357071 — checked against Crossref, 2026-11-08
Lineage
Algorithms 5 · Relations 4
Parent algorithms
Where it came from
Depth-First Search1882
Author statementSemidominators are defined and computed from depth-first search numbers. — doi:10.1145/357062.357071
Disjoint-Set Union1964
Structural analysisThe LINK and EVAL operations of Lengauer–Tarjan use the same path-compression technique as union–find.
Derived algorithms
What it led to
Dominance-Frontier SSA Construction1989
CitationThe SSA construction of Cytron et al. takes the dominator tree as input, computed with the Lengauer–Tarjan method. — doi:10.1145/75277.75280
Notable implementations
Paths checked against the GitHub default branch
- boostorg/graph/include/boost/graph/dominator_tree.hppC++
- gcc-mirror/gcc/gcc/dominance.ccC++
- gcc-mirror/gcc/gcc/dominance.ccC++
- golang/go/src/cmd/compile/internal/ssa/dom.goGo
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…