[llvm-commits] CVS: llvm/include/llvm/CodeGen/SchedGraphCommon.h

Tanya Brethour tbrethou at cs.uiuc.edu
Sat May 8 11:15:02 PDT 2004


Changes in directory llvm/include/llvm/CodeGen:

SchedGraphCommon.h updated: 1.10 -> 1.11

---
Log message:

Fixed up sched graph.


---
Diffs of the changes:  (+3 -4)

Index: llvm/include/llvm/CodeGen/SchedGraphCommon.h
diff -u llvm/include/llvm/CodeGen/SchedGraphCommon.h:1.10 llvm/include/llvm/CodeGen/SchedGraphCommon.h:1.11
--- llvm/include/llvm/CodeGen/SchedGraphCommon.h:1.10	Mon Feb  9 12:43:06 2004
+++ llvm/include/llvm/CodeGen/SchedGraphCommon.h	Sat May  8 11:14:24 2004
@@ -79,9 +79,7 @@
   // 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 @@
   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;
   }





More information about the llvm-commits mailing list