Method and apparatus for automatically determining which compiler options should be used when compiling a computer program
AssigneeHewlett-Packard Company
InventorsElana D. Granston, Anne M. Holler
Life of this patent
Estimating the term…
Loading patent…
AssigneeHewlett-Packard Company
InventorsElana D. Granston, Anne M. Holler
Estimating the term…
The present invention provides a method and apparatus for automatically determining which compiler options should be used in compiling a computer program. The present invention utilizes a set of encodable rules in combination with application-specific information obtained from a compiler user, and/or during the compilation process, and/or during run time, and which presents the compiler user with a set of recommended compiler options via a user interface. The user may then select the recommended compiler options to be applied on a program level, i.e., one set for an application, or on a module-per-module level, i.e., with potentially different recommendations for different modules of a program. The present invention utilizes user information obtained from interviewing the compiler user, such as, for example, failure tolerance, compile-time tolerance, application type, etc., compile-time information obtained during one or more compilations of the program, such as, for example, characteristics of loops and data access patterns, and profile information collected at run time, such as, for example, the number of times that a particular call site was invoked while running the particular application, the percentage of time spent in particular routines, etc. The rules then use the information obtained to automatically determine and recommend a set of application-specific compiler options.
An apparatus for automatically determining whether at least one compiler option should be enabled, the apparatus comprising:
An apparatus for automatically determining whether a compiler option should be enabled, the apparatus comprising:
An apparatus for automatically determining whether a compiler option should be enabled, the apparatus comprising:
A method for automatically determining whether a compiler option should be enabled during a compilation of a computer program, the method comprising the steps of:
A method for automatically determining whether a compiler option should be enabled during compilation of a computer program, the method comprising the steps of:
A method for automatically determining whether a compiler option should be enabled during compilation of a computer program, the method comprising the steps of:
Dependencies are inferred from the claim text.