Separate SplitAnalysis::getSplitLoops().
[oota-llvm.git] / lib / CodeGen / SplitKit.h
index b1d5a47804f0ec0a35977191e2b8da7631063a31..f290eb646101b2ede3525d745d2095edf29feb73 100644 (file)
@@ -133,6 +133,10 @@ public:
   /// these edges, but they do require special treatment.
   void getCriticalPreds(const LoopBlocks &Blocks, BlockPtrSet &CriticalPreds);
 
+  /// getSplitLoops - Get the set of loops that have curli uses and would be
+  /// profitable to split.
+  void getSplitLoops(LoopPtrSet&);
+
   /// getBestSplitLoop - Return the loop where curli may best be split to a
   /// separate register, or NULL.
   const MachineLoop *getBestSplitLoop();