diff options
author | Chris Lattner <sabre@nondot.org> | 2002-02-04 05:52:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-02-04 05:52:08 +0000 |
commit | 2182c785c22a3e805d7d38708e75e5d30c547fdf (patch) | |
tree | fef38257c2cfce3e1726147e914cabf0a81e9cd8 /lib/CodeGen/RegAlloc/RegClass.h | |
parent | 9e881eb60d8dad093e8ce03f45860df8ac43837c (diff) |
* Minor cleanups
* Reduce number of #includes, sometimes drastically (LiveRangeInfo.h lost _7_)
* Move instrIsFeasible() from InstrScheduling.h to SchedPriorities.h
* Delete blank lines at end of files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAlloc/RegClass.h')
-rw-r--r-- | lib/CodeGen/RegAlloc/RegClass.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/CodeGen/RegAlloc/RegClass.h b/lib/CodeGen/RegAlloc/RegClass.h index fe25986f40..1e5f551372 100644 --- a/lib/CodeGen/RegAlloc/RegClass.h +++ b/lib/CodeGen/RegAlloc/RegClass.h @@ -10,12 +10,12 @@ #include "llvm/CodeGen/IGNode.h" #include "llvm/CodeGen/InterferenceGraph.h" -#include "llvm/Target/TargetMachine.h" #include "llvm/Target/MachineRegInfo.h" #include <stack> #include <iostream> +class MachineRegClassInfo; -typedef std::vector<unsigned int> ReservedColorListType; +typedef std::vector<unsigned> ReservedColorListType; //----------------------------------------------------------------------------- @@ -35,14 +35,9 @@ typedef std::vector<unsigned int> ReservedColorListType; // methods are called thru a register class. // //----------------------------------------------------------------------------- -class RegClass -{ - - private: +class RegClass { const Method *const Meth; // Method we are working on - const MachineRegClassInfo *const MRC; // corresponding MRC - const unsigned RegClassID; // my int ID InterferenceGraph IG; // Interference graph - constructed by |