diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-29 16:51:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-29 16:51:05 +0000 |
commit | cb6b4bd1c6245ce78214210655eecf12cd8a4db2 (patch) | |
tree | b998d3ae574bbbc4ea9e42b5c7f140a4e3c2d6f9 /lib/CodeGen/RegAlloc/RegClass.cpp | |
parent | 770feb4bfcd920498ec24296685495678579bb65 (diff) |
Add #includes that were eliminated from headers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4380 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAlloc/RegClass.cpp')
-rw-r--r-- | lib/CodeGen/RegAlloc/RegClass.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAlloc/RegClass.cpp b/lib/CodeGen/RegAlloc/RegClass.cpp index 788921ba01..65716cf2f2 100644 --- a/lib/CodeGen/RegAlloc/RegClass.cpp +++ b/lib/CodeGen/RegAlloc/RegClass.cpp @@ -6,6 +6,7 @@ #include "llvm/CodeGen/RegClass.h" #include "llvm/CodeGen/RegAllocCommon.h" +#include "llvm/CodeGen/IGNode.h" using std::cerr; //---------------------------------------------------------------------------- @@ -253,5 +254,14 @@ void RegClass::colorIGNode(IGNode *const Node) } +void RegClass::printIGNodeList() const { + std::cerr << "IG Nodes for Register Class " << RegClassID << ":" << "\n"; + IG.printIGNodeList(); +} + +void RegClass::printIG() { + std::cerr << "IG for Register Class " << RegClassID << ":" << "\n"; + IG.printIG(); +} |