summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-04 05:56:09 +0000
committerChris Lattner <sabre@nondot.org>2002-02-04 05:56:09 +0000
commit49562d844226b945d5ac1c6cffc1afdcfa8a309e (patch)
treef7e066919d674a735329f3cab4158f297843d02c /llvm/lib
parenta8171dd554849bdb944952494e31663e12215198 (diff)
downloadbcm5719-llvm-49562d844226b945d5ac1c6cffc1afdcfa8a309e.tar.gz
bcm5719-llvm-49562d844226b945d5ac1c6cffc1afdcfa8a309e.zip
Add #includes neccesary since they were removed from .h files
llvm-svn: 1675
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp4
-rw-r--r--llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp3
2 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
index b66e6ef308b..b5f9275be4b 100644
--- a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
+++ b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
@@ -1,4 +1,8 @@
#include "llvm/CodeGen/LiveRangeInfo.h"
+#include "llvm/CodeGen/RegClass.h"
+#include "llvm/CodeGen/MachineInstr.h"
+#include "llvm/Target/TargetMachine.h"
+#include "llvm/Method.h"
#include <iostream>
using std::cerr;
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
index 6ba63e3051d..7efb469b457 100644
--- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
+++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
@@ -14,6 +14,7 @@
#include "llvm/CodeGen/PhyRegAlloc.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineCodeForMethod.h"
+#include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/MachineFrameInfo.h"
#include <iostream>
@@ -36,7 +37,7 @@ bool RegisterAllocation::runOnMethod(Method *M) {
cerr << "\n******************** Method "<< M->getName()
<< " ********************\n";
- MethodLiveVarInfo LVI(M ); // Analyze live varaibles
+ MethodLiveVarInfo LVI(M); // Analyze live varaibles
LVI.analyze();
PhyRegAlloc PRA(M, Target, &LVI); // allocate registers
OpenPOWER on IntegriCloud