Title :
Optimal code motion in the presence of large expressions
Author_Institution :
Dept. of Comput. Sci., Dortmund Univ., Germany
Abstract :
Common algorithms for partial redundancy elimination that are sensitive to register pressure are designed from a single-expression point of view. For each computation under investigation unnecessary code motion is avoided as far as possible. Unfortunately, such a view is only adequate when dealing with a flat universe of expressions. In a more realistic setting where both composite expressions and their subexpressions are subjected to code motion trade-offs among the lifetimes of symbolic registers have to be taken into account. The author presents a polynomial time algorithm for the elimination of partially redundant computations that uniformly minimizes the total number of lifetime ranges at each program point. This is achieved by a refinement of the algorithm for lazy code motion that incorporates optimal register tradeoffs being computed by means of maximum bipartite graph matchings
Keywords :
computational complexity; graph theory; operating systems (computers); redundancy; resource allocation; storage allocation; algorithms; code motion trade-offs; composite expressions; computation; large expressions; lazy code motion; maximum bipartite graph matchings; optimal code motion; optimal register tradeoffs; partial redundancy elimination; polynomial time algorithm; register pressure; single-expression point of view; subexpressions; symbolic registers; Algorithm design and analysis; Bipartite graph; Computer science; Polynomials; Registers; Runtime;
Conference_Titel :
Computer Languages, 1998. Proceedings. 1998 International Conference on
Conference_Location :
Chicago, IL
Print_ISBN :
0-8186-8454-2
DOI :
10.1109/ICCL.1998.674172