Changes in directory llvm/include/llvm/CodeGen:
LiveIntervalAnalysis.h updated: 1.62 -> 1.63 --- Log message: revert accidentally committed file --- Diffs of the changes: (+3 -23) LiveIntervalAnalysis.h | 26 +++----------------------- 1 files changed, 3 insertions(+), 23 deletions(-) Index: llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h diff -u llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.62 llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.63 --- llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.62 Thu Sep 14 01:40:48 2006 +++ llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h Thu Sep 14 01:42:17 2006 @@ -38,10 +38,6 @@ const TargetInstrInfo* tii_; LiveVariables* lv_; - /// MBB2IdxMap - The index of the first instruction in the specified basic - /// block. - std::vector<unsigned> MBB2IdxMap; - typedef std::map<MachineInstr*, unsigned> Mi2IndexMap; Mi2IndexMap mi2iMap_; @@ -117,17 +113,6 @@ return I->second; } - /// getMBBStartIdx - Return the base index of the first instruction in the - /// specified MachineBasicBlock. - unsigned getMBBStartIdx(MachineBasicBlock *MBB) const { - return getMBBStartIdx(MBB->getNumber()); - } - - unsigned getMBBStartIdx(unsigned MBBNo) const { - assert(MBBNo < MBB2IdxMap.size() && "Invalid MBB number!"); - return MBB2IdxMap[MBBNo]; - } - /// getInstructionIndex - returns the base index of instr unsigned getInstructionIndex(MachineInstr* instr) const { Mi2IndexMap::const_iterator it = mi2iMap_.find(instr); @@ -143,7 +128,7 @@ "index does not correspond to an instruction"); return i2miMap_[index]; } - + std::vector<LiveInterval*> addIntervalsForSpills(const LiveInterval& i, VirtRegMap& vrm, int slot); @@ -170,17 +155,12 @@ } } - /// computeIntervals - Compute live intervals. This returns a vector of all - /// the two-address instructions to the caller. - void computeIntervals(std::vector<MachineInstr*> &TwoAddrInsts); + /// computeIntervals - compute live intervals + void computeIntervals(); /// joinIntervals - join compatible live intervals void joinIntervals(); - /// HandleTwoAddressInsts - Arrange for the specified list of 2-addr - /// instructions to have their src/dst regs allocated to the same register. - void HandleTwoAddressInsts(const std::vector<MachineInstr*> &TwoAddrInsts); - /// CopyCoallesceInMBB - Coallsece copies in the specified MBB, putting /// copies that cannot yet be coallesced into the "TryAgain" list. void CopyCoallesceInMBB(MachineBasicBlock *MBB, _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits