summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-12-19 22:41:21 +0000
committerChris Lattner <sabre@nondot.org>2006-12-19 22:41:21 +0000
commitaee775a6b717f0ec397e5d82d2a24d607f147466 (patch)
tree1178dac15fd98cb50691d48a4fab7989e9ce420d /llvm/lib/CodeGen/PHIElimination.cpp
parent57ef942306c83d26160fa024313600f894c9c065 (diff)
downloadbcm5719-llvm-aee775a6b717f0ec397e5d82d2a24d607f147466.tar.gz
bcm5719-llvm-aee775a6b717f0ec397e5d82d2a24d607f147466.zip
Eliminate static ctors from Statistics
llvm-svn: 32698
Diffstat (limited to 'llvm/lib/CodeGen/PHIElimination.cpp')
-rw-r--r--llvm/lib/CodeGen/PHIElimination.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp
index fec54eac373..a5d17c2e4b0 100644
--- a/llvm/lib/CodeGen/PHIElimination.cpp
+++ b/llvm/lib/CodeGen/PHIElimination.cpp
@@ -13,6 +13,7 @@
//
//===----------------------------------------------------------------------===//
+#define DEBUG_TYPE "phielim"
#include "llvm/CodeGen/LiveVariables.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
@@ -28,10 +29,10 @@
#include <algorithm>
using namespace llvm;
+STATISTIC(NumAtomic, "Number of atomic phis lowered");
+//STATISTIC(NumSimple, "Number of simple phis lowered");
+
namespace {
- static Statistic NumAtomic("phielim", "Number of atomic phis lowered");
- static Statistic NumSimple("phielim", "Number of simple phis lowered");
-
struct VISIBILITY_HIDDEN PNE : public MachineFunctionPass {
bool runOnMachineFunction(MachineFunction &Fn) {
analyzePHINodes(Fn);
OpenPOWER on IntegriCloud