DocumentCode :
3221800
Title :
Path profile guided partial dead code elimination using predication
Author :
Gupta, Rajiv ; Benson, D.A. ; Fang, Jesse Z.
Author_Institution :
Dept. of Comput. Sci., Pittsburgh Univ., PA, USA
fYear :
1997
fDate :
10-14 Nov 1997
Firstpage :
102
Lastpage :
113
Abstract :
Presents a path-profile-guided partial dead code elimination algorithm that uses predication to enable sinking for the removal of deadness along frequently executed paths at the expense of adding additional instructions along infrequently executed paths. Our approach to optimization is particularly suitable for VLIW architectures since it directs the efforts of the optimizer towards aggressively enabling generation of fast schedules along frequently executed paths by reducing their critical path lengths. The paper presents a cost-benefit data flow analysis that uses path profiling information to determine the profitability of using predication-enabled sinking. The cost of predication-enabled sinking of a statement past a merge point is determined by identifying paths along which an additional statement is introduced. The benefit of predication-enabled sinking is determined by identifying paths along which additional dead code elimination is achieved due to predication. The results of this analysis are incorporated in a code sinking framework in which predication-enabled sinking is allowed past merge points only if its benefit is determined to be greater than the cost. It is also demonstrated that trade-off can be performed between the compile-time cost and the precision of cost-benefit analysis
Keywords :
cost-benefit analysis; data flow analysis; optimising compilers; parallel architectures; partial evaluation (compilers); VLIW architectures; additional instructions; code sinking framework; compile-time cost; cost-benefit analysis precision; critical path length; data flow analysis; deadness removal; fast schedule generation; frequently executed paths; infrequently executed paths; merge point; optimization; path profiling information; path-profile-guided partial dead code elimination algorithm; predication-enabled sinking; profitability; statement sinking; Cost benefit analysis; Cost function; Data analysis; Delay; Frequency; Information analysis; Microcomputers; Profitability; Scheduling; VLIW;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel Architectures and Compilation Techniques., 1997. Proceedings., 1997 International Conference on
Conference_Location :
San Francisco, CA
Print_ISBN :
0-8186-8090-3
Type :
conf
DOI :
10.1109/PACT.1997.644007
Filename :
644007
Link To Document :
بازگشت