...
【24h】

Improving Data-flow Analysis with Path Profiles

机译:使用路径配置文件改善数据流分析

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

摘要

Data-flow analysis computes its solutions over the paths in a control-flow graph. These paths-whether feasible or in-feasible, heavily or rarely executed-contribute equally to a solution. However, programs execute only a small fraction of their potential paths and, moreover, programs' execution time and cost is concentrated in a far smaller subset of hot paths. This paper describes a new approach to analyzing and optimizing programs, which improves the precision of data flow analysis along hot paths. Our technique identifies and duplicates hot paths, creating a hot path graph in which these paths are isolated. After flow analysis, the graph is reduced to eliminate unnecessary duplicates of unprofitable paths. In experiments on SPEC95 benchmarks, path qualification identified 2-112 times more non-local constants (weighted dynamically) than the Wegman-Zadek conditional constant algorithm, which translated into 1-7% more dynamic instructions with constant results.
机译:数据流分析在控制流图中的路径上计算其解决方案。这些路径(无论是可行的还是不可行的,大量执行或很少执行的路径)均对解决方案做出了同样的贡献。但是,程序仅执行其潜在路径的一小部分,而且,程序的执行时间和成本集中在热路径的较小子集中。本文介绍了一种用于分析和优化程序的新方法,该方法提高了沿热路径进行数据流分析的精度。我们的技术可以识别并复制热路径,从而创建一个热路径图,在这些图中隔离这些路径。经过流量分析后,将图形缩小以消除不必要的重复路径。在SPEC95基准的实验中,路径限定识别出的非局部常数(动态加权)是Wegman-Zadek条件常数算法的2-112倍,后者转化为具有恒定结果的动态指令多了1-7%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号