Enhanced local commoning
AssigneeInternational Business Machines Corporation
InventorsAndrew J. Craik, Patrick R. Doyle, Vijay Sundaresan
Life of this patent
Estimating the term…
Abstract
A method and system for enhanced local communing optimization of compilation of a program. Within a first pass of a two pass approach, a determination is made as to where in the program to evaluate volatile expressions that can be commoned. In a second pass of the two pass approach, all remaining expressions that are not volatile expressions are commoned.
Claims20
A method for enhanced local commoning optimization of compilation of a program, said method comprising:
- determining, by one or more processors of a computer system, within a first pass of a two pass approach, where in the program to evaluate volatile expressions that can be commoned;
- and
- commoning, by the one or more processors, in a second pass of the two pass approach, all remaining expressions that are not volatile expressions.
A computer program product, comprising one or more computer readable hardware storage devices having computer readable program instructions stored therein, said program instructions executable by one or more processors of a computer system to implement a method for enhanced local commoning optimization of compilation of a program, said method comprising:
- determining, by the one or more processors, within a first pass, where in the program to evaluate volatile expressions that can be commoned;
- and
- commoning, by the one or more processors, in a second pass, all remaining expressions that are not volatile expressions.
A computer system, comprising one or more processors, one or more memories, and one or more computer readable hardware storage devices, said one or more hardware storage device containing program instructions executable by the one or more processors via the one or more memories to implement a method for enhanced local commoning optimization of compilation of a program, said method comprising:
- determining, by the one or more processors, within a first pass, where in the program to evaluate volatile expressions that can be commoned;
- and
- commoning, by the one or more processors, in a second pass, all remaining expressions that are not volatile expressions.
Dependencies are inferred from the claim text.