首页> 外文会议>2011 9th Annual IEEE/ACM International Symposium on Code Generation and Optimization >Prioritizing constraint evaluation for efficient points-to analysis
【24h】

Prioritizing constraint evaluation for efficient points-to analysis

机译:优先考虑约束评估以进行有效的指向分析

获取原文

摘要

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.
机译:指针在大型现实应用程序中的普遍使用继续使指向分析成为重要的优化使能器。软件系统的快速增长需要可扩展的指针分析算法。一个典型的基于包含物的指向分析可迭代地评估约束并计算指向解决方案,直到达到固定点为止。在每次迭代中,(i)指向信息在约束图G中的有向边上传播,并且(ii)通过处理指向指向的约束来添加更多边。我们观察到,在以上两个步骤中的每个步骤中对处理信息的顺序进行优先级排序都可以有效地执行指向分析。尽管文献中较早的工作仅着眼于传播顺序,但我们认为另一个维度,即对约束处理进行优先级排序,可以进一步提高到达点定位算法的固定点的速度。这一点特别重要,因为我们证明找到处理点到约束的最佳序列是NP-Complete。本文提出的优先级排序方案具有足够的通用性,可以应用于任何现有的要点分析。使用本文中开发的优先级划分框架,我们实现了安德森分析,深度传播,Hardekopf和Lin的惰性循环检测和基于Bloom Filter的指向分析的优先版本。在每种情况下,我们都报告了大量程序(包括SPEC 2000基准测试和五个大型开源程序)的分析时间(分别为33%,47%,44%,20%)和内存要求的显着改善。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号