Array reference safety analysis in the presence of loops with conditional control flow
Abstract
Mechanisms are provided for analyzing and optimizing loops with conditional control flow in source code based on array reference safety. Mechanisms are provided for analyzing blocks of the source code to identify a conditional control flow loop having loop source code specifying a total access range for an array reference. A safe access range, of the total access range of the array reference in the loop source code, is identified over which a compiler-based optimization of the loop source code can be safely applied without introducing new exception conditions. The compiler-based optimization of the loop source code is performed based on the identified safe access range to generate optimized code. The optimized code is output for generation of executable code for execution on a processor.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 42 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, in a data processing system, for optimizing loops with conditional control flow in source code based on array reference safety, comprising: analyzing blocks of the source code to identify a conditional control flow loop having loop source code specifying a total access range for an array reference, identifying a safe access range, of the total access range of the array reference in the loop source code, over which a compiler-based optimization of the loop source code can be safely applied without introducing new exception conditions; performing the compiler-based optimization of the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (42)
Non-Patent Literature (5)
- "Intel 64 and IA-32 Architectures Software Developer's Manual, vol. 1: Basic Architecture", Intel Corporation, Sep. 2008, http://download.intel.com/design/processor/manuals/253665.pdf, 496 pages. (23 pages submitted Herewith.).
- "Power ISA, Version 2.04", IBM Corporation, Apr. 3, 2007, accessible at http://www.power.org/resources/downloads/PowerISA-203.Public.pdf, 874 pages (21 pages submitted herewith).
- "Synergistic Processor Unit Instruction Set Architecture, Version 1.2", IBM Corporation, Jan. 27, 2007, http://www-01.ibm.com/chips/techlib/techlib.nsf/techdocs/76CA6C7304210F3987257060006F2C44/$file/SPU-ISA-v1.2-27Jan2007 pub.pdf, 279 pages.
- "The VIS Instruction Set, Version 1.0", Sun Microsystems Inc., A White Paper, Jun. 2002, 34 pages.
- Bachega, Leonardo et al., "A High-Performance SIMD Floating Point Unit for BlueGene/L: Architecture, Compilation, and Algorithm Design", Proceedings of the 13th International Conference on Parallel Architecture and Compilation Techniques (PACT'04), pp. 1-12.