Add #includes neccesary since they were removed from .h files
authorChris Lattner <sabre@nondot.org>
Mon, 4 Feb 2002 05:56:09 +0000 (05:56 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 4 Feb 2002 05:56:09 +0000 (05:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1675 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp

index b66e6ef308b34dd6eb558d67f89df70081c886a7..b5f9275be4bf543db868cad5c1d7f81fc1ec6bb9 100644 (file)
@@ -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;
 
index 6ba63e3051d8070a19fcc9dabc383fa6a6e50b5d..7efb469b457796043983740a8f72da825e83a107 100644 (file)
@@ -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
index b66e6ef308b34dd6eb558d67f89df70081c886a7..b5f9275be4bf543db868cad5c1d7f81fc1ec6bb9 100644 (file)
@@ -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;
 
index 6ba63e3051d8070a19fcc9dabc383fa6a6e50b5d..7efb469b457796043983740a8f72da825e83a107 100644 (file)
@@ -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