[llvm-commits] CVS: llvm/include/llvm/Analysis/LoopPass.h

Devang Patel dpatel at apple.com
Tue Mar 6 11:00:24 PST 2007



Changes in directory llvm/include/llvm/Analysis:

LoopPass.h updated: 1.11 -> 1.12
---
Log message:

Add LPPassManager::insertLoop().


---
Diffs of the changes:  (+4 -2)

 LoopPass.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/include/llvm/Analysis/LoopPass.h
diff -u llvm/include/llvm/Analysis/LoopPass.h:1.11 llvm/include/llvm/Analysis/LoopPass.h:1.12
--- llvm/include/llvm/Analysis/LoopPass.h:1.11	Tue Mar  6 12:38:33 2007
+++ llvm/include/llvm/Analysis/LoopPass.h	Tue Mar  6 13:00:02 2007
@@ -101,9 +101,11 @@
   }
 
 public:
-  // Delete loop from the loop queue. This is used by Loop pass to inform
-  // Loop Pass Manager that it should skip rest of the passes for this loop.
+  // Delete loop from the loop queue and loop nest (LoopInfo).
   void deleteLoopFromQueue(Loop *L);
+  
+  // Inset loop into the loop nest(LoopInfo) and loop queue(LQ).
+  void insertLoop(Loop *L, Loop *ParentLoop);
 
   // Reoptimize this loop. LPPassManager will re-insert this loop into the
   // queue. This allows LoopPass to change loop nest for the loop. This






More information about the llvm-commits mailing list