diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-12-06 17:46:33 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-12-06 17:46:33 +0000 |
| commit | ac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da (patch) | |
| tree | cba006a0f0e329a969ce29b7d10ba0dc244f4f90 /lib/Transforms/Scalar/LoopUnswitch.cpp | |
| parent | 2b4e98cb20c9391399b2601a793b6ea689da3cee (diff) | |
Detemplatize the Statistic class. The only type it is instantiated with
is 'unsigned'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopUnswitch.cpp')
| -rw-r--r-- | lib/Transforms/Scalar/LoopUnswitch.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Transforms/Scalar/LoopUnswitch.cpp b/lib/Transforms/Scalar/LoopUnswitch.cpp index 8b2f6cfc5e..3079ce92b5 100644 --- a/lib/Transforms/Scalar/LoopUnswitch.cpp +++ b/lib/Transforms/Scalar/LoopUnswitch.cpp @@ -44,12 +44,12 @@ using namespace llvm; namespace { - Statistic<> NumBranches("loop-unswitch", "Number of branches unswitched"); - Statistic<> NumSwitches("loop-unswitch", "Number of switches unswitched"); - Statistic<> NumSelects ("loop-unswitch", "Number of selects unswitched"); - Statistic<> NumTrivial ("loop-unswitch", + Statistic NumBranches("loop-unswitch", "Number of branches unswitched"); + Statistic NumSwitches("loop-unswitch", "Number of switches unswitched"); + Statistic NumSelects ("loop-unswitch", "Number of selects unswitched"); + Statistic NumTrivial ("loop-unswitch", "Number of unswitches that are trivial"); - Statistic<> NumSimplify("loop-unswitch", + Statistic NumSimplify("loop-unswitch", "Number of simplifications of unswitched code"); cl::opt<unsigned> Threshold("loop-unswitch-threshold", cl::desc("Max loop size to unswitch"), |
