A Hierarchical Region-Based Static Single Assignment Form
dc.contributor.author | Sarkar, Vivek | en_US |
dc.contributor.author | Zhao, Jisheng | en_US |
dc.date.accessioned | 2017-08-02T22:03:07Z | en_US |
dc.date.available | 2017-08-02T22:03:07Z | en_US |
dc.date.issued | 2009-12-14 | en_US |
dc.date.note | December 14, 2009 | en_US |
dc.description.abstract | Modern compilation systems face the challenge of incrementally reanalyzing a program’s intermediate representation each time a code transformation is performed. Current approaches typically either re-analyze the entire program after an individual transformation or limit the analysis information that is available after a transformation. To address both efficiency and precision goals in an optimizing compiler, we introduce a hierarchical static single-assignment form called Region Static Single-Assignment (Region-SSA) form. Static single assignment (SSA) form is an efficient intermediate representation that is well suited for solving many data flow analysis and optimization problems. By partitioning the program into hierarchical regions, Region-SSA form maintains a local SSA form for each region. Region-SSA supports a demand-driven re-computation of SSA form after a transformation is performed, since only the updated region’s SSA form needs to be reconstructed along with a potential propagation of exposed defs and uses. In this paper, we introduce the Region-SSA data structure, and present algorithms for construction and incremental reconstruction of Region-SSA form. The Region-SSA data structure includes a tree based region hierarchy, a region based control flow graph, and region-based SSA forms. We have implemented in Region SSA form in the Habanero-Java (HJ) research compiler. Our experimental results show significant improvements in compile-time compared to traditional approaches that recomputed the entire procedure’s SSA form exhaustively after transformation. For loop unrolling transformations, compile-time speedups up to 35.8× were observed using Region-SSA form relative to standard SSA form. For loop interchange transformations, compile-time speedups up to 205.6× were observed. We believe that Region-SSA form is an attractive foundation for future compiler frameworks that need to incorporate sophisticated incremental program analyses and transformations. | en_US |
dc.format.extent | 20 pp | en_US |
dc.identifier.citation | Sarkar, Vivek and Zhao, Jisheng. "A Hierarchical Region-Based Static Single Assignment Form." (2009) https://hdl.handle.net/1911/96381. | en_US |
dc.identifier.digital | TR09-9 | en_US |
dc.identifier.uri | https://hdl.handle.net/1911/96381 | en_US |
dc.language.iso | eng | en_US |
dc.rights | You are granted permission for the noncommercial reproduction, distribution, display, and performance of this technical report in any format, but this permission is only for a period of forty-five (45) days from the most recent time that you verified that this technical report is still available from the Computer Science Department of Rice University under terms that include this permission. All other rights are reserved by the author(s). | en_US |
dc.title | A Hierarchical Region-Based Static Single Assignment Form | en_US |
dc.type | Technical report | en_US |
dc.type.dcmi | Text | en_US |
Files
Original bundle
1 - 1 of 1