coins.aflow
Interface Edge

All Known Implementing Classes:
EdgeImpl

public interface Edge

Edge interface Interface for edge connecting basic blocks in the control flow graph.


Field Summary
static int LOOP_BACK_EDGE
           
static int LOOP_EXIT_EDGE
           
 
Method Summary
 FlagBox flagBox()
          flagBox: Record flags for an edge.
 BBlock getFromBBlock()
           
 BBlock getToBBlock()
           
 void setFromBBlock(BBlock pBBlock)
           
 void setToBBlock(BBlock pBBlock)
           
 

Field Detail

LOOP_BACK_EDGE

public static final int LOOP_BACK_EDGE
See Also:
Constant Field Values

LOOP_EXIT_EDGE

public static final int LOOP_EXIT_EDGE
See Also:
Constant Field Values
Method Detail

getFromBBlock

public BBlock getFromBBlock()

getToBBlock

public BBlock getToBBlock()

flagBox

public FlagBox flagBox()
flagBox: Record flags for an edge. Usage example: if (edgeName.flagBox().getFlag(Edge.LOOP_BACK_EDGE)) ...; edgeName.flagBox().setFlag(Edge.LOOP_BACK_EDGE, true);


setFromBBlock

public void setFromBBlock(BBlock pBBlock)

setToBBlock

public void setToBBlock(BBlock pBBlock)