* Wrap some comments to 80 cols
[oota-llvm.git] / include / llvm / CodeGen / SchedGraphCommon.h
index 5e814137bcbbe52d966a8472799f601d46b5dc9a..167bfb0f2d2ade7c04a8a357846f78157e44ff9a 100644 (file)
@@ -16,7 +16,7 @@
 #define LLVM_CODEGEN_SCHEDGRAPHCOMMON_H
 
 #include "llvm/Value.h"
-#include "Support/iterator"
+#include "llvm/ADT/iterator"
 #include <vector>
 
 namespace llvm {
@@ -79,9 +79,7 @@ protected:
   // disable default constructor and provide a ctor for single-block graphs
   SchedGraphNodeCommon();      // DO NOT IMPLEMENT
   
-  inline SchedGraphNodeCommon(unsigned Id, int index) : ID(Id), latency(0), 
-                                                       origIndexInBB(index) {}
-  inline SchedGraphNodeCommon(unsigned Id, int late, int index) : ID(Id), latency(late), origIndexInBB(index) {}
+  inline SchedGraphNodeCommon(unsigned Id, int index, int late=0) : ID(Id), latency(late), origIndexInBB(index) {}
   
   virtual ~SchedGraphNodeCommon();
   
@@ -160,7 +158,8 @@ public:
   SchedGraphNodeCommon*        getSink() const { return sink; }
   int getMinDelay() const { return minDelay; }
   SchedGraphEdgeDepType getDepType() const { return depType; }
-  
+  unsigned int getDepOrderType() const { return depOrderType; }
+
   const Value* getValue() const {
     assert(depType == ValueDep); return val;
   }