Constant propagation is the forward analysis whose fact at each point maps each temporary to , a constant , or , joined pointwise in the lattice of the figure above; the parameters are at the entry. Its transformation replaces a use of a temporary by where the fact says , computes at compile time an operation whose operands are constants (constant folding), and replaces a branch whose outcome is then known by a jump or by nothing.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Constant propagation?
又称: constant folding