annotate src/share/tools/IdealGraphVisualizer/ControlFlowEditor/src/at/ssw/visualizer/cfg/model/.svn/text-base/CfgNode.java.netbeans-base @ 4487:aae5b3773e63

Added CFG editor from c1visualizer.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 31 Jan 2012 00:23:10 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4487
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
1 package at.ssw.visualizer.cfg.model;
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
2
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
3 import at.ssw.visualizer.model.cfg.BasicBlock;
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
4
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
5
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
6 public interface CfgNode {
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
7 //testers
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
8 public boolean isOSR();
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
9 public boolean isRoot();
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
10 public boolean isLoopHeader();
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
11 public boolean isLoopMember();
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
12
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
13 //getters
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
14 public int getLevel();
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
15 public int getLoopDepth();
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
16 public int getLoopIndex();
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
17 public int getNodeIndex();
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
18 public CfgEdge[] getInputEdges();
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
19 public CfgEdge[] getOutputEdges();
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
20 public BasicBlock getBasicBlock();
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
21 public String getDescription();
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
22
aae5b3773e63 Added CFG editor from c1visualizer.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff changeset
23 }