diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-19 21:49:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-19 21:49:03 +0000 |
commit | 438e08e35796ca2e4d2be71185b34e11c2d12c80 (patch) | |
tree | 5adcac0f01f0cbf55ac104f4015f159835ab8184 /lib/Transforms/Scalar/PredicateSimplifier.cpp | |
parent | 0be6fdf972389500ac322f39d4d1bced599b7409 (diff) |
Convert more Statistic's over to STATISTIC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/PredicateSimplifier.cpp')
-rw-r--r-- | lib/Transforms/Scalar/PredicateSimplifier.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/Transforms/Scalar/PredicateSimplifier.cpp b/lib/Transforms/Scalar/PredicateSimplifier.cpp index 8b8a9f9fa5..8a677c4461 100644 --- a/lib/Transforms/Scalar/PredicateSimplifier.cpp +++ b/lib/Transforms/Scalar/PredicateSimplifier.cpp @@ -92,14 +92,11 @@ #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 |