Apparatus and method for generating code overlay
Abstract
Provided is an apparatus and method for generating code overlay capable of minimizing the number of memory copies. A static temporal relationship graph (STRG) is generated in which each of functions of a program corresponds to a node of the STRG and a conflict miss value corresponds to an edge of the STRG. The conflict miss value is the maximum number of possible conflict misses between functions. Overlay is generated by selecting at least one function from the STRG, calculating an allocation cost for each region of a memory to be given when the at least one selected function is allocated, and allocating the at least one selected function to a region that has the smallest allocation cost.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 29 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method of generating a code overlay, the method comprising: generating a static temporal relationship graph (STRG) comprising nodes in which functions of a program are indicated by respective nodes of the STRG, and comprising a conflict miss value that is a maximum number of possible conflict misses between the functions, represented by an edge of the STRG, and changed in response to allocating the functions to a common region of a memory; and selecting a function from the STRG; calculating an allocation cost for each of regions of the memory based on the selected functi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,288,044 B1 | System and method for interprocedural analysis | 2022 | 4 |
References Cited — Backward Prior Art (29)
Non-Patent Literature (5)
- Amit Arvind Pabalkar, A Dynamic Code Mapping Technique for Scratchpad Memories in Embedded Systems, [Online] Dec. 2008, [Retrieved from the Internet] <http://aviral.lab.asu.edu/temp/publications/thesis/AmitThesis.pdf> 56 pages.
- Amit Arvind Pabalkar, A Dynamic Code Mapping Technique for Scratchpad Memories in Embedded Systems, [Online] Dec. 2008, [Retrieved from the Internet] 56 pages.
- Cytron, Ron, and Paul G. Loewner, An automatic overlay generator, [Online] IBM journal of research and development 30.6 (1986), [Retrieved from the Internet] <http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=5390163> pp. 603-608.
- Cytron, Ron, and Paul G. Loewner, An automatic overlay generator, [Online] IBM journal of research and development 30.6 (1986), [Retrieved from the Internet] pp. 603-608.
- Lian Li, Hui Feng, and Jingling Xue; Compiler-directed scratchpad memory management via graph coloring, [Online] 2009, ACM Trans. Archit. Code Optim. 6, 3, Article 9 (Oct. 2009), 17 pages [Retrieved from the Internet] .