mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
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:
parent
59fb87d469
commit
88d3ef2c74
@ -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.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user