Patents
US 7,302,679 B2#3282777 Most CitedExpiredUnited States (USPTO)Utility

Scalable cross-file inlining through locality-based transformation ordering

24Forward Citations (#3282777 Global)
1.3/yrCitation Velocity (#4682882 Global)
2.83Citation PageRank (#8306616 Global)
14Prior Art Cited
2Claims (2 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

One embodiment disclosed relates to a method of compiling a computer program from a plurality of files of source code. An inline analysis determines which call sites in the plurality of files to make inline. An inline transformation performs the inlining within currently opened files. The transformer dynamically determines the order of inlines independent of the analyzer by taking into account the disk input-output pressure during compilation. The resulting inline order minimizes the input and output of files from and to disk respectively by considering the inline affinity between files and maintains the best run-time performance by preserving the dependences between call sites. During the inline transformation, a determination of which files to open and close is made in dependence on an affinity weighting between the files. The affinity and the dependence relationships are continuously updated in order to generate the best transformation ordering among call sites that ensures compile-time scalability and improved run-time performance.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 24.

Claims (2 — 2 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of cross-file inlining during compilation of a program, wherein which files to open and close is determined based on affinity weightings between the files, wherein the affinity weightings depend on call sites and a related number of potential inlines between the files, the method comprising: performing an iterative process including (i) choosing an edge in an inline affinity graph with a highest affinity weighting, (ii) retrieving and opening source files corresponding to the chosen edge, (iii) allowing inlines to proceed between the opened source files subject to inline dependencies

  2. Claim 2Independent Claim

    A method o

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 24 total)

PatentTitleYearCitations
US 8,225,299 B2Program converting apparatus, method, and program20123
US 9,244,666 B2Globally inline a callee with high cost-effectiveness on the basis only of profile information in a call graph20162
US 9,870,264 B2Methods and systems for coordinated transactions in distributed and parallel environments20180
US 2008098372 A1Program Converting Apparatus, Method, and Program—2
US 9,495,141 B1Expanding inline function calls in nested inlining scenarios20163
US 2011271264 A1Method for the translation of programs for reconfigurable architectures—6
US 2009037910 A1Methods and systems for coordinated transactions in distributed and parallel environments—18
US 8,091,079 B2Implementing shadow versioning to improve data dependence analysis for instruction scheduling20121
US 2011078667 A1Static code analysis for packaged application customization—24
US 2011029819 A1System and method for providing program tracking information—25
US 2009276765 A1Compiler driven mechanism for registration and deregistration of memory pages—15
US 8,661,442 B2Systems and methods for processing compound requests by computing nodes in distributed and parrallel environments by assigning commonly occuring pairs of individual requests in compound requests to a same computing node20141
US 2009064121 A1Systems, methods, and computer products for implementing shadow versioning to improve data dependence analysis for instruction scheduling—4
US 2015268941 A1Globally Inline a Callee with High Cost-Effectiveness on the Basis Only of Profile Information in a Call Graph—6
US 8,612,953 B2Compiler driven mechanism for registration and deregistration of memory pages20130

References Cited — Backward Prior Art (14)

PatentTitleYearCitations
US 5,428,793 AMethod and apparatus for compiling computer programs with interproceduural register allocation1995100
US 5,555,417 AMethod and apparatus for compiling computer programs with interprocedural register allocation1996122
US 5,740,443 ACall-site specific selective automatic inlining199890
US 5,857,105 ACompiler for reducing number of indirect calls in an executable code199950
US 5,920,723 ACompiler with inter-modular procedure optimization199957
US 5,978,588 AMethod and apparatus for profile-based code placement using a minimum cut set of the control flow graph1999104
US 6,195,793 B1Method and computer program product for adaptive inlining in a computer system200137
US 6,292,940 B1Program complete system and its compile method for efficiently compiling a source program including an indirect call for a procedure200146
US 2002066081 A1Speculative caching scheme for fast emulation through statically predicted execution traces in a caching dynamic translator—92
US 2005097528 A1Cross-file inlining by using summaries and global worklist—34
US 6,971,091 B1System and method for adaptively optimizing program execution by sampling at selected program points2005119
US 7,058,561 B1System, method and program product for optimising computer software by procedure cloning200626
US 7,120,906 B1Method and computer program product for precise feedback data generation and updating for compile-time optimizations200629
US 7,146,606 B2General purpose intermediate representation of software for software development tools200646

Non-Patent Literature (5)

  • Andrew Ayers, et al., "Aggressive InLining", ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), 1997, pp. 134-145.
  • Andrew Ayers, et al., "Scalable Cross-Module Optimization", ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), 1998, pp. 301-312.
  • Chang, Pohua P; Mahlke, Scott A; Chen, William Y; Hwu, Wen-Mei W; "Profile guided Automatic Inline Expansion for C Programs", p. 349-369, Software Practice and Experience, vol. 22(5), May 1992, retrieved Jun. 18, 2007.
  • Chen, William Y; Chang, Pohua P; Conte, Thomas M; Hwu, Wen-mei W; "The Effect of Code Expanding Optimizations on Instruction Cache Design", p. 1-36, 1992, retrieved from citeseer.com on Jun. 18, 2007.
  • Dolby, Julian; Chien, Andrew A; "An Evaluation of Automatic Object Inline Allocation Techniques", p. 1-20, 1998 ACM retrieved Feb. 5, 2007.