Inventors:
Frederick Chow - Fremont CA
Sun Chan - Fremont CA
Raymond Lo - Sunnyvale CA
Mark Streich - Fremont CA
Assignee:
Silicon Graphics, Inc. - Mountain View CA
International Classification:
G06F 945
Abstract:
A system and method for an optimizer of a compilation suite for representing aliases and indirect memory operations in static single assignment (SSA) during compilation of a program having one or more basic blocks of source code. The optimizer converts all scalar variables of said program to SSA form, wherein said SSA form includes a plurality of variable versions, zero or more occurrences of a. chi. function, zero or more occurences of a. phi. function, and zero or more occurrences of a. mu. function. The. chi. function,. phi. function, and. mu. function are inserted for the variable versions. The optimizer also determines whether a variable version can be renamed to a zero version, and upon such a determination, the optimizer renames the variable version to a zero version. The optimizer further converts all indirect variables of a program to SSA form, wherein the SSA form includes a plurality of virtual variable versions such that a virtual variable is assigned to an indirect variable, zero or more occurrences of a. chi. function, zero or more occurences of a. phi.