diff options
| author | Tanya Lattner <tonic@nondot.org> | 2004-05-08 16:12:10 +0000 |
|---|---|---|
| committer | Tanya Lattner <tonic@nondot.org> | 2004-05-08 16:12:10 +0000 |
| commit | a6820d6704cb817717ccfde3168cafd2af960bb5 (patch) | |
| tree | 5bb626634a53160ea7134ea9c7a4c3452b8de092 /llvm/lib/CodeGen/ModuloScheduling/MSchedGraph.h | |
| parent | 1096ba9422bbf6bb9845af509a0547ef5d2c1113 (diff) | |
| download | bcm5719-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.h | 4 |
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; |

