Add new method.

llvm-svn: 13049
This commit is contained in:
Chris Lattner 2004-04-18 22:45:16 +00:00
parent 827826320d
commit d4d66c86c0
1 changed files with 5 additions and 1 deletions

View File

@ -34,7 +34,7 @@ namespace llvm {
class DominatorSet;
class LoopInfo;
class PHINode;
class Instruction;
class Instruction;
//===----------------------------------------------------------------------===//
/// Loop class - Instances of this class are used to represent loops that are
@ -84,6 +84,10 @@ public:
///
unsigned getNumBackEdges() const;
/// isLoopInvariant - Return true if the specified value is loop invariant
///
bool isLoopInvariant(Value *V) const;
//===--------------------------------------------------------------------===//
// APIs for simple analysis of the loop.
//