Abstract
We consider the analysis and optimization of code utilizing operations and functions operating on entire arrays. Models are developed for studying the minimization of the number of materializations of array-valued temporaries in basic blocks, each consisting of a sequence of assignment statements involving array-valued variables. We derive lower bounds on the number of materializations required, and develop several algorithms minimizing the number of materializations, subject to a simple constraint on allowable statement rearrangement. In contrast, we also show that when statement rearrangement is unconstrained, minimizing the number of materializations becomes NP-complete, even for very simple basic blocks. © 2006 ACM.
Author supplied keywords
Cite
CITATION STYLE
Rosenkrantz, D. J., Mullin, L. R., & Hunt, H. B. (2006). On minimizing materializations of array-valued temporaries. ACM Transactions on Programming Languages and Systems, 28(6), 1145–1177. https://doi.org/10.1145/1186632.1186637
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.