System-wide memoization of array dependence information
Abstract
Data dependence information is stored in a global or system-wide cache so as to reduce the necessity for repeated analysis of similar array reference pairs in a compiler. The data dependence cache is not limited to compilation of a single file. Rather, it can be accessed and shared by multiple users and over compilation of various files. This scheme is advantageous because of the similarity of array references among many programs. The data dependence cache is maintained and updated by determining a relative value of each record in the cache in a manner reminiscent of LRU techniques familiar to artisans in the hardware memory cache domain. The data dependence cache can be made available to multiple instances of a compiler using file locking techniques, or it can be managed by a separate dependence analysis process that responds to messages from other processes requesting data dependence information. In view of the high cost of data dependence analysis, the invention provides substantial improvements in compiler performance.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 26.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A system-wide array dependence method comprising the steps of: determining a dependence relationship of a first pair of array references so as to form a result; generalizing the first pair of array references so as to define a type of array reference pair that includes the first pair; and storing said result of the determining step in a global cache file in association with the defined type of array reference pair so as to allow later retrieving the result in response to a query directed to the defined type of array reference pair.
- Claim 2Depends on #1
A method according to claim 1 further comprising: receiving a second pair of array references; creating a static, single-assignment based symbolic expression for the second pair of references; comparing the type of the second pair of references to the types of array reference pairs stored in the global
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 26 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (5)
- "Efficient and Exact Data Dependence Analysis" Maydan/Hennessy/Lam, Computer Systems Laboratory, Stanford University, CA, 1991, (Proceedings of the ACM SIGPLAN '91 Conference).
- "Practical Dependence Testing" Goff/Kennedy/Tseng, Dept. of Computer Science, Rice University, Houston, TX, 1991 (Proceedings of the ACM SIGPLAN '91 Conference).
- A practical algorithm for exact array dependence analysis, by Pugh, Communications of the ACM, Aug. 1992.
- Efficient and Exact Data Dependence Analysis Maydan/Hennessy/Lam, Computer Systems Laboratory, Stanford University, CA, 1991, (Proceedings of the ACM SIGPLAN 91 Conference).
- Efficient and Exact Data Dependence Analysis, Maydan et al, Stanford University.