首页> 外国专利> COMPILER FOR RESTRUCTURING CODE USING ITERATION-POINT ALGEBRAIC DIFFERENCE ANALYSIS

COMPILER FOR RESTRUCTURING CODE USING ITERATION-POINT ALGEBRAIC DIFFERENCE ANALYSIS

机译:利用迭代点代数差异分析重构代码的编译器

摘要

Embodiments of the present invention facilitate pruning a dependence graph for a loop in a computer program. An example computer-implemented method includes determining, by a compiler, a source and a sink of a dependence in the dependence graph. The method further includes determining, by the compiler, a source symbolic expression for the source, and a sink symbolic expression for the sink. The method further includes constructing, by the compiler, a difference expression using the source symbolic expression and the sink symbolic expression. The method further includes checking, by the compiler, if the difference expression is indicative of a memory overlap between the source and the sink. The method further includes, in response to the difference expression being indicative of no overlap, removing the dependence from the dependence graph, and generating object code for the computer program based on the dependence graph.
机译:本发明的实施例有助于为计算机程序中的循环修剪依赖性图。示例计算机实现的方法包括由编译器确定依赖性图中的依赖性的源和宿。该方法还包括由编译器确定用于源的源符号表达式和用于宿的宿符号表达式。该方法还包括由编译器使用源符号表达式和宿符号表达式构造差异表达式。该方法还包括由编译器检查差异表达式是否指示源和宿之间的存储器重叠。该方法还包括:响应于差异表达式指示没有重叠,从依赖性图移除依赖性,并且基于依赖性图为计算机程序生成目标代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号