[llvm-commits] CVS: llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp LCSSA.cpp LoopSimplify.cpp LowerAllocations.cpp LowerInvoke.cpp LowerSelect.cpp LowerSwitch.cpp Mem2Reg.cpp
Chris Lattner
sabre at nondot.org
Wed Dec 6 09:47:30 PST 2006
Changes in directory llvm/lib/Transforms/Utils:
BreakCriticalEdges.cpp updated: 1.36 -> 1.37
LCSSA.cpp updated: 1.30 -> 1.31
LoopSimplify.cpp updated: 1.77 -> 1.78
LowerAllocations.cpp updated: 1.63 -> 1.64
LowerInvoke.cpp updated: 1.44 -> 1.45
LowerSelect.cpp updated: 1.7 -> 1.8
LowerSwitch.cpp updated: 1.26 -> 1.27
Mem2Reg.cpp updated: 1.20 -> 1.21
---
Log message:
Detemplatize the Statistic class. The only type it is instantiated with
is 'unsigned'.
---
Diffs of the changes: (+11 -11)
BreakCriticalEdges.cpp | 2 +-
LCSSA.cpp | 2 +-
LoopSimplify.cpp | 4 ++--
LowerAllocations.cpp | 2 +-
LowerInvoke.cpp | 6 +++---
LowerSelect.cpp | 2 +-
LowerSwitch.cpp | 2 +-
Mem2Reg.cpp | 2 +-
8 files changed, 11 insertions(+), 11 deletions(-)
Index: llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
diff -u llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp:1.36 llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp:1.37
--- llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp:1.36 Sat Oct 28 01:58:17 2006
+++ llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp Wed Dec 6 11:46:33 2006
@@ -30,7 +30,7 @@
using namespace llvm;
namespace {
- Statistic<> NumBroken("break-crit-edges", "Number of blocks inserted");
+ Statistic NumBroken("break-crit-edges", "Number of blocks inserted");
struct VISIBILITY_HIDDEN BreakCriticalEdges : public FunctionPass {
virtual bool runOnFunction(Function &F);
Index: llvm/lib/Transforms/Utils/LCSSA.cpp
diff -u llvm/lib/Transforms/Utils/LCSSA.cpp:1.30 llvm/lib/Transforms/Utils/LCSSA.cpp:1.31
--- llvm/lib/Transforms/Utils/LCSSA.cpp:1.30 Tue Oct 31 12:56:48 2006
+++ llvm/lib/Transforms/Utils/LCSSA.cpp Wed Dec 6 11:46:33 2006
@@ -43,7 +43,7 @@
using namespace llvm;
namespace {
- static Statistic<> NumLCSSA("lcssa",
+ static Statistic NumLCSSA("lcssa",
"Number of live out of a loop variables");
struct LCSSA : public FunctionPass {
Index: llvm/lib/Transforms/Utils/LoopSimplify.cpp
diff -u llvm/lib/Transforms/Utils/LoopSimplify.cpp:1.77 llvm/lib/Transforms/Utils/LoopSimplify.cpp:1.78
--- llvm/lib/Transforms/Utils/LoopSimplify.cpp:1.77 Thu Nov 2 14:25:50 2006
+++ llvm/lib/Transforms/Utils/LoopSimplify.cpp Wed Dec 6 11:46:33 2006
@@ -49,9 +49,9 @@
using namespace llvm;
namespace {
- Statistic<>
+ Statistic
NumInserted("loopsimplify", "Number of pre-header or exit blocks inserted");
- Statistic<>
+ Statistic
NumNested("loopsimplify", "Number of nested loops split out");
struct VISIBILITY_HIDDEN LoopSimplify : public FunctionPass {
Index: llvm/lib/Transforms/Utils/LowerAllocations.cpp
diff -u llvm/lib/Transforms/Utils/LowerAllocations.cpp:1.63 llvm/lib/Transforms/Utils/LowerAllocations.cpp:1.64
--- llvm/lib/Transforms/Utils/LowerAllocations.cpp:1.63 Sun Nov 26 19:05:10 2006
+++ llvm/lib/Transforms/Utils/LowerAllocations.cpp Wed Dec 6 11:46:33 2006
@@ -25,7 +25,7 @@
using namespace llvm;
namespace {
- Statistic<> NumLowered("lowerallocs", "Number of allocations lowered");
+ Statistic NumLowered("lowerallocs", "Number of allocations lowered");
/// LowerAllocations - Turn malloc and free instructions into %malloc and
/// %free calls.
Index: llvm/lib/Transforms/Utils/LowerInvoke.cpp
diff -u llvm/lib/Transforms/Utils/LowerInvoke.cpp:1.44 llvm/lib/Transforms/Utils/LowerInvoke.cpp:1.45
--- llvm/lib/Transforms/Utils/LowerInvoke.cpp:1.44 Sun Nov 26 19:05:10 2006
+++ llvm/lib/Transforms/Utils/LowerInvoke.cpp Wed Dec 6 11:46:33 2006
@@ -50,9 +50,9 @@
using namespace llvm;
namespace {
- Statistic<> NumInvokes("lowerinvoke", "Number of invokes replaced");
- Statistic<> NumUnwinds("lowerinvoke", "Number of unwinds replaced");
- Statistic<> NumSpilled("lowerinvoke",
+ Statistic NumInvokes("lowerinvoke", "Number of invokes replaced");
+ Statistic NumUnwinds("lowerinvoke", "Number of unwinds replaced");
+ Statistic NumSpilled("lowerinvoke",
"Number of registers live across unwind edges");
cl::opt<bool> ExpensiveEHSupport("enable-correct-eh-support",
cl::desc("Make the -lowerinvoke pass insert expensive, but correct, EH code"));
Index: llvm/lib/Transforms/Utils/LowerSelect.cpp
diff -u llvm/lib/Transforms/Utils/LowerSelect.cpp:1.7 llvm/lib/Transforms/Utils/LowerSelect.cpp:1.8
--- llvm/lib/Transforms/Utils/LowerSelect.cpp:1.7 Sun Aug 27 17:42:52 2006
+++ llvm/lib/Transforms/Utils/LowerSelect.cpp Wed Dec 6 11:46:33 2006
@@ -28,7 +28,7 @@
using namespace llvm;
namespace {
- Statistic<> NumLowered("lowerselect","Number of select instructions lowered");
+ Statistic NumLowered("lowerselect","Number of select instructions lowered");
/// LowerSelect - Turn select instructions into conditional branches.
///
Index: llvm/lib/Transforms/Utils/LowerSwitch.cpp
diff -u llvm/lib/Transforms/Utils/LowerSwitch.cpp:1.26 llvm/lib/Transforms/Utils/LowerSwitch.cpp:1.27
--- llvm/lib/Transforms/Utils/LowerSwitch.cpp:1.26 Sun Nov 26 04:17:54 2006
+++ llvm/lib/Transforms/Utils/LowerSwitch.cpp Wed Dec 6 11:46:33 2006
@@ -26,7 +26,7 @@
using namespace llvm;
namespace {
- Statistic<> NumLowered("lowerswitch", "Number of SwitchInst's replaced");
+ Statistic NumLowered("lowerswitch", "Number of SwitchInst's replaced");
/// LowerSwitch Pass - Replace all SwitchInst instructions with chained branch
/// instructions. Note that this cannot be a BasicBlock pass because it
Index: llvm/lib/Transforms/Utils/Mem2Reg.cpp
diff -u llvm/lib/Transforms/Utils/Mem2Reg.cpp:1.20 llvm/lib/Transforms/Utils/Mem2Reg.cpp:1.21
--- llvm/lib/Transforms/Utils/Mem2Reg.cpp:1.20 Sun Aug 27 17:42:52 2006
+++ llvm/lib/Transforms/Utils/Mem2Reg.cpp Wed Dec 6 11:46:33 2006
@@ -24,7 +24,7 @@
using namespace llvm;
namespace {
- Statistic<> NumPromoted("mem2reg", "Number of alloca's promoted");
+ Statistic NumPromoted("mem2reg", "Number of alloca's promoted");
struct VISIBILITY_HIDDEN PromotePass : public FunctionPass {
// runOnFunction - To run this pass, first we calculate the alloca
More information about the llvm-commits
mailing list