Method for identifying partial redundancies in a new processor architecture
Abstract
The invention, in one embodiment, is a method for compiling at least a portion of a computer program. The method includes (a) inserting a phi-function for a global variable reaching a join point in the intermediate language representation subsequent to the join point without regard to the presence of ambiguity; (b) renaming a definition and any subsequent use of the definition in the intermediate language representation; and (c) identifying a partially redundant load by determining whether any of the operands of the inserted phi-function have not been renamed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 28.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for compiling at least a portion of a computer program, the method comprising: (a) inserting a phi-function for a global variable reaching a join point in an intermediate language representation subsequent to the join point even in the presence of ambiguity; (b) renaming a definition and any subsequent use of the definition in the intermediate language representation; and (c) identifying a partially redundant load by determining whether any operands of the inserted phi-function have not been renamed.
- Claim 2Depends on #1
The method of claim 1, wherein the acts (a)-(b) are repeated at least once before identifying the partially redundant load.
- Claim 3Depends on #1
The method of claim 1, wherein the acts (a)-(b) are repeated until all complex definitions and their uses have been accommodated.
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 28 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- Aho et al., Compilers: Principles, Techniques and Tools, Addison Wesley, 1986, pp. 432 433.
- Aho et al., Compilers: Principles, Techniques and Tools, Addison-Wesley, 1986, pp. 432-433.
- Alfred V. Aho, Revi Sethi, and Jeffrey D. Ullman, Compilers Principles, Techniques, and Tools , (Addison Wesley Publishing Co. 1988), in toto.
- Alfred V. Aho, Revi Sethi, and Jeffrey D. Ullman, Compilers-Principles, Techniques, and Tools, (Addison-Wesley Publishing Co. 1988), in toto.
- Barry K. Rosen, Mark N. Wegman, and F. Kenneth Zadeck, "Global Value Numbers and Redundant Computations," presented at the Fifteenth Annual ACM Symposium on Principles of Programming Languages, sponsored by the Special Interest Group on Automata and Computability Theory and the Special Interest Grou