...
【24h】

Partial dead code elimination using slicing transformations

机译:使用切片转换消除部分无效代码

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

摘要

We rpesent an approach for optimizing programs that uncovers additional opportunities for optimization of a statement by predicating the statement. In this paper predication algorithms for achieving partial dead code elimination (PDE) are presented. The process of predication embeds a statement in a control flow structure such that the statement is exexcuted only if the execution follows a path along which the value computed by the statment is live. The control flow restructuring performed to achieve predication is expressed through slicing transformations. This approach achieves PDE that is not realizable by existing algorithms. We prove that our algorithm never increases the operation count along any path, and that for acyclic code all partially dead statements are eliminated. The slicing transformation that achieves predication introduces into the program additional conditional branches. These branches are eliminated in a branch deletion step based upon code duplication. We also show how PDE can be used by acyclic schedulers for VLIW processors to reduce critical path lengths along frequently exectued paths.
机译:我们提出了一种优化程序的方法,该方法通过断言来发现优化语句的其他机会。本文提出了用于实现部分死代码消除(PDE)的预测算法。谓词处理将一条语句嵌入控制流结构中,以便仅在执行遵循通过该语句计算的值所沿的路径时才执行该语句。为实现预测而执行的控制流重组是通过切片转换来表示的。这种方法实现了现有算法无法实现的PDE。我们证明了我们的算法永远不会增加任何路径上的操作数,并且对于非循环代码,所有部分无效的语句都将被消除。实现谓词的切片转换将附加的条件分支引入程序。这些分支在基于代码复制的分支删除步骤中被消除。我们还将展示非循环调度程序如何将PDE用于VLIW处理器,以减少沿频繁执行的路径的关键路径长度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号