forked from OSchip/llvm-project
Add #includes that were eliminated from headers
llvm-svn: 4380
This commit is contained in:
parent
189c099a7f
commit
5abe44bb72
|
@ -5,6 +5,7 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#include "llvm/CodeGen/InterferenceGraph.h"
|
#include "llvm/CodeGen/InterferenceGraph.h"
|
||||||
|
#include "llvm/CodeGen/IGNode.h"
|
||||||
#include "llvm/CodeGen/RegAllocCommon.h"
|
#include "llvm/CodeGen/RegAllocCommon.h"
|
||||||
#include "Support/STLExtras.h"
|
#include "Support/STLExtras.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
#include "llvm/CodeGen/LiveRangeInfo.h"
|
#include "llvm/CodeGen/LiveRangeInfo.h"
|
||||||
#include "llvm/CodeGen/RegAllocCommon.h"
|
#include "llvm/CodeGen/RegAllocCommon.h"
|
||||||
#include "llvm/CodeGen/RegClass.h"
|
#include "llvm/CodeGen/RegClass.h"
|
||||||
|
#include "llvm/CodeGen/IGNode.h"
|
||||||
#include "llvm/CodeGen/MachineInstr.h"
|
#include "llvm/CodeGen/MachineInstr.h"
|
||||||
#include "llvm/CodeGen/MachineFunction.h"
|
#include "llvm/CodeGen/MachineFunction.h"
|
||||||
#include "llvm/Target/TargetMachine.h"
|
#include "llvm/Target/TargetMachine.h"
|
||||||
|
@ -32,7 +33,7 @@ LiveRangeInfo::~LiveRangeInfo() {
|
||||||
// live range. We have to make the other entries NULL when we delete
|
// live range. We have to make the other entries NULL when we delete
|
||||||
// a live range.
|
// a live range.
|
||||||
|
|
||||||
for(LiveRange::iterator LI = LR->begin(); LI != LR->end(); ++LI)
|
for (LiveRange::iterator LI = LR->begin(); LI != LR->end(); ++LI)
|
||||||
LiveRangeMap[*LI] = 0;
|
LiveRangeMap[*LI] = 0;
|
||||||
|
|
||||||
delete LR;
|
delete LR;
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
#include "llvm/CodeGen/RegisterAllocation.h"
|
#include "llvm/CodeGen/RegisterAllocation.h"
|
||||||
#include "llvm/CodeGen/RegAllocCommon.h"
|
#include "llvm/CodeGen/RegAllocCommon.h"
|
||||||
|
#include "llvm/CodeGen/IGNode.h"
|
||||||
#include "llvm/CodeGen/PhyRegAlloc.h"
|
#include "llvm/CodeGen/PhyRegAlloc.h"
|
||||||
#include "llvm/CodeGen/MachineInstr.h"
|
#include "llvm/CodeGen/MachineInstr.h"
|
||||||
#include "llvm/CodeGen/MachineInstrAnnot.h"
|
#include "llvm/CodeGen/MachineInstrAnnot.h"
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
#include "llvm/CodeGen/RegClass.h"
|
#include "llvm/CodeGen/RegClass.h"
|
||||||
#include "llvm/CodeGen/RegAllocCommon.h"
|
#include "llvm/CodeGen/RegAllocCommon.h"
|
||||||
|
#include "llvm/CodeGen/IGNode.h"
|
||||||
using std::cerr;
|
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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue