forked from OSchip/llvm-project
LiveIntervalAnalysis: Remove unused pruneValue() variant.
llvm-svn: 226686
This commit is contained in:
parent
04b979dd81
commit
1002baf7b9
|
@ -181,12 +181,6 @@ namespace llvm {
|
||||||
void pruneValue(LiveRange &LR, SlotIndex Kill,
|
void pruneValue(LiveRange &LR, SlotIndex Kill,
|
||||||
SmallVectorImpl<SlotIndex> *EndPoints);
|
SmallVectorImpl<SlotIndex> *EndPoints);
|
||||||
|
|
||||||
/// Subregister aware variant of pruneValue(LiveRange &LR, SlotIndex Kill,
|
|
||||||
/// SmallVectorImpl<SlotIndex> &EndPoints). Prunes the value in the main
|
|
||||||
/// range and all sub ranges.
|
|
||||||
void pruneValue(LiveInterval &LI, SlotIndex Kill,
|
|
||||||
SmallVectorImpl<SlotIndex> *EndPoints);
|
|
||||||
|
|
||||||
SlotIndexes *getSlotIndexes() const {
|
SlotIndexes *getSlotIndexes() const {
|
||||||
return Indexes;
|
return Indexes;
|
||||||
}
|
}
|
||||||
|
|
|
@ -609,15 +609,6 @@ void LiveIntervals::pruneValue(LiveRange &LR, SlotIndex Kill,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void LiveIntervals::pruneValue(LiveInterval &LI, SlotIndex Kill,
|
|
||||||
SmallVectorImpl<SlotIndex> *EndPoints) {
|
|
||||||
pruneValue((LiveRange&)LI, Kill, EndPoints);
|
|
||||||
|
|
||||||
for (LiveInterval::SubRange &SR : LI.subranges()) {
|
|
||||||
pruneValue(SR, Kill, nullptr);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// Register allocator hooks.
|
// Register allocator hooks.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue