Application of optimization techniques to intermediate representations for code generation
AssigneeThe MathWorks, Inc.
InventorXiaocang Lin
Life of this patent
Estimating the term…
Abstract
The present invention provides a method and system for optimization of an intermediate representation in a graphical modeling environment. A first intermediate representation is provided. At least one optimization technique is applied to the first intermediate representation. A second intermediate representation is generated responsive to the application of the at least one optimization technique to the first intermediate representation.
Claims71
In a graphical modeling environment, a method for optimizing an intermediate representation, comprising the steps of:
- (a) providing a first intermediate representation derived from at least one implementation in at least one source language of a system model in the graphical modeling environment;
- (b) applying at least one optimization technique to the first intermediate representation;
- and
- (c) generating a second intermediate representation responsive to the applying of the at least one optimization technique to the first intermediate representation.
In a graphical modeling environment, a system for optimizing an intermediate representation comprising:
- a first intermediate representation, derived from at least one implementation in at least one source language of a system model in the graphical modeling environment;
- an analyzer analyzing the first intermediate representation and applying at least one optimization technique to the first intermediate representation;
- and
- a generator generating a second intermediate representation responsive to the applying of the at least one optimization technique to the first intermediate representation.
In an electronic device, a medium holding computer executable instructions for a method of optimizing an intermediate representation, said method comprising the steps of:
- (a) providing a first intermediate representation derived from at least one implementation in at least one source language of a system model in a graphical modeling environment;
- (b) applying at least one optimization technique to the first intermediate representation;
- and
- (c) generating a second intermediate representation in response to the application of the at least one optimization technique to the first intermediate representation.
In a graphical modeling environment, a method for optimizing a first intermediate representation of a system model, comprising the steps of:
- Receiving from a user an identification of what portion of the model to apply an optimization technique to;
- Applying the optimization technique to a portion of the first intermediate representation that corresponds to the portion of the model identified by the user to produce a second intermediate representation used for code generation for the system mode.
In a graphical modeling environment, a medium holding instruction for performing a method for optimizing a first intermediate representation of a system model, comprising the steps of:
- receiving from a user an identification of what portion of the model to apply an optimization technique to;
- and
- applying the optimization technique to a portion of the first intermediate representation that corresponds to the portion of the model identified by the user to produce a second intermediate representation used for code generation for the system mode.
Dependencies are inferred from the claim text.