Convert more Statistic's over to STATISTIC
authorChris Lattner <sabre@nondot.org>
Tue, 19 Dec 2006 21:49:03 +0000 (21:49 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 19 Dec 2006 21:49:03 +0000 (21:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32692 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/PredicateSimplifier.cpp

index 8b8a9f9fa5f00519f00927aaa4470fa17f2cfcb7..8a677c4461cded940dd7f7a6ac0e26b407957327 100644 (file)
 #include <map>
 using namespace llvm;
 
-namespace {
-  Statistic
-  NumVarsReplaced("predsimplify", "Number of argument substitutions");
-  Statistic
-  NumInstruction("predsimplify", "Number of instructions removed");
-  Statistic
-  NumSimple("predsimplify", "Number of simple replacements");
+STATISTIC(NumVarsReplaced, "Number of argument substitutions");
+STATISTIC(NumInstruction , "Number of instructions removed");
+STATISTIC(NumSimple      , "Number of simple replacements");
 
+namespace {
   /// The InequalityGraph stores the relationships between values.
   /// Each Value in the graph is assigned to a Node. Nodes are pointer
   /// comparable for equality. The caller is expected to maintain the logical