• Title of article

    A polynomial-time algorithm for global value numbering

  • Author/Authors

    Sumit Gulwani، نويسنده , , George C. Necula، نويسنده ,

  • Issue Information
    دوهفته نامه با شماره پیاپی سال 2007
  • Pages
    18
  • From page
    97
  • To page
    114
  • Abstract
    We describe a polynomial-time algorithm for global value numbering, which is the problem of discovering equivalences among program sub-expressions. We treat all conditionals as non-deterministic and all program operators as uninterpreted. We show that there are programs for which the set of all equivalences contains terms whose value graph representation requires exponential size. Our algorithm discovers all equivalences among terms of size at most image in time that grows linearly with image. For global value numbering, it suffices to choose image to be the size of the program. Earlier deterministic algorithms for the same problem are either incomplete or take exponential time. We provide a detailed analytical comparison of some of these algorithms.
  • Keywords
    Uninterpreted functions , Abstract interpretation , Global value numbering , Herbrand equivalences
  • Journal title
    Science of Computer Programming
  • Serial Year
    2007
  • Journal title
    Science of Computer Programming
  • Record number

    1079914