Add a simple method for marking blocks with interference in and out.
[oota-llvm.git] / lib / CodeGen / SpillPlacement.h
index 6952ad80096547a306ae1c42d500026ba66620b8..9a4fc6dc970007e65af864f09b3209423643d2b2 100644 (file)
@@ -96,6 +96,10 @@ public:
   ///                   live out.
   void addConstraints(ArrayRef<BlockConstraint> LiveBlocks);
 
+  /// addPrefSpill - Add PrefSpill constraints to all blocks listed.
+  /// @param Blocks Array of block numbers that prefer to spill in and out.
+  void addPrefSpill(ArrayRef<unsigned> Blocks);
+
   /// addLinks - Add transparent blocks with the given numbers.
   void addLinks(ArrayRef<unsigned> Links);