Merging r260164:
[oota-llvm.git] / include / llvm / CodeGen / LiveInterval.h
index edade3164a3c6b8709154ef241515746e9dcf7f5..f1ea2c03f13cc3f851be190b4d80a9416906be2b 100644 (file)
@@ -544,6 +544,11 @@ namespace llvm {
       return true;
     }
 
+    // Returns true if any segment in the live range contains any of the
+    // provided slot indexes.  Slots which occur in holes between
+    // segments will not cause the function to return true.
+    bool isLiveAtIndexes(ArrayRef<SlotIndex> Slots) const;
+
     bool operator<(const LiveRange& other) const {
       const SlotIndex &thisIndex = beginIndex();
       const SlotIndex &otherIndex = other.beginIndex();