首页> 外文会议>World computer congress >A Loop Optimization Technique Based on Quasi-Invariance
【24h】

A Loop Optimization Technique Based on Quasi-Invariance

机译:一种基于准不变性的环路优化技术

获取原文

摘要

Loop optimization plays an important role in compiler optimization and program transformation. Many sophisticated techniques such as loop-invriance 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 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 become invariant. In this paper we define the notion of loop quasi-invariance, present an algorithm for statically computing the optimal unfolding length in While-programs and give a transformation 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 program transformers.
机译:循环优化在编译器优化和程序转换中起着重要作用。已经开发出许多复杂的技术,例如循环缺陷码运动,环形重组和环融合。本文介绍了一种名为循环准不变性代码运动的新技术。它是标准循环不变性代码运动的概括,而是基于循环准不变性代码运动,而是基于循环准不变性分析。循环准不变性类似于标准循环不变性,但在循环中的计算变为不变之前,允许有限数量的迭代。在本文中,我们定义了循环准不变性的概念,呈现了一种静态计算静态展开的算法 - 程序中的最佳展开长度并给出变换方法。我们的方法可以通过使循环更小且更快地提高程序分析的准确性,提高程序的效率。我们的技术非常适合作为编译器,部分评估员和其他程序变压器的转换。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号