Add new method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13049 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-04-18 22:45:16 +00:00
parent 59fb87d469
commit 88d3ef2c74

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.
//