harpoon.Analysis.Loops
Interface Loops

All Known Implementing Classes:
LoopFinder

public interface Loops

Loops contains the interface to be implemented by objects generating nested loops trees.

Version:
$Id: Loops.java,v 1.3 2004/02/08 01:52:50 cananian Exp $
Author:
Brian Demsky <bdemsky@mit.edu>

Method Summary
 Set loopBackEdges()
          Returns backedges in the Loop.
 Set loopEntranceEdges()
          Returns entrances to the Loop.
 Set loopEntrances()
          Returns entrances to the Loop.
 Set loopExcElements()
          Returns elements of this loop not in any nested loop.
 Set loopExitEdges()
          Returns nodes that have edges exiting the loop.
 Set loopExits()
          Returns nodes that have edges exiting the loop.
 Set loopIncElements()
          Returns elements of this loops and all nested loop.
 Set nestedLoops()
          Returns a Set containing Loops that are nested.
 Loops parentLoop()
          Returns the loop immediately nesting this loop.
 

Method Detail

loopEntrances

Set loopEntrances()
Returns entrances to the Loop. This is a Set of HCodeElements.


loopExits

Set loopExits()
Returns nodes that have edges exiting the loop. This is a Set of HCodeElements.


loopEntranceEdges

Set loopEntranceEdges()
Returns entrances to the Loop. This is a Set of HCodeEdges.


loopExitEdges

Set loopExitEdges()
Returns nodes that have edges exiting the loop. This is a Set of HCodeEdges.


loopBackEdges

Set loopBackEdges()
Returns backedges in the Loop. This is a Set of HCodeEdges.


loopIncElements

Set loopIncElements()
Returns elements of this loops and all nested loop. This is a Set of HCodeElements.


loopExcElements

Set loopExcElements()
Returns elements of this loop not in any nested loop. This is a Set of HCodeElements.


nestedLoops

Set nestedLoops()
Returns a Set containing Loops that are nested.


parentLoop

Loops parentLoop()
Returns the loop immediately nesting this loop. If this is the highest level loop, returns a null pointer.