Method and apparatus for static single assignment form dead code elimination
Abstract
A method and apparatus for SSA dead code elimination includes examining a first instruction off a worklist, wherein the first instruction includes previous link and a write mask and the first instruction is an SSA instruction. The method and apparatus further includes examining at least one second instruction of the machine code, wherein the at least one second instructions are sources of the first instruction and the at least one second instructions are SSA instruction. In the method and apparatus, each of the at least one second instructions include a previous link and a write mask. The method and apparatus further includes determining if any components within a particular field of the at least one second instruction are live. If none of the components are live, the method and apparatus provides for deleting the second instruction from the machine code as it is determined that this instruction is extraneous, dead code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 0.
Claims (1)
- Claim 1Independent Claim
A method for static single assignment form dead code elimination, the method comprising: examining a first instruction of a machine code off of a worklist in memory, wherein the first instruction includes a previous link and a write mask, wherein said write mask includes a bit corresponding to a component produced by said first instruction; examining at least one second instruction, wherein the at least one second instruction is a source of the first instruction and wherein each of the at least one second instruction includes a previous link and a second write mask, wherein said second write m
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (18)
| Patent | Title | Year | Citations |
|---|---|---|---|
| JP 6,049,667 B2 | 印刷可能半導体素子を製造して組み立てるための方法及びデバイス | 2016 | 0 |
| RU 2004128660 A | Способ выпуска руды из блоков | — | 0 |
Non-Patent Literature (3)
- R. Cytron et al., Efficiently Computing Static Single Assignment Form and the Control Dependence Graph, ACM Trans on Programming Languages and Systems, Mar. 7, 1991, pp. 1-46.
- Rosen, Barry K. et al.; Global Value Numbers and Redundant Computations; 1988; pp. 12-27: supplied by the British Library, www.bl.uk.
- Simpson, Loren Taylor, "Value-Driven Redundancy Elimination", a Thesis submitted in partial fulfillment of the requirements of the degree Doctor of Philosophy, Apr. 1996, Houston, Texas.