发明名称 USING IDENTIFIERS AND COUNTERS FOR CONTROLLED OPTIMIZATION COMPILATION
摘要 The invention enables a compiler (during its first compilation pass) to inse rt identifiers during an early optimization phase into machine-independent: code. The identifiers are used for identifying specific instructions of the machine-independent code. The compiler may use a table to record the assignment of identifiers and their corresponding portion of machine-independent code. During subsequent optimization phases of the first compilation pass, portions of machine-independent code are transformed into portions of machine-dependent code, and the machine-dependent code inherits identification associated with the portions of machine-independent code that were used to generate the portions of machine- dependent code. After the first compilation pass, executable code is made to interact with test data to generate statistical execution data which is collected by previously inserted counter s. The collected counter data is consolidated so that it relates to the instruction;> of t he machine-independent code. During a second compilation pass of the compiler, the compiler reads the machine-independent code, the collected or captured counter data, an indication of the associati on between the identifiers and the instructions (which can be stored in a table). Subsequently, the compiler begins locating instructions of the machine-independent code relative to oth er instructions of the machine-independent code during an early or first optimization phase of the second compilation pass.
申请公布号 CA2359862(A1) 申请公布日期 2003.04.24
申请号 CA20012359862 申请日期 2001.10.24
申请人 IBM CANADA LIMITED-IBM CANADA LIMITEE 发明人 GHOBRIAL, SHEREEN M.;KEENLEYSIDE, JOHN DAWSON
分类号 G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址