* Eliminate the LiveVarSet class, making applyTranferFuncForMInst a static
function in the one .cpp file that uses it. Use ValueSet's instead.
* Prepare to delete LiveVarSet.h & LiveVarSet.cpp
* Eliminate the ValueSet class, making all old member functions into global
templates that will eventually be moved to Support.
llvm-svn: 1711
diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.h b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.h
index 09aca44..48e81c1 100644
--- a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.h
+++ b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.h
@@ -20,10 +20,10 @@
#define LIVE_RANGE_INFO_H
#include "Support/HashExtras.h"
+#include "llvm/Analysis/LiveVar/ValueSet.h"
class LiveRange;
class MachineInstr;
-class LiveVarSet;
class RegClass;
class MachineRegInfo;
class TargetMachine;
@@ -60,17 +60,15 @@
void unionAndUpdateLRs(LiveRange *L1, LiveRange *L2);
- void addInterference(const Instruction *const Inst,
- const LiveVarSet *const LVSet);
+ void addInterference(const Instruction *Inst, const ValueSet *LVSet);
void suggestRegs4CallRets();
const Method* getMethod() { return Meth; }
-
public:
- LiveRangeInfo(const Method *const M,
+ LiveRangeInfo(const Method *M,
const TargetMachine& tm,
std::vector<RegClass *> & RCList);