From: Chris Lattner Date: Mon, 4 Feb 2002 05:56:09 +0000 (+0000) Subject: Add #includes neccesary since they were removed from .h files X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0a8ed9401dd5678f03752c2908890b32ba496b6b;p=oota-llvm.git Add #includes neccesary since they were removed from .h files git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1675 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp b/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp index b66e6ef308b..b5f9275be4b 100644 --- a/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp +++ b/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 using std::cerr; diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index 6ba63e3051d..7efb469b457 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/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 @@ -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 diff --git a/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp b/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp index b66e6ef308b..b5f9275be4b 100644 --- a/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp +++ b/lib/Target/SparcV9/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 using std::cerr; diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp index 6ba63e3051d..7efb469b457 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp +++ b/lib/Target/SparcV9/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 @@ -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