Register allocation technique in a program translating apparatus
Abstract
A program translating apparatus includes a detection portion, a separation portion, a register allocation portion, and a register assignment portion. All ranges of existence of variables are separated at starting points and ending points, profits are calculated in cases where split regions of the ranges of existence are respectively allocated to registers, and a priority for register allocation of the respective split regions is calculated. The register allocation/assignment is performed on the basis of the obtained priority.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 22.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A program translating apparatus comprising: detection means for detecting variable starting points and variable ending points in ranges of existence of variables in a same period of time, said detection means examining said ranges of existence of said variables one by one; separation means for separating said ranges of existence of said variables at said variable starting points and variable ending points detected by said detection means; register allocation means for selecting candidatures for split regions permanently allocated to registers by determining profits when the split regions o
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 22 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (4)
- "Allocation by Priority-based Coloring", Proceedings of the ACMSIGPLAN Symposium on Compiler Construction, pp. 222-232 (Jun. 17-22, 1984).
- Allocation by Priority based Coloring , Proceedings of the ACMSIGPLAN Symposium on Compiler Construction, pp. 222 232 (Jun. 17 22, 1984).
- G. J. Chaitin, M. A. Auslander, A. K. Chander, J. Cocke, M. E. Hopkins and P. W. Markstein, "Register Allocation via Coloring", Computer Language 6, pp. 47-57, 1981.
- G. J. Chaitin, M. A. Auslander, A. K. Chander, J. Cocke, M. E. Hopkins and P. W. Markstein, Register Allocation via Coloring , Computer Language 6, pp. 47 57, 1981.