Loop invariant method expression hoisting
US8935684B2 · kind B2 · utility
Assignee
Inventor
Key dates
| Filing date | Dec 13, 2012 |
| Grant date | Jan 13, 2015 |
| Priority date | — |
| Expiry date | Dec 13, 2032 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F8/37
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A system, method and computer-readable medium are disclosed for improving the performance of a compiler. A set of source code instructions are processed to generate a plurality of source code instruction subsets, each of which is respectively associated with a mathematical operator. The source code subsets are then reordered to “hoist,” or place, a source code instruction subset associated with a product operator before a source code instruction subset associated with a summation operator. The plurality of source code instruction subsets are iteratively reordered until no source code instruction subset associated with a summation operator precedes a source code instruction subset associated with a product operator. A compiler is then used to compile the resulting reordered plurality of source code instruction subsets into a set of optimized object code instructions.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.