کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
418123 681614 2009 24 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
A higher-order strategy for eliminating common subexpressions
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
A higher-order strategy for eliminating common subexpressions
چکیده انگلیسی

Optimizing compilers often perform an operation known as common subexpression elimination to improve code efficiency. Typically this is accomplished either by pruning a directed acyclic graph to replace eliminated subexpressions by memory fetches of stored values or by using partial-redundancy elimination, a data-flow analysis method. In this paper a higher-order strategic method is presented that rewrites expression trees to eliminate common subexpressions using equivalences in the lambda calculus. This approach offers several advantages—it is intuitive, transformations can be defined and applied within a high-level rewrite system, and it uses transformations for which correctness preservation can be proven.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Computer Languages, Systems & Structures - Volume 35, Issue 4, December 2009, Pages 341–364
نویسندگان
, ,