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

on this.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28738 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson
2006-06-09 18:33:30 +00:00
parent e5e228df19
commit f25c19c6b5
3 changed files with 23 additions and 2 deletions
+4 -1
View File
@@ -98,7 +98,7 @@ public:
/// 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 @@ public:
///
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
//