发明授权
US5146594A Method of producing object program based on interprocedural dataflow
analysis of a source program
失效
基于源程序的过程间数据流分析生成对象程序的方法
- 专利标题: Method of producing object program based on interprocedural dataflow analysis of a source program
- 专利标题(中): 基于源程序的过程间数据流分析生成对象程序的方法
-
申请号: US266479申请日: 1988-11-02
-
公开(公告)号: US5146594A公开(公告)日: 1992-09-08
- 发明人: Takayoshi Iitsuka
- 申请人: Takayoshi Iitsuka
- 申请人地址: JPX Tokyo
- 专利权人: Hitachi, Ltd.
- 当前专利权人: Hitachi, Ltd.
- 当前专利权人地址: JPX Tokyo
- 优先权: JPX62-279214 19871106
- 主分类号: G06F9/45
- IPC分类号: G06F9/45
摘要:
A method of producing an object program from an inputted source program with a compiler using a computer, includes the steps of: performing an interprocedural dataflow analysis of a variable associated with a procedure such as a subroutine, function, and initialization subprogram; analyzing and summarizing a procedure call effect into a variable region having a possibility of modifying the value of a variable upon a procedure call, a variable region having a possibility of using the value of a variable, and a variable region having a necessity of defining the value of a variable, in accordance with the interprocedural dataflow analysis; and representing data reference at the procedure call by using the summary information, in the dataflow analysis of a procedure part including the procedure call, performing an interprocedural dataflow analysis while discriminating between a case where there is a possibility of data reference and a case where there is a necessity of data reference, and performing an optimization process in accordance with the result of the last-mentioned interprocedural dataflow analysis.
公开/授权文献
信息查询