Remove unneeded #include

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4377 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-10-29 16:50:06 +00:00
parent 9538cecf27
commit 97d688515e
3 changed files with 27 additions and 30 deletions

View File

@ -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 @@ class InterferenceGraph {
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();

View File

@ -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 @@ class InterferenceGraph {
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();

View File

@ -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 @@ class InterferenceGraph {
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();