From 438e08e35796ca2e4d2be71185b34e11c2d12c80 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 19 Dec 2006 21:49:03 +0000 Subject: [PATCH] Convert more Statistic's over to STATISTIC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32692 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/PredicateSimplifier.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lib/Transforms/Scalar/PredicateSimplifier.cpp b/lib/Transforms/Scalar/PredicateSimplifier.cpp index 8b8a9f9fa5f..8a677c4461c 100644 --- a/lib/Transforms/Scalar/PredicateSimplifier.cpp +++ b/lib/Transforms/Scalar/PredicateSimplifier.cpp @@ -92,14 +92,11 @@ #include 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