发明名称 Array value substitution and propagation with loop transformations through static analysis
摘要 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.
申请公布号 US2008046871(A1) 申请公布日期 2008.02.21
申请号 US20060505148 申请日期 2006.08.15
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 NAIR ROHINI
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址