diff options
Diffstat (limited to 'include/llvm/Transforms/Utils/SimplifyIndVar.h')
| -rw-r--r-- | include/llvm/Transforms/Utils/SimplifyIndVar.h | 11 | 
1 files changed, 6 insertions, 5 deletions
diff --git a/include/llvm/Transforms/Utils/SimplifyIndVar.h b/include/llvm/Transforms/Utils/SimplifyIndVar.h index dcb1d67cbf75..3c55e64537c7 100644 --- a/include/llvm/Transforms/Utils/SimplifyIndVar.h +++ b/include/llvm/Transforms/Utils/SimplifyIndVar.h @@ -25,7 +25,7 @@ class CastInst;  class DominatorTree;  class IVUsers;  class Loop; -class LPPassManager; +class LoopInfo;  class PHINode;  class ScalarEvolution; @@ -57,13 +57,14 @@ public:  /// simplifyUsersOfIV - Simplify instructions that use this induction variable  /// by using ScalarEvolution to analyze the IV's recurrence. -bool simplifyUsersOfIV(PHINode *CurrIV, ScalarEvolution *SE, LPPassManager *LPM, -                       SmallVectorImpl<WeakVH> &Dead, IVVisitor *V = nullptr); +bool simplifyUsersOfIV(PHINode *CurrIV, ScalarEvolution *SE, DominatorTree *DT, +                       LoopInfo *LI, SmallVectorImpl<WeakVH> &Dead, +                       IVVisitor *V = nullptr);  /// SimplifyLoopIVs - Simplify users of induction variables within this  /// loop. This does not actually change or add IVs. -bool simplifyLoopIVs(Loop *L, ScalarEvolution *SE, LPPassManager *LPM, -                     SmallVectorImpl<WeakVH> &Dead); +bool simplifyLoopIVs(Loop *L, ScalarEvolution *SE, DominatorTree *DT, +                     LoopInfo *LI, SmallVectorImpl<WeakVH> &Dead);  } // namespace llvm  | 
