harpoon.Analysis
Interface BasicBlockFactoryInterf<HCE extends HCodeElement,BB extends BasicBlockInterf<HCE,BB>>

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

public interface BasicBlockFactoryInterf<HCE extends HCodeElement,BB extends BasicBlockInterf<HCE,BB>>

BasicBlockFactoryInterf

Version:
$Id: BasicBlockFactoryInterf.java,v 1.3 2002/04/10 02:58:48 cananian Exp $
Author:
Alexandru SALCIANU <salcianu@MIT.edu>

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

Method Detail

getHCode

HCode<HCE> getHCode()
Returns the HCode that this factory produces basic blocks of.


getRootBBInterf

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


getLeavesBBInterf

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


blockSet

Set<BB> blockSet()
Returns the BasicBlocks constructed by the factory.


getBBInterf

BB getBBInterf(HCE 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.