Patent ID: 7426722
Filing Date: 2008-09-16
Classification: G06F

Abstract:
1. A method of generating an intermediate representation of a register-based program code written for running on a programmable machine having a set of registers, wherein the set of registers include at least one variable size register which is addressable by the program code in a plurality of different widths, the method comprising the computer-implemented steps of: generating a plurality of register objects each representing a respective one of the registers as referenced by the program, wherein the at least one variable size register is represented by an associated set of the register objects having one of the register objects for each different width of the variable size register; generating a plurality of expression objects each representing a respective operator or operand in the program code relating to the registers; and generating a network of the register objects and the expression objects, wherein each of the expression objects is referenced by one or more of the register objects to which it relates.