首页> 外国专利> Fast, Combined Forwards-Backwards Pass Global Optimization Framework for Dynamic Compilers

Fast, Combined Forwards-Backwards Pass Global Optimization Framework for Dynamic Compilers

机译:快速,前后组合的动态编译器全局优化框架

摘要

The various aspects provide a dynamic compilation framework that includes a machine-independent optimization module operating on a computing device and methods for optimizing code with the machine-independent optimization module using a single, combined-forwards-backwards pass of the code. In the various aspects, the machine-independent optimization module may generate a graph of nodes from the IR, optimize nodes in the graph using forwards and backwards optimizations, and propagating the forwards and backwards optimizations to nodes in a bounded subgraph recognized or defined based on the position of the node currently being optimized. In the various aspects, the machine-independent optimization module may optimize the graph by performing forwards and/or backwards optimizations during a single pass through the graph, thereby achieving an effective degree of optimization and shorter overall compile times. Thus, the various aspects may provide a global optimization framework for dynamic compilers that is faster and more efficient than existing solutions.
机译:各个方面提供了动态编译框架,该动态编译框架包括在计算设备上运行的与机器无关的优化模块,以及使用代码的单向,向前-向后组合通过与机器无关的优化模块来优化代码的方法。在各个方面,独立于机器的优化模块可以从IR生成节点图,使用前向和后向优化来优化图中的节点,并将前向和后向优化传播到基于或识别出的有界子图中的节点。当前正在优化的节点的位置。在各个方面中,独立于机器的优化模块可以通过在单次遍历图形期间执行向前和/或向后优化来优化图形,从而实现有效的优化程度和较短的总体编译时间。因此,各个方面可以为动态编译器提供比现有解决方案更快和更有效的全局优化框架。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号