aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-14 06:42:17 +0000
committerChris Lattner <sabre@nondot.org>2006-09-14 06:42:17 +0000
commitc7695eb5047d7a9ad75e46f178f6e7f066a94283 (patch)
treedebe79c3929b285b27fb9b8f52631d4bd3a087b7 /include
parent2540813e5d583fdc40458a53badb323ae5d83a07 (diff)
downloadexternal_llvm-c7695eb5047d7a9ad75e46f178f6e7f066a94283.zip
external_llvm-c7695eb5047d7a9ad75e46f178f6e7f066a94283.tar.gz
external_llvm-c7695eb5047d7a9ad75e46f178f6e7f066a94283.tar.bz2
revert accidentally committed file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30323 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h26
1 files changed, 3 insertions, 23 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index 2bcef48..7745184 100644
--- a/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -38,10 +38,6 @@ namespace llvm {
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 @@ namespace llvm {
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 @@ namespace llvm {
"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 @@ namespace llvm {
}
}
- /// 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,