Add a class forward decl

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1637 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-02-03 07:13:04 +00:00
parent a730c86422
commit 29f4c06b7f
2 changed files with 4 additions and 6 deletions

View File

@@ -38,9 +38,8 @@
#include "llvm/CodeGen/LiveRangeInfo.h" #include "llvm/CodeGen/LiveRangeInfo.h"
#include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h" #include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h"
#include "llvm/Analysis/LoopDepth.h" #include "llvm/Analysis/LoopDepth.h"
#include <deque> #include <deque>
class MachineCodeForMethod;
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
// Class AddedInstrns: // Class AddedInstrns:
@@ -75,7 +74,7 @@ class PhyRegAlloc: public NonCopyable
std::vector<RegClass *> RegClassList; // vector of register classes std::vector<RegClass *> RegClassList; // vector of register classes
const TargetMachine &TM; // target machine const TargetMachine &TM; // target machine
const Method* Meth; // name of the method we work on const Method* Meth; // name of the method we work on
MachineCodeForMethod& mcInfo; // descriptor for method's native code MachineCodeForMethod &mcInfo; // descriptor for method's native code
MethodLiveVarInfo *const LVI; // LV information for this method MethodLiveVarInfo *const LVI; // LV information for this method
// (already computed for BBs) // (already computed for BBs)
LiveRangeInfo LRI; // LR info (will be computed) LiveRangeInfo LRI; // LR info (will be computed)

View File

@@ -38,9 +38,8 @@
#include "llvm/CodeGen/LiveRangeInfo.h" #include "llvm/CodeGen/LiveRangeInfo.h"
#include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h" #include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h"
#include "llvm/Analysis/LoopDepth.h" #include "llvm/Analysis/LoopDepth.h"
#include <deque> #include <deque>
class MachineCodeForMethod;
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
// Class AddedInstrns: // Class AddedInstrns:
@@ -75,7 +74,7 @@ class PhyRegAlloc: public NonCopyable
std::vector<RegClass *> RegClassList; // vector of register classes std::vector<RegClass *> RegClassList; // vector of register classes
const TargetMachine &TM; // target machine const TargetMachine &TM; // target machine
const Method* Meth; // name of the method we work on const Method* Meth; // name of the method we work on
MachineCodeForMethod& mcInfo; // descriptor for method's native code MachineCodeForMethod &mcInfo; // descriptor for method's native code
MethodLiveVarInfo *const LVI; // LV information for this method MethodLiveVarInfo *const LVI; // LV information for this method
// (already computed for BBs) // (already computed for BBs)
LiveRangeInfo LRI; // LR info (will be computed) LiveRangeInfo LRI; // LR info (will be computed)