Merging r260164:
[oota-llvm.git] / include / llvm / CodeGen / LiveInterval.h
index 655ae008d69eb440f3d0319dfda37739c866513a..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();
@@ -848,7 +853,7 @@ namespace llvm {
   public:
     explicit ConnectedVNInfoEqClasses(LiveIntervals &lis) : LIS(lis) {}
 
-    /// Classify the values in LI into connected components.
+    /// Classify the values in \p LR into connected components.
     /// Returns the number of connected components.
     unsigned Classify(const LiveRange &LR);