diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-19 22:41:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-19 22:41:21 +0000 |
commit | aee775a6b717f0ec397e5d82d2a24d607f147466 (patch) | |
tree | 1178dac15fd98cb50691d48a4fab7989e9ce420d /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 57ef942306c83d26160fa024313600f894c9c065 (diff) | |
download | bcm5719-llvm-aee775a6b717f0ec397e5d82d2a24d607f147466.tar.gz bcm5719-llvm-aee775a6b717f0ec397e5d82d2a24d607f147466.zip |
Eliminate static ctors from Statistics
llvm-svn: 32698
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 3e53130ba50..33509536eb5 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -40,15 +40,11 @@ #include <algorithm> using namespace llvm; +STATISTIC(NodesCombined , "Number of dag nodes combined"); +STATISTIC(PreIndexedNodes , "Number of pre-indexed nodes created"); +STATISTIC(PostIndexedNodes, "Number of post-indexed nodes created"); + namespace { - static Statistic NodesCombined ("dagcombiner", - "Number of dag nodes combined"); - - static Statistic PreIndexedNodes ("pre_indexed_ops", - "Number of pre-indexed nodes created"); - static Statistic PostIndexedNodes ("post_indexed_ops", - "Number of post-indexed nodes created"); - static cl::opt<bool> CombinerAA("combiner-alias-analysis", cl::Hidden, cl::desc("Turn on alias analysis during testing")); |