×

Optimizer for program loops

  • US 5,457,799 A
  • Filed: 03/01/1994
  • Issued: 10/10/1995
  • Est. Priority Date: 03/01/1994
  • Status: Expired due to Term
First Claim
Patent Images

1. A computer implemented method for optimizing loops of a program, comprising the steps of:

  • partitioning the program into a plurality of procedures, each procedure of said plurality of procedures including instructions related for execution;

    constructing a program call graph for the program, said program call graph to indicate a flow of execution among said plurality of procedures;

    identifying a specific one of said plurality of procedures as a dominating procedure, a dominating procedure being one of said plurality of procedures that calls any of said plurality of procedures more than once;

    identifying a particular procedure of said plurality of procedures as a descendant procedure of said dominating procedure, said second procedure being called by said dominating procedure, said descendant procedure and said dominating procedure designated as a loop region;

    identifying said descendant procedure as a step procedure when said descendant procedure is called by any of said plurality of procedures other than said dominating procedure and said descendant procedure;

    removing said step procedure from said loop region.

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