public class OfflineProcessor
extends java.lang.Object
Constructor and Description |
---|
OfflineProcessor(GeomPointsTo pta) |
Modifier and Type | Method and Description |
---|---|
void |
addUserDefPts(java.util.Set<Node> initVars)
Compute the refined points-to results for specified pointers.
|
protected void |
buildDependenceGraph()
The dependence graph reverses the assignment relations.
|
protected void |
buildImpactGraph()
The dependence graph will be destroyed and the impact graph will be built.
|
protected void |
computeReachablePts()
Compute a set of pointers that required to refine the seed pointers.
|
protected void |
computeWeightsForPts()
Prepare for a near optimal worklist selection strategy inspired by Ben's PLDI 07 work.
|
void |
defaultFeedPtsRoutines() |
void |
destroy() |
protected void |
distillConstraints()
Eliminate the constraints that do not contribute points-to information to the seed pointers.
|
void |
init()
Call it before running the optimizations.
|
void |
releaseSparkMem() |
void |
runOptimizations()
Preprocess the pointers and constraints before running geomPA.
|
protected void |
setAllUserCodeVariablesUseful()
All the pointers that we need their points-to information are marked.
|
public OfflineProcessor(GeomPointsTo pta)
public void init()
public void defaultFeedPtsRoutines()
public void addUserDefPts(java.util.Set<Node> initVars)
initVars
- public void releaseSparkMem()
public void runOptimizations()
useSpark
- multiCallsites
- public void destroy()
protected void buildDependenceGraph()
protected void setAllUserCodeVariablesUseful()
virtualBaseSet
- protected void computeReachablePts()
protected void distillConstraints()
protected void buildImpactGraph()
protected void computeWeightsForPts()