diff options
Diffstat (limited to 'lib/Transforms/Utils/LoopSimplify.cpp')
-rw-r--r-- | lib/Transforms/Utils/LoopSimplify.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Transforms/Utils/LoopSimplify.cpp b/lib/Transforms/Utils/LoopSimplify.cpp index 7796022e89..ab850d58fc 100644 --- a/lib/Transforms/Utils/LoopSimplify.cpp +++ b/lib/Transforms/Utils/LoopSimplify.cpp @@ -32,6 +32,7 @@ // //===----------------------------------------------------------------------===// +#define DEBUG_TYPE "loopsimplify" #include "llvm/Transforms/Scalar.h" #include "llvm/Constant.h" #include "llvm/Instructions.h" @@ -48,12 +49,10 @@ #include "llvm/ADT/DepthFirstIterator.h" using namespace llvm; -namespace { - Statistic - NumInserted("loopsimplify", "Number of pre-header or exit blocks inserted"); - Statistic - NumNested("loopsimplify", "Number of nested loops split out"); +STATISTIC(NumInserted, "Number of pre-header or exit blocks inserted"); +STATISTIC(NumNested , "Number of nested loops split out"); +namespace { struct VISIBILITY_HIDDEN LoopSimplify : public FunctionPass { // AA - If we have an alias analysis object to update, this is it, otherwise // this is null. |