coins.aflow
Class FindPDef

java.lang.Object
  extended bycoins.aflow.util.AnalAdapter
      extended bycoins.aflow.FlowAdapter
          extended bycoins.aflow.FindDef
              extended bycoins.aflow.FindPDef
All Implemented Interfaces:
Analyzer

public class FindPDef
extends FindDef

Finds the "PDef" vector for a BBlcok or a SetRefRepr. The PDef set for a BBlock this class finds always contains SetRefReprs that have subprogram calls. The PDef set for a SetRefRepr always contains the SetRefRepr if it has subprogram calls.


Field Summary
 
Fields inherited from class coins.aflow.FlowAdapter
flow, flowRoot, fResults, hirRoot, ioRoot, symRoot
 
Constructor Summary
FindPDef(FlowResults pResults)
          Creates new FindMod
 
Method Summary
protected  boolean addDefs(java.util.Set pDefSet, SetRefRepr pSetRefRepr)
           
 void find(SetRefRepr pSetRefRepr)
           
protected  void register(BBlock pBBlock, DefVector pVect)
           
 
Methods inherited from class coins.aflow.FindDef
find, find, find
 
Methods inherited from class coins.aflow.FlowAdapter
find, find, find, find, find
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindPDef

public FindPDef(FlowResults pResults)
Creates new FindMod

Method Detail

addDefs

protected boolean addDefs(java.util.Set pDefSet,
                          SetRefRepr pSetRefRepr)
Specified by:
addDefs in class FindDef

register

protected void register(BBlock pBBlock,
                        DefVector pVect)
Specified by:
register in class FindDef

find

public void find(SetRefRepr pSetRefRepr)