一种有效的编译优化代码移动算法
作者:

A EFFICIENT ALGORITHM OF CODE MOVEMEN OPTIMIZATION IN A COMPILER
  • 摘要
  • | |
  • 访问统计
  • |
  • 参考文献 [3]
  • |
  • 相似文献
  • |
  • 引证文献
  • | |
  • 文章评论
    摘要:

    代码移动方法是编译程序全局优化的一个关键技术,本文将介绍一种新的代码移动算法,用此算法就可实现公共子表达式的删除和循环不变运算的移动,而且此算法无需检测循环控制结构,只要通过数据流分析就可实现代码移动,因此这种方法十分有效。

    Abstract:

    Code motion is an important global optimizing technology in a compiler. Here a new code motion algorithm is discussed, in which code motion (the elimination of common subexpression and the movement of loop-invariant computation, etc. )can be completed simply by data flow analysis without uncovering the loop structures embedded in the control flow graph, therefore it is a very efficient method.

    参考文献
    [1] E.Morel,C.Renvoise.Global Optimization by Suppression of Partial Redundancies.ommunications of ACM,22 (1979),96—103.
    [2] F.C.Chow.A Portable Machine—Independent Global Optimizer——Design and Measurements.PhD Thesis,Dep.of Electrical Engineering and Computer Scienee.Stanford University,CA,Technical Report No.83—254.
    [3] 陈建华,编译程序全局优化算法的研究与实现,硕士论文,华东计算技术研究所,1988年12月.
    相似文献
    引证文献
    网友评论
    网友评论
    分享到微博
    发 布
引用本文

陈建华,陈涵生.一种有效的编译优化代码移动算法.软件学报,1993,4(1):29-36

复制
分享
文章指标
  • 点击次数:4082
  • 下载次数: 4862
  • HTML阅读次数: 0
  • 引用次数: 0
历史
  • 收稿日期:1990-05-28
  • 最后修改日期:1991-02-08
文章二维码
您是第19988659位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号