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

Owen Anderson resistor at mac.com
Fri Jun 9 11:33:44 PDT 2006



Changes in directory llvm/include/llvm/Analysis:

LoopInfo.h updated: 1.54 -> 1.55
---
Log message:

Make Loop able to verify that it is in LCSSA-form, and have the LCSSA pass assert
on this.


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

 LoopInfo.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/Analysis/LoopInfo.h
diff -u llvm/include/llvm/Analysis/LoopInfo.h:1.54 llvm/include/llvm/Analysis/LoopInfo.h:1.55
--- llvm/include/llvm/Analysis/LoopInfo.h:1.54	Wed Jun  7 17:00:25 2006
+++ llvm/include/llvm/Analysis/LoopInfo.h	Fri Jun  9 13:33:30 2006
@@ -98,7 +98,7 @@
   /// isLoopInvariant - Return true if the specified value is loop invariant
   ///
   bool isLoopInvariant(Value *V) const;
-
+  
   //===--------------------------------------------------------------------===//
   // APIs for simple analysis of the loop.
   //
@@ -147,6 +147,9 @@
   ///
   Value *getTripCount() const;
 
+  /// isLCSSAForm - Return true if the Loop is in LCSSA form
+  bool isLCSSAForm() const;
+
   //===--------------------------------------------------------------------===//
   // APIs for updating loop information after changing the CFG
   //






More information about the llvm-commits mailing list