Incremental interprocedural dataflow analysis during compilation
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)
- 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 ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (38)
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.