summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ModuloScheduling/MSchedGraph.h
diff options
context:
space:
mode:
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