harpoon.Analysis.PointerAnalysis
Class PointerAnalysisCompStage

java.lang.Object
  extended by harpoon.Main.CompilerStage
      extended by harpoon.Main.CompilerStageEZ
          extended by 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>

Field Summary
 
Fields inherited from class harpoon.Main.CompilerStageEZ
attribs, classHierarchy, frame, hcf, linker, mainM, old_cs, roots
 
Constructor Summary
PointerAnalysisCompStage()
          Convenient constructor: the created compiler stage is not externally enabled.
PointerAnalysisCompStage(boolean extEnabled)
          Creates a PointerAnalysisCompStage object.
 
Method Summary
 boolean enabled()
           
 List<Option> getOptions()
           
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).
protected  void real_action()
           
 boolean selfEnabled()
           
 
Methods inherited from class harpoon.Main.CompilerStageEZ
_PACK_CS, _UNPACK_CS, action
 
Methods inherited from class harpoon.Main.CompilerStage
name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.

Method Detail

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