Array value substitution and propagation with loop transformations through static analysis
AssigneeInternational Business Machines Corporation
InventorRohini Nair
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorRohini Nair
Estimating the term…
A method and system for substituting array values (i.e., expressions) in a program at compile time. An initialization of an array is identified in a loop. The initialization is an assignment of an expression (i.e., a constant or a function of an induction variable to elements of the array). The expression is stored in a table that associates the expression with the array and indices of the array. An assignment statement is detected that is to assign at least one element of the initialized elements. The expression is retrieved from the table based on the expression being associated with the array and corresponding indices. The expression is substituted for the at least one element so that the expression is to be assigned by the assignment statement. The process of substituting array values is extended to interprocedural analysis.
A method of substituting array values in a program in a computing environment at compile time, comprising:
A computer system comprising:
A computer program product comprising a non-transitory computer-usable medium including computer-usable program code for substituting array values in a program in a computing environment at compile time, the computer program product including:
A process for supporting computing infrastructure, said process comprising providing at least one support service for at least one of creating, integrating, hosting, maintaining, and deploying computer-readable code in a computing system, wherein the code in combination with the computing system is capable of performing a method of substituting array values in a program in a computing environment at compile time, said method comprising:
Dependencies are inferred from the claim text.