harpoon.Analysis
Interface BasicBlockFactoryInterf

All Known Implementing Classes:
BasicBlock.Factory, FCFGBasicBlock.Factory

public interface BasicBlockFactoryInterf

BasicBlockFactoryInterf

Version:
$Id: BasicBlockFactoryInterf.java,v 1.2 2002/02/25 20:56:09 cananian Exp $
Author:
Alexandru SALCIANU <salcianu@MIT.edu>

Method Summary
 Set blockSet()
          Returns the BasicBlocks constructed by the factory.
 BasicBlockInterf getBBInterf(HCodeElement hce)
          Returns the BasicBlockInterf containing hce.
 HCode getHCode()
          Returns the HCode that this factory produces basic blocks of.
 Set getLeavesBBInterf()
          Returns the leaf BasicBlockInterfs.
 BasicBlockInterf getRootBBInterf()
          Returns the root BasicBlockInterfs.
 

Method Detail

getHCode

public HCode getHCode()
Returns the HCode that this factory produces basic blocks of.


getRootBBInterf

public BasicBlockInterf getRootBBInterf()
Returns the root BasicBlockInterfs.
effects: returns the BasicBlock that is at the start of the set of HCodeElements being analyzed.


getLeavesBBInterf

public Set getLeavesBBInterf()
Returns the leaf BasicBlockInterfs.
effects: returns a Set of BasicBlocks that are at the ends of the HCodeElements being analyzed.


blockSet

public Set blockSet()
Returns the BasicBlocks constructed by the factory.


getBBInterf

public BasicBlockInterf getBBInterf(HCodeElement hce)
Returns the BasicBlockInterf containing hce.
requires: hce is present in the code for this.
effects: returns the basic block that contains hce, or null if hce is unreachable.