Method of producing object program based on interprocedural dataflow analysis of a source program
AssigneeHitachi, Ltd.
InventorTakayoshi Iitsuka
Life of this patent
Estimating the term…
Loading patent…
AssigneeHitachi, Ltd.
InventorTakayoshi Iitsuka
Estimating the term…
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.
A method of generating an object program from a source program which includes a plurality of procedures, at least one procedure of the procedures including at least one loop containing a procedure call for calling another procedure within the source program as a called procedure, and the object program being for executing the loop in parallel for different iterations of the loop, the method comprising the steps executed by a computer, the steps including:
Dependencies are inferred from the claim text.