【24h】

Loop Quasi-Invariance Code Motion

机译:循环准不变码运动

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

摘要

Loop optimization plays an important role in compiler optimization and program transformation. Many so- phisticated techniques such as loop-invariance code motion, loop restructuring and loop fusion have been developed. This paper introduces a novel technique called loop quasi-invariance code motion. It is a generalization of standard loop-invariance code motion, but based on loop quasi-invariance analysis. Loop quasi- invariance is similar to standard loop-invariance but allows for a finite number of iterations before computations in a loop be- come invariant. In this paper we define the notion of loop quasi- invariance, present an algorithm for statically computing the op- timal unfolding length in While-programs and give a transforma- tion method. Our method can increase the accuracy of program analyses and improve the efficiency of programs by making loops smaller and faster. Our technique is well-suited as supporting transformation in compilers, partial evaluators, and other pro- gram transformers.
机译:循环优化在编译器优化和程序转换中起着重要作用。已经开发了许多复杂的技术,例如循环不变代码运动,循环重构和循环融合。本文介绍了一种称为循环准不变码运动的新技术。它是标准循环不变代码运动的概括,但是基于循环准不变分析。循环准不变与标准循环不变相似,但在循环中的计算变为不变之前允许进行有限数量的迭代。在本文中,我们定义了循环准不变性的概念,提出了一种在While程序中静态计算最佳展开长度的算法,并给出了一种变换方法。通过使循环更小,更快,我们的方法可以提高程序分析的准确性并提高程序效率。我们的技术非常适合在编译器,部分评估器和其他程序转换器中支持转换。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号