• DocumentCode
    1083282
  • Title

    Interprocedural probabilistic pointer analysis

  • Author

    Chen, Peng-Sheng ; Hwang, Yuan-Shin ; Ju, Roy Dz-ching ; Lee, Jenq Kuen

  • Author_Institution
    Dept. of Comput. Sci., Nat. Tsing Hua Univ., Hsinchu, Taiwan
  • Volume
    15
  • Issue
    10
  • fYear
    2004
  • Firstpage
    893
  • Lastpage
    907
  • Abstract
    When performing aggressive optimizations and parallelization to exploit features of advanced architectures, optimizing and parallelizing compilers need to quantitatively assess the profitability of any transformations in order to achieve high performance. Useful optimizations and parallelization can be performed if it is known that certain points-to relationships would hold with high or low probabilities. For instance, if the probabilities are low, a compiler could transform programs to perform data speculation or partition iterations into threads in speculative multithreading, or it would avoid conducting code specialization. Consequently, it is essential for compilers to incorporate pointer analysis techniques that can estimate the possibility for every points-to relationship that it would hold during the execution. However, conventional pointer analysis techniques do not provide such quantitative descriptions and, thus, hinder compilers from more aggressive optimizations, such as thread partitioning in speculative multithreading, data speculations, code specialization, etc. We address this issue by proposing a probabilistic points-to analysis technique to compute the probability of every points-to relationship at each program point. A context-sensitive interprocedural algorithm has been implemented based on the iterative data flow analysis framework, and has been incorporated into SUIF and MachSUIF. Experimental results show this technique can estimate the probabilities of points-to relationships in benchmark programs with reasonable small errors, about 4.6 percent on average. Furthermore, the current implementation cannot disambiguate heap and array elements. The errors are further significantly reduced when the future implementation incorporates techniques to disambiguate heap and array elements.
  • Keywords
    benchmark testing; data flow analysis; multi-threading; optimising compilers; parallelising compilers; probability; benchmark programs; code specialization; data speculations; interprocedural program analysis; optimizing compiler; parallelizing compiler; probabilistic points-to analysis technique; speculative multithreading; Computer architecture; Data analysis; Hardware; Iterative algorithms; Multithreading; Optimizing compilers; Partitioning algorithms; Profitability; Program processors; Yarn; 65; Multithreading; compilers; interprocedural program analysis; optimization.; points-to analysis; speculation;
  • fLanguage
    English
  • Journal_Title
    Parallel and Distributed Systems, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1045-9219
  • Type

    jour

  • DOI
    10.1109/TPDS.2004.56
  • Filename
    1327594