BEYOND INDUCTION VARIABLES - DETECTING AND CLASSIFYING SEQUENCES USING A DEMAND-DRIVEN SSA FORM

Citation
Mp. Gerlek et al., BEYOND INDUCTION VARIABLES - DETECTING AND CLASSIFYING SEQUENCES USING A DEMAND-DRIVEN SSA FORM, ACM transactions on programming languages and systems, 17(1), 1995, pp. 85-122
Citations number
24
Categorie Soggetti
Computer Sciences","Computer Science Software Graphycs Programming
ISSN journal
01640925
Volume
17
Issue
1
Year of publication
1995
Pages
85 - 122
Database
ISI
SICI code
0164-0925(1995)17:1<85:BIV-DA>2.0.ZU;2-L
Abstract
Linear induction variable detection is usually associated with the str ength reduction optimization. For restructuring compilers, effective d ata dependence analysis requires that the compiler detect and accurate ly describe linear and nonlinear induction variables as well as more g eneral sequences. In this article we present a practical technique for detecting a broader class of linear induction variables than is usual ly recognized, as well as several other sequence forms, including peri odic, polynomial, geometric, monotonic, and wraparound variables. Our method is based on Factored Use-Def (FUD) chains, a demand-driven repr esentation of the popular Static Single Assignment (SSA) form. In this form, strongly connected components of the associated SSA graph corre spond to sequences in the source program: we describe a simple yet eff icient algorithm for detecting and classifying these sequences. We hav e implemented this algorithm in Nascent, our restructuring Fortran 90 compiler, and we present some results showing the effectiveness of ou r approach.