harpoon.Analysis.PointerAnalysis
Class PointerAnalysisCompStage
java.lang.Object
harpoon.Main.CompilerStage
harpoon.Main.CompilerStageEZ
harpoon.Analysis.PointerAnalysis.PointerAnalysisCompStage
public class PointerAnalysisCompStage
- extends CompilerStageEZ
PointerAnalysisCompStage
- Version:
- $Id: PointerAnalysisCompStage.java,v 1.10 2004/03/05 22:18:14 salcianu Exp $
- Author:
- Alexandru Salcianu <salcianu@MIT.edu>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PointerAnalysisCompStage
public PointerAnalysisCompStage(boolean extEnabled)
- Creates a
PointerAnalysisCompStage
object.
- Parameters:
extEnabled
- If true
, this
compiler stage is enabled even if no direct task is indicated
in the command line options. In general, this corresponds to
the case where the PointerAnalysis
object created
here is required by a later stage.
PointerAnalysisCompStage
public PointerAnalysisCompStage()
- Convenient constructor: the created compiler stage is not
externally enabled.
getPAAndAppsStage
public static CompilerStage getPAAndAppsStage()
- Returns a compiler stage that is the sequential composition of
a Pointer Analysis Construction stage
(
PointerAnalysisCompStage
), a stage that uese
pointer analysis information for allocation optimizations and
synchronization removal (AllocSyncOptCompStage
,
and a stage that offers support for debugging and optimizing
RTJ programs (PARTJSupportCompStage
).
- See Also:
PointerAnalysisCompStage
,
AllocSyncOptCompStage
,
PARTJSupportCompStage.
getOptions
public List<Option> getOptions()
- Overrides:
getOptions
in class CompilerStageEZ
enabled
public boolean enabled()
- Specified by:
enabled
in class CompilerStage
selfEnabled
public boolean selfEnabled()
real_action
protected void real_action()
- Specified by:
real_action
in class CompilerStageEZ