English

Global Value Numbering: A Precise and Efficient Algorithm

Programming Languages 2015-04-14 v1

Abstract

Global Value Numbering (GVN) is an important static analysis to detect equivalent expressions in a program. We present an iterative data-flow analysis GVN algorithm in SSA for the purpose of detecting total redundancies. The central challenge is defining a join operation to detect equivalences at a join point in polynomial time such that later occurrences of redundant expressions could be detected. For this purpose, we introduce the novel concept of value ϕ\phi-function. We claim the algorithm is precise and takes only polynomial time.

Keywords

Cite

@article{arxiv.1504.03239,
  title  = {Global Value Numbering: A Precise and Efficient Algorithm},
  author = {Rekha R Pai},
  journal= {arXiv preprint arXiv:1504.03239},
  year   = {2015}
}

Comments

6 pages, 3 figures, an extended version to be submitted to journal

R2 v1 2026-06-22T09:15:12.219Z