Compiler, program product, compilation device, communication terminal device, and compilation method
Abstract
A complier, program product, compilation device, communication terminal device and compilation method that enables parts of a source program having a large number of executions, or parts having a high possibility of a large number of executions, to be extracted with good precision and compiled preferentially. A loop having a multi-nested structure or a single-nested structure is searched for in a main program, and another program that is being called from within this loop is detected. Additionally, a loop having a multi-nested structure or a single-nested structure is searched for in the callee program, and the total number of nests in the loops detected so far is calculated as the loop depth. In other words, the degree of multiplicity in all of the loops forming a multi-nested structure over programs having a calling relationship is calculated as the loop depth. The loop having the greatest loop depth is included in the parts to be compiled preferentially, and only the parts determined as parts to be compiled are compiled.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A program product comprising: a compiler that converts a source program into an object program, and causes a computer to execute: a multi-nested structure detection procedure that detects a multi-nested structure having a unit loop inside another unit loop, and included in the source program; a return destination address detection procedure that detects return destination addresses indicating initial addresses of destinations to which a processing returns in accordance with a final command in each unit loop constituting the multi-nested structure returns; an address overlap determination proce
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (5)
- Bor-Ming Hsieh, "Loop Distribution with Multiple Exits", 1992, retrieved from , pp. 1-11.
- Derek Bruening and Evelyn Duesterwald, "Exploring Optimal Compilation Unit Shapes for an Embedded Just-In-Time Compiler", Feedback-Directed and Dynamic Optimization (FDDO-3), 'Online!, Dec. 2000.
- Ishizaki et al.,"An Algorithm for Automatic Detection of Loop Indices for Communication Overlapping",1997, Springer Berlin / Heidelberg,ISSN 0302-9743 (Print) 1611-3349 (Online), retried from , pp. 1-14.
- John Whaley, "Partial Method Compilation using Dynamic Profile Information", ACM Sigplan Notices, ACM, Association for Computing Machinery, New York, N.Y., US, vol. 36, No. 11, Nov. 2001, pp. 166-179.
- Matthew Arnold et al., "Adaptive Optimization in the Jalapeño JVM", Sigplan Notices, Association for Computing Machinery, New York, N.Y., US, vol. 35, No. 10, Oct. 2000, pp. 47-65.