summaryrefslogtreecommitdiffstats
path: root/llvm/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
commita6820d6704cb817717ccfde3168cafd2af960bb5 (patch)
tree5bb626634a53160ea7134ea9c7a4c3452b8de092 /llvm/lib/CodeGen/ModuloScheduling/MSchedGraph.h
parent1096ba9422bbf6bb9845af509a0547ef5d2c1113 (diff)
downloadbcm5719-llvm-a6820d6704cb817717ccfde3168cafd2af960bb5.tar.gz
bcm5719-llvm-a6820d6704cb817717ccfde3168cafd2af960bb5.zip
Updating my versions of ModuloScheduling in cvs. Still not complete.
llvm-svn: 13424
Diffstat (limited to 'llvm/lib/CodeGen/ModuloScheduling/MSchedGraph.h')
-rw-r--r--llvm/lib/CodeGen/ModuloScheduling/MSchedGraph.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/ModuloScheduling/MSchedGraph.h b/llvm/lib/CodeGen/ModuloScheduling/MSchedGraph.h
index 9fe6b52c47e..9680fc09944 100644
--- a/llvm/lib/CodeGen/ModuloScheduling/MSchedGraph.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud