Patents
US 9,817,643 B2#22447556 Most CitedActiveUnited States (USPTO)Utility

Incremental interprocedural dataflow analysis during compilation

5Forward Citations (#22447556 Global)
0.6/yrCitation Velocity (#14460467 Global)
1.11Citation PageRank (#36202187 Global)
38Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Instead of performing local dataflow analyses on all procedures during a multi-file optimized code generation, those dataflow analyses are done only on a generally much smaller set of procedures that were actually impacted by source code edits. Incremental inter-procedural dataflow analysis (IIPDA) code identifies a set of procedures to be recompiled due to impact from one or more edits and does local dataflow analyses only on them. Results of the incremental approach for use in generating optimized code match the results of a more expensive exhaustive interprocedural dataflow analysis of all procedures, even when call graph structure has been changed by the edits. The impacted procedures are identified based on which procedures were edited, dataflow values, intermediate language representations, and a portion of the call graph.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A process to facilitate compilation throughput and programmer productivity for a program which includes a set AS containing all procedures called in the program, the process comprising: (A) initializing a set IS of impacted procedure nodes by including within IS each member of a set BS of basis procedure nodes and marking each member of IS as unvisited, each node being a node in a call graph of the program, procedures represented by nodes of IS being a smaller set of procedures than AS, procedures represented by nodes of BS also being a smaller set of procedures than AS; (B) for each unvisited

Technical Overview & Description

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

References Cited — Backward Prior Art (38)

PatentTitleYearCitations
US 5,170,465 AIncremental-scanning compiler for source-code development system199264
US 5,396,627 AMethod of producing object program based on interprocedural dataflow analysis of a source program199529
US 5,485,616 AUsing program call graphs to determine the maximum fixed point solution of interprocedural bidirectional data flow problems in a compiler1996103
US 5,812,855 ASystem and method for constaint propagation cloning for unknown edges in IPA199846
US 2003005421 A1Interprocedural optimization framework—14
US 6,820,253 B1Method and system for interprocedural analysis with separate compilation200414
US 2006158354 A1Optimised code generation—69
US 2006168565 A1Method and system for change classification—96
US 2007006151 A1Method and apparatus for incremental analysis of one or more properties of a program—30
CN 101,286,119 AMethod for determining function point changing through code analysis—55
US 2009313600 A1Concurrent code generation—44
US 2010128866 A1Modification of system call behavior—14
US 2011209126 A1Inter-procedural analysis of computer programs—11
US 2012084761 A1Interprocedural Exception Method—23
US 2013061215 A1Inter-procedural dead catch handler optimizations—13
US 2013074052 A1Run time incremental compilation of script code—20
US 2013139136 A1Eliminating redundant function calls—6
US 8,473,928 B2Call graph simplification/comparison and automatic initial suspects finding of performance degradations201313
US 8,631,395 B2Inter-procedural dead catch handler optimizations201416
US 8,671,397 B2Selective data flow analysis of bounded regions of computer software applications20147
US 8,683,449 B2Automated parallel software code impact analysis20144
US 2014189656 A1Flow Analysis in Program Execution—3
US 8,806,463 B1Feedback-directed inter-procedural optimization201418
US 2014331201 A1Optimizing intermediate representation of script code for fast path execution—14
US 8,966,455 B2Flow analysis in program execution20154

Non-Patent Literature (5)

  • "International Search Report and Written Opinion Issued in PCT Application No. PCT/US2016/042380", dated Sep. 23, 2016, 12 Pages.
  • "Note to self: Visual Studio Link Time Code Generation | Mostly Buggy", retrieved from <<https://mostlybuggy.wordpress.com/2012/05/06/note-to-self-visual-studio-link-time-code-generation/>>, May 6, 2012, 3 pages.
  • "Second Written Opinion Issued in PCT Application No. PCT/US2016/042380", dated Jun. 21, 2017, 8 Pages.
  • "The Old New Thing: Link-time code generation invalidates a lot of classical assumptions about linking", retrieved from <<http://blogs.msdn.com/b/oldnewthing/archive/2014/06/06/10531604.aspx>>, Jun. 6, 2014, 10 pages.
  • "What are the pros + cons of Link-Time Code Generation? (VS 2005)", retrieved from <<http://stackoverflow.com/questions/288691/what-are-the-pros-cons-of-link-time-code-generation-vs-2005>>, Nov 13, 2008, 2 pages.