Method of generating optimised stack code
First Claim
Patent Images
1. A method for generating optimised stack code from a register-based representation, including the steps of:
- i) creating a dependence graph from the representation;
ii) removing true dependencies from the dependence graph by matching portions of the dependence graph with a set of patterns; and
iii) defining stack code corresponding to the dependence graph using code generation rules associated with each patter.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention relates to a method for generating optimised stack code for a stack-based machine from a register-based representation of the original code. The method includes the steps of: creating a dependence graph from the representation; removing true dependencies from the dependence graph by matching portions of the dependence graph with a set of patterns; and defining stack code corresponding to the dependence graph using code generation rules associated with each pattern.
-
Citations
22 Claims
-
1. A method for generating optimised stack code from a register-based representation, including the steps of:
-
i) creating a dependence graph from the representation;
ii) removing true dependencies from the dependence graph by matching portions of the dependence graph with a set of patterns; and
iii) defining stack code corresponding to the dependence graph using code generation rules associated with each patter. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 21)
-
-
18. A system for generating optimised stack code from a register-based representation, including:
a processor arranged for creating a dependence graph from the representation;
removing true dependencies from the dependence graph by matching portions of the dependence graph with a set of patterns; and
defining stack code corresponding to the dependence graph using code generation rules associated with each pattern.- View Dependent Claims (20, 22)
Specification