发明名称 Method for improving global common subexpression elimination and code motion in an optimizing compiler
摘要 A method for use during the optimizatin phase of an optimizing compiler for performing global common subexpression elimination and code motion which comprises: Determining the code 'basis' for the object program which includes examining each basic block of code and determining the 'basis' items on which each computation depends wherein 'basis' items are defined as operands which are referenced in a basic block before being computed. The method next determines the "kill set" for each 'basis' item. Following this UEX, DEX, and THRU are determined for each basic block using the previously determined 'basis' and "kill set" information. AVAIL and INSERT are computed from UEX, DEX, and THRU, and appropriate code insertions are made at those locations indicated by the preceding step, and finally redundant code is removed using the AVAIL set.
申请公布号 US4656583(A) 申请公布日期 1987.04.07
申请号 US19840640283 申请日期 1984.08.13
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 AUSLANDER, MARC A.;COCKE, JOHN;MARKSTEIN, PETER W.
分类号 G06F9/44;G06F9/45;(IPC1-7):G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址