Method for performing common subexpression elimination on a rack-N static single assignment language
Abstract
Briefly, in one embodiment, the invention is a method for eliminating common subexpressions in an initial SSA intermediate language representation of at least a portion of a computer program. The method includes (a) inserting a phi-node for an unambiguous definition used in an unambiguous subexpression reaching a join point in the initial intermediate language subsequent to the join point; (b) inserting a phi-node for the unambiguous common subexpression; (c) renaming the unambiguous definition and a subsequent use reached by the definition; and (d) renaming the unambiguous common subexpression.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 64.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for eliminating common subexpressions in an initial SSA intermediate language representation of at least a portion of a computer program, the method comprising: (a) inserting a phi-node for an unambiguous definition used in an unambiguous subexpression reaching a join point in the initial intermediate language subsequent to the join point; (b) inserting a phi-node for the unambiguous common subexpression; (c) renaming the unambiguous definition and a subsequent use reached by the definition; and d) renaming the unambiguous common subexpression.
- Claim 2Depends on #1
The method of claim 1, wherein phi-nodes are inserted in the absence of ambiguity.
- Claim 3Depends on #1
The method of claim 1, wherein phi-nodes are inserted for each global variable.
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 64 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (4)
- Cytron and Gershbein, "Efficient Accommodation of May-Alias Information in SSA Form", published at ACM, pp. 36-45, 1993.
- Cytron and Gershbein, Efficient Accommodation of May Alias Information in SSA Form , published at ACM, pp. 36 45, 1993.
- Munehiro and Ken ichi, Efficient Partial Redundancy Elimination Based on Phi Function Motion , Hoho Shori Gakkai Kenkyu Hokoku, vol. 95, No. 15, pp. 21 30, 1995.
- Munehiro and Ken'ichi, "Efficient Partial Redundancy Elimination Based on Phi-Function Motion", Hoho Shori Gakkai Kenkyu Hokoku, vol. 95, No. 15, pp. 21-30, 1995.