Depth-first Search Pre-order traveral In-order traversal Post-order traversal
- dominators to discover the loops(nodes)
- interval Analysis(Structural Analysis) ==> 分析 one entry point ==> 这里构建相关的结构信息
extended basic blocks basic blocks Node traversal and search
- breadth-first
- depth-first
- Dominators And PostDominators
iterative refinement semantics-preservation
back-edge(dominator)
for optimization for recovering abstractions
Loops are defined through domination. An edge (s,d) is a back edge iff d dom s. Each back edge (s,d) defines a natural loop, whose header is d. The natural loop of a back edge (s,d) is the union of d and the set of nodes that can reach s without going through d
- CFG Recovery
- Type Recovery
- Control-flow Structure Recovery
- Statement Translation
- Virtualize Edge
- Tail Regions
- Edge Virtualization