OSDN Git Service

[LoopDataPrefetch] Make more member functions private, NFC.
authorAdam Nemet <anemet@apple.com>
Tue, 29 Mar 2016 22:40:02 +0000 (22:40 +0000)
committerAdam Nemet <anemet@apple.com>
Tue, 29 Mar 2016 22:40:02 +0000 (22:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264798 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopDataPrefetch.cpp

index f55f319..82af46e 100644 (file)
@@ -71,13 +71,14 @@ namespace {
     }
 
     bool runOnFunction(Function &F) override;
+
+  private:
     bool runOnLoop(Loop *L);
 
     /// \brief Check if the the stride of the accesses is large enough to
     /// warrant a prefetch.
     bool isStrideLargeEnough(const SCEVAddRecExpr *AR);
 
-  private:
     AssumptionCache *AC;
     LoopInfo *LI;
     ScalarEvolution *SE;