Global variable coalescing
Abstract
An interprocedural compilation method for aggregating global data variables in external storage to maximize data locality. Using the information displayed in a weighted interference graph in which node weights represent the size of data stored in each global variable and edges between variables represent access relationships between the globals, the global variables can be mapped into aggregates based on this frequency of access, while preventing the cumulative data size in any aggregate from exceeding a memory size restriction.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 38.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for remapping global data variables during program compilation, comprising the computer-executed steps of: setting a limit; selecting global data variables referenced in the program; assigning a weight value to each selected global data variable representing byte size of data in that variable; dividing the selected global data variables into pairs of variables that are accessed together and re-ordering the pairs from highest to lowest affinity; and beginning from a pair of variables of highest affinity, dividing the selected global data variables into aggregate groupings, each
- Claim 2Depends on #1
A method, according to claim 1, wherein assigning comprises initially differentiating arrays from non-array global data variables.
- Claim 3Independent Claim
A method, accord
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 38 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- Appel, et al. "Calle-save Registers in Continuation-Passing Style" LISP Symb. Comput (Netherlands) vol.5, No.3, pp. 191-221, Sep. 1992.
- Appel, et al. Calle save Registers in Continuation Passing Style LISP Symb. Comput (Netherlands) vol.5, No.3, pp. 191 221, Sep. 1992.
- Chow "Minimizing register usage penalty at procedure calls" Proceedings of the SIGPLAN,'88 Conf. on Programming Language Design & Implementation, pp. 85-94, Jul. 1988.
- Chow Minimizing register usage penalty at procedure calls Proceedings of the SIGPLAN, 88 Conf. on Programming Language Design & Implementation, pp. 85 94, Jul. 1988.
- Copper, et al. "The Impact of Interprocedural Analysis & Optimization in Rn Programming Environment" ACM Trans. on Programming Languages & Syst. pp. 491-523, Oct. 1986.