[llvm-commits] CVS: llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp
Chris Lattner
sabre at nondot.org
Tue Dec 19 13:49:18 PST 2006
Changes in directory llvm/lib/Transforms/Scalar:
PredicateSimplifier.cpp updated: 1.38 -> 1.39
---
Log message:
Convert more Statistic's over to STATISTIC
---
Diffs of the changes: (+4 -7)
PredicateSimplifier.cpp | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
Index: llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp
diff -u llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp:1.38 llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp:1.39
--- llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp:1.38 Thu Dec 7 14:04:42 2006
+++ llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp Tue Dec 19 15:49:03 2006
@@ -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
More information about the llvm-commits
mailing list