summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAlloc/RegClass.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-04 05:52:08 +0000
committerChris Lattner <sabre@nondot.org>2002-02-04 05:52:08 +0000
commitb0da8b2de1eb319dba1dad6e89739a3224cf961e (patch)
tree2f101671598e0619684c4bc9c7d25f2f2fec55ca /llvm/lib/CodeGen/RegAlloc/RegClass.h
parent73645f3b941a0d37225672420c1911f111f5dad0 (diff)
downloadbcm5719-llvm-b0da8b2de1eb319dba1dad6e89739a3224cf961e.tar.gz
bcm5719-llvm-b0da8b2de1eb319dba1dad6e89739a3224cf961e.zip
* 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 llvm-svn: 1672
Diffstat (limited to 'llvm/lib/CodeGen/RegAlloc/RegClass.h')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/RegClass.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/RegClass.h b/llvm/lib/CodeGen/RegAlloc/RegClass.h
index fe25986f408..1e5f5513725 100644
--- a/llvm/lib/CodeGen/RegAlloc/RegClass.h
+++ b/llvm/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
OpenPOWER on IntegriCloud