Prioritizing Constraint Evaluation for Efficient Points-to Analysis

被引:0
|
作者
Nasre, Rupesh [1 ]
Govindarajan, R. [1 ]
机构
[1] Indian Inst Sci, Bangalore 560012, Karnataka, India
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Pervasive use of pointers in large-scale real-world applications continues to make points-to analysis an important optimization-enabler. Rapid growth of software systems demands a scalable pointer analysis algorithm. A typical inclusion-based points-to analysis iteratively evaluates constraints and computes a points-to solution until a fixpoint. In each iteration, (i) points-to information is propagated across directed edges in a constraint graph G and (ii) more edges are added by processing the points-to constraints. We observe that prioritizing the order in which the information is processed within each of the above two steps can lead to efficient execution of the points-to analysis. While earlier work in the literature focuses only on the propagation order, we argue that the other dimension, that is, prioritizing the constraint processing, can lead to even higher improvements on how fast the fixpoint of the points-to algorithm is reached. This becomes especially important as we prove that finding an optimal sequence for processing the points-to constraints is NP-Complete. The prioritization scheme proposed in this paper is general enough to be applied to any of the existing points-to analyses. Using the prioritization framework developed in this paper, we implement prioritized versions of Andersen's analysis, Deep Propagation, Hardekopf and Lin's Lazy Cycle Detection and Bloom Filter based points-to analysis. In each case, we report significant improvements in the analysis times (33%, 47%, 44%, 20% respectively) as well as the memory requirements for a large suite of programs, including SPEC 2000 benchmarks and five large open source programs.
引用
收藏
页码:267 / 276
页数:10
相关论文
共 50 条
  • [31] Aspect-Aware Points-to Analysis
    Sun, Qiang
    Zhao, Jianjun
    [J]. EIGHTH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, 2008, : 143 - 152
  • [32] An efficient inclusion-based points-to analysis for strictly-typed languages
    Whaley, J
    Lam, MS
    [J]. STATIC ANALYSIS, PROCEEDINGS, 2002, 2477 : 180 - 195
  • [33] Points-to analysis using BDDs.
    Berndl, M
    Lhoták, O
    Qian, F
    Hendren, L
    Umanee, N
    [J]. ACM SIGPLAN NOTICES, 2003, 38 (05) : 103 - 114
  • [34] Using XBDDs and ZBDDs in points-to analysis
    Lhotak, Ondrej
    Curial, Stephen
    Amaral, Jose Nelson
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2009, 39 (02): : 163 - 188
  • [35] Time- and Space-Efficient Flow-Sensitive Points-to Analysis
    Nasre, Rupesh
    [J]. ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2013, 10 (04)
  • [36] Points-to analysis for partial call graph construction
    College of Computer Science and Technology, Zhejiang University, Hangzhou
    310027, China
    [J]. Zhejiang Daxue Xuebao (Gongxue Ban), 6 (1031-1040):
  • [37] Parallel Replication-Based Points-To Analysis
    Putta, Sandeep
    Nasre, Rupesh
    [J]. COMPILER CONSTRUCTION, CC 2012, 2012, 7210 : 61 - 80
  • [38] Context-sensitive points-to analysis:: Is it worth it?
    Lhoták, O
    Hendren, L
    [J]. COMPILER CONSTRUCTION, PROCEEDINGS, 2006, 3923 : 47 - 64
  • [39] Hybrid Context-Sensitivity for Points-To Analysis
    Kastrinis, George
    Smaragdakis, Yannis
    [J]. ACM SIGPLAN NOTICES, 2013, 48 (06) : 423 - 433
  • [40] Staged Points-to Analysis for Large Code Bases
    Allen, Nicholas
    Scholz, Bernhard
    Krishnan, Padmanabhan
    [J]. COMPILER CONSTRUCTION (CC 2015), 2015, 9031 : 131 - 150