[llvm-commits] CVS: llvm/include/llvm/CodeGen/PhyRegAlloc.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Jan 15 13:57:00 PST 2003
Changes in directory llvm/include/llvm/CodeGen:
PhyRegAlloc.h updated: 1.40 -> 1.41
---
Log message:
Remvoe dependency on RegClass.h
---
Diffs of the changes:
Index: llvm/include/llvm/CodeGen/PhyRegAlloc.h
diff -u llvm/include/llvm/CodeGen/PhyRegAlloc.h:1.40 llvm/include/llvm/CodeGen/PhyRegAlloc.h:1.41
--- llvm/include/llvm/CodeGen/PhyRegAlloc.h:1.40 Sat Dec 28 21:12:52 2002
+++ llvm/include/llvm/CodeGen/PhyRegAlloc.h Wed Jan 15 13:56:21 2003
@@ -19,8 +19,8 @@
#ifndef PHY_REG_ALLOC_H
#define PHY_REG_ALLOC_H
-#include "llvm/CodeGen/RegClass.h"
#include "llvm/CodeGen/LiveRangeInfo.h"
+#include "Support/NonCopyable.h"
#include <map>
class MachineFunction;
@@ -28,6 +28,7 @@
class FunctionLiveVarInfo;
class MachineInstr;
class LoopInfo;
+class RegClass;
//----------------------------------------------------------------------------
// Class AddedInstrns:
@@ -49,7 +50,7 @@
// registers for a Function.
//----------------------------------------------------------------------------
-class PhyRegAlloc: public NonCopyable {
+class PhyRegAlloc : public NonCopyable {
std::vector<RegClass *> RegClassList; // vector of register classes
const TargetMachine &TM; // target machine
const Function *Fn; // name of the function we work on
@@ -66,7 +67,7 @@
AddedInstrns AddedInstrAtEntry; // to store instrns added at entry
LoopInfo *LoopDepthCalc; // to calculate loop depths
- ReservedColorListType ResColList; // A set of reserved regs if desired.
+ std::vector<unsigned> ResColList; // A set of reserved regs if desired.
// currently not used
public:
More information about the llvm-commits
mailing list