后支配树:在编译器与程序分析中,用来表示控制流图(CFG)里“后支配(postdominate)”关系的树形结构。若从某个结点出发到退出结点的所有路径都必须经过结点 B,则称 B 后支配 A;把这种关系组织成树,就得到 postdominator tree(常用于控制依赖、程序切片、异常/退出路径分析等)。(该术语也常见于“后支配者树/后统治树”的译法)
/ˌpoʊstˈdɑːmɪneɪtər triː/
A postdominator tree helps identify which blocks must execute before a function can exit.
后支配树有助于识别在函数退出之前哪些代码块是必经执行的。
In control-dependence analysis, we often compute the postdominator tree from the control-flow graph to determine which branches govern a statement’s execution.
在控制依赖分析中,我们常从控制流图计算后支配树,以判断哪些分支决定某条语句是否会被执行。
post- 表示“在……之后”,dominator 来自 dominate(支配、统治),在图论/编译器语境中引申为“路径上的必经结点”。与 dominator tree(支配树) 相对:支配关系以“从入口出发到某点”的所有路径为准;后支配则以“从某点到退出”的所有路径为准,因此称 postdominator。