首页> 外国专利> Linear-time algorithm to determine the maximum number of iterations of the iterative algorithm for data-flow analysis for reducible loops

Linear-time algorithm to determine the maximum number of iterations of the iterative algorithm for data-flow analysis for reducible loops

机译:线性时间算法,用于确定可简化循环的数据流分析迭代算法的最大迭代次数

摘要

A compiler converts a high level language program into a corresponding machine level language program. The compiler forms an initial control flow graph of the high level language program with nodes and edge, the nodes including a starting node, initializing a collapse count to zero, and sets the initial control flow graph as a current control flow graph. The compiler performs iterative collapsing operations on the current control flow graph until only a single node remains. After performing the iterative collapsing operations, data flow analysis is performed on the initial control flow graph for a number of iterations equal to one greater than the collapse count. Then, the machine level language program corresponding to the high level language program is generated based upon the data flow analysis.
机译:编译器将高级语言程序转换为相应的机器级语言程序。编译器形成具有节点和边缘的高级语言程序的初始控制流程图,该节点包括起始节点,将折叠计数初始化为零,并将初始控制流程图设置为当前控制流程图。编译器在当前控制流程图上执行迭代折叠操作,直到仅剩一个节点为止。在执行了迭代折叠操作之后,对初始控制流图执行数据流分析,进行的迭代次数等于折叠计数的一倍。然后,基于数据流分析,生成与高级语言程序相对应的机器级语言程序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号