diff options
Diffstat (limited to 'lib/CodeGen/ModuloScheduling/MSchedGraph.h')
-rw-r--r-- | lib/CodeGen/ModuloScheduling/MSchedGraph.h | 4 |
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; |