首页> 外国专利> Link time optimization via dead code elimination, code motion, code partitioning, code grouping, loop analysis with code motion, loop invariant analysis and active variable to register analysis

Link time optimization via dead code elimination, code motion, code partitioning, code grouping, loop analysis with code motion, loop invariant analysis and active variable to register analysis

机译:通过消除死代码,代码运动,代码分区,代码分组,带有代码运动的循环分析,循环不变性分析和有效变量进行寄存器分析来优化链接时间

摘要

A computer system is directed to convert a program written as a plurality of high level source code modules into corresponding machine executable code. The source code modules are compiled into an object code module, and the object code modules are translated into a single linked code module in the form of a register translation language and logical symbol table compatible with a plurality of computer system hardware architectures. The source code program structures are recovered from the linked code module, and the linked code module is partitioned into a plurality of procedure, and instructions of each of the procedures grouped into basic blocks. A procedure flow graph is constructed for each of the procedures, and a program call graph is constructed for the linked code module. The linked code module is modified by eliminating dead code and moving loop-invariant code from loops. The modified linked code is converted into machine executable code compatible with a target one of said plurality of computer system hardware architectures.
机译:指导计算机系统将被编写为多个高级源代码模块的程序转换为相应的机器可执行代码。源代码模块被编译成目标代码模块,并且目标代码模块被转换成与多种计算机系统硬件架构兼容的寄存器翻译语言和逻辑符号表的形式的单个链接的代码模块。从链接代码模块恢复源代码程序结构,并且将链接代码模块划分为多个过程,并将每个过程的指令分组为基本块。为每个过程构建一个过程流程图,为链接代码模块构建一个程序调用图。通过消除死代码并从循环中移动循环不变代码,可以修改链接代码模块。修改的链接代码被转换成与所述多个计算机系统硬件体系结构中的目标之一兼容的机器可执行代码。

著录项

  • 公开/公告号US5999737A

    专利类型

  • 公开/公告日1999-12-07

    原文格式PDF

  • 申请/专利权人 DIGITAL EQUIPMENT CORPORATION;

    申请/专利号US19970963087

  • 发明设计人 AMITABH SRIVASTAVA;

    申请日1997-11-03

  • 分类号G06F9/44;

  • 国家 US

  • 入库时间 2022-08-22 01:38:43

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号