کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
433627 1441774 2007 18 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
A polynomial-time algorithm for global value numbering
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
A polynomial-time algorithm for global value numbering
چکیده انگلیسی

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 s in time that grows linearly with s. For global value numbering, it suffices to choose s 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.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Science of Computer Programming - Volume 64, Issue 1, 1 January 2007, Pages 97-114