Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Dominator, dominance frontier?

Dikenal juga sebagai: dominator · dominance frontier

Definition 8.8 University Computer Science — Year 3 · Bab 8 — Program Analysis and Optimisation

A block dd dominates a block bb if every path from the entry to bb passes through dd; every block dominates itself, and dd strictly dominates bb if moreover d≠bd \ne b. The immediate dominator of b≠b \ne entry is the strict dominator of bb that every other strict dominator of bb dominates. The dominance frontier DF(x)\mathrm{DF}(x) is the set of blocks yy such that xx dominates a predecessor of yy but does not strictly dominate yy. For a set SS, DF+(S)\mathrm{DF}^{+}(S) is the limit of S1=DF(S)S_1 = \mathrm{DF}(S), Sk+1=DF(S∪Sk)S_{k+1} = \mathrm{DF}(S \cup S_k), the iterated frontier.

The dominator tree of sumsq (solid), each block below its immediate dominator, and the two non-empty frontiers (dashed). s and i are defined in B0 and B3; the iterated frontier of these blocks is B1, the loop’s header.
The dominator tree of sumsq (solid), each block below its immediate dominator, and the two non-empty frontiers (dashed). s and i are defined in B0 and B3; the iterated frontier of these blocks is B1, the loop’s header.
Baca dalam konteks →