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

Chris Lattner lattner at cs.uiuc.edu
Tue Oct 29 10:51:02 PST 2002


Changes in directory llvm/include/llvm/CodeGen:

InterferenceGraph.h updated: 1.3 -> 1.4

---
Log message:

Remove unneeded #include


---
Diffs of the changes:

Index: llvm/include/llvm/CodeGen/InterferenceGraph.h
diff -u llvm/include/llvm/CodeGen/InterferenceGraph.h:1.3 llvm/include/llvm/CodeGen/InterferenceGraph.h:1.4
--- llvm/include/llvm/CodeGen/InterferenceGraph.h:1.3	Tue Oct 29 10:42:31 2002
+++ llvm/include/llvm/CodeGen/InterferenceGraph.h	Tue Oct 29 10:50:06 2002
@@ -18,20 +18,19 @@
 */
 
 
-#ifndef  INTERFERENCE_GRAPH_H
-#define  INTERFERENCE_GRAPH_H
-
-
-#include "llvm/CodeGen/IGNode.h"
-
-typedef std::vector <IGNode *> IGNodeListType;
+#ifndef INTERFERENCE_GRAPH_H
+#define INTERFERENCE_GRAPH_H
 
+#include <vector>
+class LiveRange;
+class RegClass;
+class IGNode;
 
 class InterferenceGraph {
   char **IG;                            // a poiner to the interference graph
   unsigned int Size;                    // size of a side of the IG
   RegClass *const RegCl;                // RegCl contains this IG
-  IGNodeListType IGNodeList;            // a list of all IGNodes in a reg class
+  std::vector<IGNode *> IGNodeList;     // a list of all IGNodes in a reg class
                             
  public:
   // the matrix is not yet created by the constructor. Call createGraph() 
@@ -51,8 +50,8 @@
 
   void mergeIGNodesOfLRs(const LiveRange *LR1, LiveRange *LR2);
 
-  IGNodeListType &getIGNodeList() { return IGNodeList; } 
-  const IGNodeListType &getIGNodeList() const { return IGNodeList; } 
+  std::vector<IGNode *> &getIGNodeList() { return IGNodeList; } 
+  const std::vector<IGNode *> &getIGNodeList() const { return IGNodeList; } 
 
   void setCurDegreeOfIGNodes();
 





More information about the llvm-commits mailing list