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/IGNode.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/IGNode.h')
-rw-r--r-- | lib/CodeGen/RegAlloc/IGNode.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/CodeGen/RegAlloc/IGNode.h b/lib/CodeGen/RegAlloc/IGNode.h index b89aea32b1..01ecc13783 100644 --- a/lib/CodeGen/RegAlloc/IGNode.h +++ b/lib/CodeGen/RegAlloc/IGNode.h @@ -28,6 +28,8 @@ #include "llvm/CodeGen/RegAllocCommon.h" #include "llvm/CodeGen/LiveRange.h" +class LiveRange; +class RegClass; //---------------------------------------------------------------------------- // Class IGNode @@ -35,8 +37,7 @@ // Represents a node in an interference graph. //---------------------------------------------------------------------------- -class IGNode -{ +class IGNode { const int Index; // index within IGNodeList bool OnStack; // this has been pushed on to stack for coloring @@ -51,9 +52,7 @@ class IGNode // After that, never incremented/set again nor used. LiveRange *const ParentLR; // parent LR (cannot be a const) - - - public: +public: // constructor // @@ -117,8 +116,9 @@ class IGNode inline void setRegClass(RegClass *const RC) { ParentLR->setRegClass(RC); } - inline RegClass *const getRegClass() const - { return ParentLR->getRegClass(); } + inline RegClass *const getRegClass() const { + return ParentLR->getRegClass(); + } inline bool hasColor() const { return ParentLR->hasColor(); } |