The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Apr. 24, 2007
Filed:
Aug. 08, 2002
Shereen M. Ghobrial, Toronto, CA;
John D. Keenleyside, Pickering, CA;
Shereen M. Ghobrial, Toronto, CA;
John D. Keenleyside, Pickering, CA;
International Business Machines Corporation, Armonk, NY (US);
Abstract
The invention enables a compiler (during its first compilation pass) to insert 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 counters. The collected counter data is consolidated so that it relates to the instructions of the 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 association 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 other instructions of the machine-independent code during an early or first optimization phase of the second compilation pass.