Cleanup. Clarify LSRInstance public methods.
authorAndrew Trick <atrick@apple.com>
Tue, 13 Dec 2011 00:55:33 +0000 (00:55 +0000)
committerAndrew Trick <atrick@apple.com>
Tue, 13 Dec 2011 00:55:33 +0000 (00:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146459 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopStrengthReduce.cpp

index ad2f52d8ec715ea8b32ee7c65d44d8403c92c9f9..840614e9b5d0b9b6863f0923ce1c2cd1ec00d8c2 100644 (file)
@@ -1405,7 +1405,6 @@ class LSRInstance {
 
   LSRUse *FindUseWithSimilarFormula(const Formula &F, const LSRUse &OrigLU);
 
-public:
   void InsertInitialFormula(const SCEV *S, LSRUse &LU, size_t LUIdx);
   void InsertSupplementalFormula(const SCEV *S, LSRUse &LU, size_t LUIdx);
   void CountRegisters(const Formula &F, size_t LUIdx);
@@ -1466,6 +1465,7 @@ public:
   void ImplementSolution(const SmallVectorImpl<const Formula *> &Solution,
                          Pass *P);
 
+public:
   LSRInstance(const TargetLowering *tli, Loop *l, Pass *P);
 
   bool getChanged() const { return Changed; }