Patent
1995-03-31
1997-08-19
Oberley, Alvin E.
G06F 945
Patent
active
056597541
ABSTRACT:
An optimizing compiler process and apparatus is disclosed for more accurately and efficiently identifying live variable sets in a portion of a target computer program, so as to more efficiently allocate registers in a computer central processing unit. The process of the invention includes the steps of performing a static single assignment transform to a computer program, including the addition of phi functions to a control flow graph. Basic blocks representing a use of a variable are further added to the control flow graph between the phi functions and definitions of the variables converging at the phi functions. A backward dataflow analysis is then performed to identify the live variable sets. The variables in the argument of phi functions are not included as a use of those variables in this dataflow analysis. The dataflow analysis may be iteratively performed until the live variable sets remain constant between iterations. The apparatus of the present invention includes a computer system having a memory storing a set of variables that are live during the execution of a portion of a computer program. This memory may include CPU registers, cache memory, conventional RAM and other types of memory.
REFERENCES:
patent: 4571678 (1986-02-01), Chaitin
patent: 4763255 (1988-08-01), Hopkins et al.
patent: 4782444 (1988-11-01), Munshi et al.
patent: 5249295 (1993-09-01), Briggs et al.
patent: 5293631 (1994-03-01), Rau et al.
patent: 5327561 (1994-07-01), Choi et al.
patent: 5367651 (1994-11-01), Smith et al.
patent: 5367684 (1994-11-01), Smith
patent: 5396631 (1995-03-01), Hayashi et al.
patent: 5418958 (1995-05-01), Goebel
patent: 5448737 (1995-09-01), Burke et al.
Thesis entitled "Register Allocation via Graph Coloring", by Preston Briggs, Rice University, Houston, Texas, Apr. 1992, Title p.-143.
Grove Daniel D.
Schwartz David C.
Basinski Erwin J.
Corcoran, III Peter J.
Oberley Alvin E.
Sun Microsystems Inc.
LandOfFree
Method and apparatus for an improved optimizing compiler does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Method and apparatus for an improved optimizing compiler, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for an improved optimizing compiler will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-1112865