diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-02 06:11:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-02 06:11:42 +0000 |
commit | 3e8b6631e67e01e4960a7ba4668a50c596607473 (patch) | |
tree | 3864dfc8661f3ff9716f150dc64aa671c3b47fd2 /lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
parent | 52600972832cb4ae8f4c63802f3764cbfbcb203d (diff) |
eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80766 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopStrengthReduce.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index ed32f50cc6..0bf62ec906 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -38,7 +38,6 @@ #include "llvm/ADT/Statistic.h" #include "llvm/Support/CFG.h" #include "llvm/Support/Debug.h" -#include "llvm/Support/Compiler.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/ValueHandle.h" #include "llvm/Support/raw_ostream.h" @@ -65,7 +64,7 @@ namespace { /// IVInfo - This structure keeps track of one IV expression inserted during /// StrengthReduceStridedIVUsers. It contains the stride, the common base, as /// well as the PHI node and increment value created for rewrite. - struct VISIBILITY_HIDDEN IVExpr { + struct IVExpr { const SCEV *Stride; const SCEV *Base; PHINode *PHI; @@ -76,7 +75,7 @@ namespace { /// IVsOfOneStride - This structure keeps track of all IV expression inserted /// during StrengthReduceStridedIVUsers for a particular stride of the IV. - struct VISIBILITY_HIDDEN IVsOfOneStride { + struct IVsOfOneStride { std::vector<IVExpr> IVs; void addIV(const SCEV *const Stride, const SCEV *const Base, PHINode *PHI) { @@ -84,7 +83,7 @@ namespace { } }; - class VISIBILITY_HIDDEN LoopStrengthReduce : public LoopPass { + class LoopStrengthReduce : public LoopPass { IVUsers *IU; LoopInfo *LI; DominatorTree *DT; |