aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/ModuloScheduling/MSchedGraph.h
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2004-05-08 16:12:10 +0000
committerTanya Lattner <tonic@nondot.org>2004-05-08 16:12:10 +0000
commit73e3e2e10f6a83f72651bb9e7d0a6ad107676ab9 (patch)
tree804cf220cc370b3640c97f7afa7ac9a554a8ed6b /lib/CodeGen/ModuloScheduling/MSchedGraph.h
parent429022bf830f25c1199a47aab5ffd9a0b3f17a1d (diff)
Updating my versions of ModuloScheduling in cvs. Still not complete.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13424 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuloScheduling/MSchedGraph.h')
-rw-r--r--lib/CodeGen/ModuloScheduling/MSchedGraph.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/ModuloScheduling/MSchedGraph.h b/lib/CodeGen/ModuloScheduling/MSchedGraph.h
index 9fe6b52c47..9680fc0994 100644
--- a/lib/CodeGen/ModuloScheduling/MSchedGraph.h
+++ b/lib/CodeGen/ModuloScheduling/MSchedGraph.h
@@ -99,6 +99,10 @@ namespace llvm {
bool hasSuccessors() { return (Successors.size() > 0); }
int getLatency() { return latency; }
MSchedGraphEdge getInEdge(MSchedGraphNode *pred);
+ unsigned getInEdgeNum(MSchedGraphNode *pred);
+
+ bool isSuccessor(MSchedGraphNode *);
+ bool isPredecessor(MSchedGraphNode *);
//Debug support
void print(std::ostream &os) const;