summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-02-06 22:37:58 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-02-06 22:37:58 +0000
commit769de20ae9f16f5157aea2b6c5460805e3b54fef (patch)
tree24e2cfeaeca361d701160eb7b1b98b4a4ffc9831
parent537444ca37cb5f3ac55cee4412a44c773f8f3c57 (diff)
downloadbcm5719-llvm-769de20ae9f16f5157aea2b6c5460805e3b54fef.tar.gz
bcm5719-llvm-769de20ae9f16f5157aea2b6c5460805e3b54fef.zip
Remove some unused functions.
LiveIntervalAnalysis has a number of functions that simply forward to SlotIndexes. Since SlotIndexes is a stand-alone analysis now, clients should really refer to it directly. llvm-svn: 149921
-rw-r--r--llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h b/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
index d0e56e4dc60..fe224e497f1 100644
--- a/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -192,21 +192,11 @@ namespace llvm {
return li.liveAt(getMBBStartIdx(mbb));
}
- LiveRange* findEnteringRange(LiveInterval &li,
- const MachineBasicBlock *mbb) {
- return li.getLiveRangeContaining(getMBBStartIdx(mbb));
- }
-
bool isLiveOutOfMBB(const LiveInterval &li,
const MachineBasicBlock *mbb) const {
return li.liveAt(getMBBEndIdx(mbb).getPrevSlot());
}
- LiveRange* findExitingRange(LiveInterval &li,
- const MachineBasicBlock *mbb) {
- return li.getLiveRangeContaining(getMBBEndIdx(mbb).getPrevSlot());
- }
-
MachineBasicBlock* getMBBFromIndex(SlotIndex index) const {
return indexes_->getMBBFromIndex(index);
}
@@ -223,19 +213,11 @@ namespace llvm {
indexes_->replaceMachineInstrInMaps(MI, NewMI);
}
- void InsertMBBInMaps(MachineBasicBlock *MBB) {
- indexes_->insertMBBInMaps(MBB);
- }
-
bool findLiveInMBBs(SlotIndex Start, SlotIndex End,
SmallVectorImpl<MachineBasicBlock*> &MBBs) const {
return indexes_->findLiveInMBBs(Start, End, MBBs);
}
- void renumber() {
- indexes_->renumberIndexes();
- }
-
VNInfo::Allocator& getVNInfoAllocator() { return VNInfoAllocator; }
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
OpenPOWER on IntegriCloud