Patents
US 6,895,580 B2#5293488 Most CitedExpiredUnited States (USPTO)Utility

Expression reduction during compilation through routine cloning

17Forward Citations (#5293488 Global)
0.8/yrCitation Velocity (#9057934 Global)
3.15Citation PageRank (#6995335 Global)
4Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

An apparatus, program product, and method utilize routine cloning to optimize the performance of a compiled computer program. Within a compiled representation of a computer program, an implementation of a called routine is generated that has the same external response as the original routine, but is modified from the original routine to calculate the result of an expression, which was originally provided as an input parameter to the routine, within the body of the routine. In addition, the signature of the new implementation of the routine is modified to accept, in lieu of the input parameter that originally received the result of the expression, one or more input parameters representative of the argument(s) to be operated upon by the expression.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method of compiling a computer program, the method comprising: (a) identifying in a first representation of the computer program a routine call that passes an expression as an input parameter to a routine in the first representation of the computer program; (b) generating within a second representation of the computer program an implementation of the routine that calculates the expression; and (c) generating within the second representation of the computer program an implementation of the routine call that passes at least one argument for the expression to the implementation of the routine.

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the first representation of the computer program comprises an intermediate representation, and wherein the second representation of the computer program comprises a revised representation.

  3. Claim 3Depends on #2

    The method of claim 2 , wherei

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (1)

  • Cooper et al., "Procedure Cloning", IEEE, pp.: 96-105, 1992.