DocumentCode
2975885
Title
Partial redundancy elimination driven by a cost-benefit analysis
Author
Horspool, R. Nigel ; Ho, H.C.
Author_Institution
Dept. of Comput. Sci., Victoria Univ., BC, Canada
fYear
1997
fDate
18-19 Jun 1997
Firstpage
111
Lastpage
118
Abstract
Partial redundancy elimination has become a major compiler optimization that subsumes various ad hoc code motion optimizations. However, partial redundancy elimination is extremely conservative, failing to take advantage of many opportunities for optimization. We describe a new formulation of partial redundancy elimination based on a cost-benefit analysis of the flowgraph. Costs and benefits are measured by the number of evaluations of an expression. For that reason, our technique requires estimates for the execution frequency of every edge in the flowgraph. The new technique is much more aggressive, performing more code motion and thereby reducing the number of expression evaluations as compared to the standard optimization
Keywords
cost-benefit analysis; data flow analysis; data flow graphs; optimising compilers; redundancy; code motion optimizations; compiler optimization; cost-benefit analysis; execution frequency; flowgraph; partial redundancy elimination; Code standards; Computer science; Cost benefit analysis; Equations; Frequency estimation; Lead; Neutron spin echo; Registers;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Systems and Software Engineering, 1997., Proceedings of the Eighth Israeli Conference on
Conference_Location
Herzliya
Print_ISBN
0-8186-8135-7
Type
conf
DOI
10.1109/ICCSSE.1997.599882
Filename
599882
Link To Document