首页> 外文期刊>Software >Efficient online cycle detection technique combining with Steensgaard points-to information
【24h】

Efficient online cycle detection technique combining with Steensgaard points-to information

机译:结合Steensgaard指向信息的高效在线周期检测技术

获取原文
获取原文并翻译 | 示例
       

摘要

Pointer analysis is a key static analysis during compilation. Several client analyses and transformations rely on precise pointer information to optimize programs. Therefore, it is paramount to improve the efficiency of pointer analysis. A critical piece of an inclusion-based pointer analysis is online cycle detection. The efficiency of pointer analysis is significantly influenced by the efficacy of detecting cycles. Existing approaches perform poorly when they guess cycle formation in the constraint graph. Thus, the number of false cycle-detection triggers of the state-of-the-art methods is considerably high (over 99% on Standard Performance Evaluation Corporation (SPEC) benchmarks). In this paper, we propose bootstrapping as a way to improve cycle detection predictability of pointer analysis. The main idea is to run a sequence of increasingly precise analyses to feed into the next more precise analysis to improve the efficiency of the latter analysis. In this process, we develop a new notion of pointer equivalence called constraint equivalence. Using Steensgaard's fast unification algorithm as the bootstrap, we devise a new cycle detection method for Andersen's inclusion-based analysis. We measure the effectiveness of our approach using a suite of programs including SPEC 2000 benchmarks and two open-source programs, and find that our method can reduce the number of false cycle detections by almost 22x compared with a state-of-the-art method. This leads to an overall analysis time improvement of 18% on an average. Copyright (c) 2015 John Wiley & Sons, Ltd.
机译:指针分析是编译期间的关键静态分析。几种客户端分析和转换都依赖于精确的指针信息来优化程序。因此,提高指针分析效率至关重要。基于包含物的指针分析的关键是在线循环检测。指针分析的效率受到检测周期效率的显着影响。现有方法在约束图中猜测周期形成时表现不佳。因此,最新方法的错误周期检测触发次数非常多(在标准性能评估公司(SPEC)基准上超过99%)。在本文中,我们提出了引导程序,以提高指针分析的周期检测可预测性。主要思想是运行一系列越来越精确的分析,以馈入下一个更加精确的分析,以提高后者的分析效率。在此过程中,我们开发了一种新的指针等效概念,称为约束等效。使用Steensgaard的快速统一算法作为引导程序,我们设计了一种新的周期检测方法,用于Andersen基于内含物的分析。我们使用一套程序(包括SPEC 2000基准测试和两个开源程序)评估了该方法的有效性,发现与最新方法相比,我们的方法可以将错误周期检测的数量减少近22倍。 。这样可使总体分析时间平均缩短18%。版权所有(c)2015 John Wiley&Sons,Ltd.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号