Class StackPRE
java.lang.Object
EDU.purdue.cs.bloat.trans.StackPRE
Eliminate partially redundant local variable loads and stores by replacing
them with stack variables and dups.
The algorithm is similar to SSAPRE, except:
We need to place phis for locals at the IDF of the blocks containing defs and
uses (not just defs).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEBUG
public static boolean DEBUG -
cfg
-
varphis
-
stackvars
-
worklist
protected EDU.purdue.cs.bloat.trans.StackPRE.Worklist worklist
-
-
Constructor Details
-
StackPRE
-
-
Method Details
-
transform
public void transform() -
varPhisAtBlock
-