[llvm-commits] CVS: llvm/lib/Target/IA64/IA64AsmPrinter.cpp IA64Bundling.cpp IA64ISelDAGToDAG.cpp
Chris Lattner
sabre at nondot.org
Tue Dec 19 14:59:45 PST 2006
Changes in directory llvm/lib/Target/IA64:
IA64AsmPrinter.cpp updated: 1.40 -> 1.41
IA64Bundling.cpp updated: 1.6 -> 1.7
IA64ISelDAGToDAG.cpp updated: 1.63 -> 1.64
---
Log message:
eliminate static ctors for Statistic objects.
---
Diffs of the changes: (+7 -8)
IA64AsmPrinter.cpp | 5 +++--
IA64Bundling.cpp | 5 +++--
IA64ISelDAGToDAG.cpp | 5 +----
3 files changed, 7 insertions(+), 8 deletions(-)
Index: llvm/lib/Target/IA64/IA64AsmPrinter.cpp
diff -u llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.40 llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.41
--- llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.40 Thu Dec 7 16:21:48 2006
+++ llvm/lib/Target/IA64/IA64AsmPrinter.cpp Tue Dec 19 16:59:26 2006
@@ -16,6 +16,7 @@
//
//===----------------------------------------------------------------------===//
+#define DEBUG_TYPE "asm-printer"
#include "IA64.h"
#include "IA64TargetMachine.h"
#include "llvm/Module.h"
@@ -28,9 +29,9 @@
#include "llvm/ADT/Statistic.h"
using namespace llvm;
+STATISTIC(EmittedInsts, "Number of machine instrs printed");
+
namespace {
- Statistic EmittedInsts("asm-printer", "Number of machine instrs printed");
-
struct IA64AsmPrinter : public AsmPrinter {
std::set<std::string> ExternalFunctionNames, ExternalObjectNames;
Index: llvm/lib/Target/IA64/IA64Bundling.cpp
diff -u llvm/lib/Target/IA64/IA64Bundling.cpp:1.6 llvm/lib/Target/IA64/IA64Bundling.cpp:1.7
--- llvm/lib/Target/IA64/IA64Bundling.cpp:1.6 Thu Dec 7 16:21:48 2006
+++ llvm/lib/Target/IA64/IA64Bundling.cpp Tue Dec 19 16:59:26 2006
@@ -20,6 +20,7 @@
//
//===----------------------------------------------------------------------===//
+#define DEBUG_TYPE "ia64-codegen"
#include "IA64.h"
#include "IA64InstrInfo.h"
#include "IA64TargetMachine.h"
@@ -31,9 +32,9 @@
#include <set>
using namespace llvm;
-namespace {
- Statistic StopBitsAdded("ia64-codegen", "Number of stop bits added");
+STATISTIC(StopBitsAdded, "Number of stop bits added");
+namespace {
struct IA64BundlingPass : public MachineFunctionPass {
/// Target machine description which we query for reg. names, data
/// layout, etc.
Index: llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp
diff -u llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.63 llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.64
--- llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.63 Thu Dec 7 16:21:48 2006
+++ llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp Tue Dec 19 16:59:26 2006
@@ -12,6 +12,7 @@
//
//===----------------------------------------------------------------------===//
+#define DEBUG_TYPE "ia64-codegen"
#include "IA64.h"
#include "IA64TargetMachine.h"
#include "IA64ISelLowering.h"
@@ -21,7 +22,6 @@
#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/CodeGen/SelectionDAGISel.h"
#include "llvm/Target/TargetOptions.h"
-#include "llvm/ADT/Statistic.h"
#include "llvm/Constants.h"
#include "llvm/GlobalValue.h"
#include "llvm/Intrinsics.h"
@@ -32,9 +32,6 @@
using namespace llvm;
namespace {
- Statistic FusedFP ("ia64-codegen", "Number of fused fp operations");
- Statistic FrameOff("ia64-codegen", "Number of frame idx offsets collapsed");
-
//===--------------------------------------------------------------------===//
/// IA64DAGToDAGISel - IA64 specific code to select IA64 machine
/// instructions for SelectionDAG operations.
More information about the llvm-commits
mailing list