×

Stable transitions in the presence of conditionals for an advanced dual-representation polyhedral loop transformation framework

  • US 8,056,065 B2
  • Filed: 09/26/2007
  • Issued: 11/08/2011
  • Est. Priority Date: 09/26/2007
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method, in a data processing system, for optimizing program code, comprising:

  • receiving source code for a program in a compiler executed by at least one processor of the data processing system;

    transforming, by the at least one processor, the source code into a first program statement view of the source code;

    transforming, by the at least one processor, the first program statement view of the source code into a program loop view of the source code;

    applying, by the at least one processor, one or more code generation optimizations to the program loop view of the source code to generate first optimized code;

    generating, by a polyhedral rescan module of a re-entrance path executed by the at least one processor, a second program statement view of the source code based on the first optimized code and information maintained for each statement in the first program statement view, describing how the source code was transformed into the first program statement view;

    generating, by the at least one processor, second optimized code based on the second program statement view of the source code; and

    outputting, by the at least one processor, optimized code, based on the second optimized code, to the compiler for use in generating executable code for execution on a computing device, wherein generating the second program statement view via the re-entrance path comprises recombining instances of statements in the program loop view prior to a polyhedral rescan operation of the re-entrance path being performed on the program loop view of the source code.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×