From 85fba393906dfa3e8e5da58b84dd7b242db22bbb Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Tue, 29 Mar 2016 22:40:02 +0000 Subject: [PATCH] [LoopDataPrefetch] Make more member functions private, NFC. llvm-svn: 264798 --- llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp b/llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp index f55f319..82af46e 100644 --- a/llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp +++ b/llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp @@ -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; -- 2.7.4