Method, apparatus and computer program for compiling program using statistical information on variables, and recording medium therefor
AssigneeFujitsu Limited
InventorManabu Matsuyama
Life of this patent
Estimating the term…
Loading patent…
AssigneeFujitsu Limited
InventorManabu Matsuyama
Estimating the term…
The apparatus according to the present invention adds a sequence of instructions for recording a maximum of two sets of values assigned to variables in the procedure under the first execution and whose appearance frequencies can reach 50% or more and their appearance frequencies to the intermediate data of a source program to obtain primary profile information after the end of a first execution. Further it adds another sequence of instructions for recording the appearance frequencies of the values of the primary profile information and the execution frequency of the procedure to the intermediate data to obtain final profile information after the end of a second execution. Then, it calculates a value whose appearance frequency with respect to a variable is 50% or more on the basis of the final profile information to optimize the procedure regarding this value and thereby generate an object program.
A method for translating a program stated in a programming language to generate a computer-executable object program using statistical information on variables, the method comprising the steps of:
An apparatus for translating a program stated in a programming language to generate a computer-executable object program using statistical information on variables, the apparatus comprising:
A recording medium storing a computer program for translating a source program stated in a programming language using statistical information on variables to generate an object program, the program causes the computer to execute processing:
Dependencies are inferred from the claim text.