Compiler optimization for memoization of pure function arguments
AssigneeInternational Business Machines Corporation
InventorsJean-Louis Ardoint, Benoit H. Poupon
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsJean-Louis Ardoint, Benoit H. Poupon
Estimating the term…
Exemplary embodiments of the present invention disclose a method and system for replacing an unevaluated input that is constant at runtime to a group of instructions that calculates an output and can not modify the unevaluated input with invocation code that calls evaluation code. In a step, an exemplary embodiment identifies a group of instructions with an unevaluated input that is constant at runtime that calculates an output and can not modify the unevaluated input. In another step, an exemplary embodiment identifies an unevaluated input to the group of instructions that is constant at runtime. In another step, an exemplary embodiment generates an evaluation code that evaluates the unevaluated input. In another step, an exemplary embodiment replaces the unevaluated input with an invocation code that invokes the evaluation code.
A method for replacing an unevaluated input that is constant at runtime to a group of instructions that calculates an output and cannot modify the unevaluated input, the method composed of:
A computer system for replacing an unevaluated input that is constant at runtime to a group of instructions that calculates an output and cannot modify the unevaluated input, the computer system comprising:
A computer program product to replace an unevaluated input that is constant at runtime to a group of instructions that calculates an output and cannot modify the unevaluated input, the computer system comprising:
Dependencies are inferred from the claim text.