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

Devang Patel dpatel at apple.com
Thu Feb 22 16:10:38 PST 2007



Changes in directory llvm/include/llvm/Analysis:

LoopPass.h updated: 1.2 -> 1.3
---
Log message:

Add LPPassManager interface that LoopPass can use to skip
rest of the passes in the queue for a loop.


---
Diffs of the changes:  (+6 -1)

 LoopPass.h |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/Analysis/LoopPass.h
diff -u llvm/include/llvm/Analysis/LoopPass.h:1.2 llvm/include/llvm/Analysis/LoopPass.h:1.3
--- llvm/include/llvm/Analysis/LoopPass.h:1.2	Thu Feb 22 17:30:07 2007
+++ llvm/include/llvm/Analysis/LoopPass.h	Thu Feb 22 18:10:16 2007
@@ -81,8 +81,13 @@
     return PMT_LoopPassManager; 
   }
 
- private:
+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.
+  void deleteLoopFromQueue(Loop *L);
+private:
   LoopQueue *LQ;
+  bool skipThisLoop;
 
 };
 






More information about the llvm-commits mailing list