diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-19 22:59:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-19 22:59:26 +0000 |
commit | 1ef9cd400d66698214b5fcffa295135729f3cc0c (patch) | |
tree | d12414af3d76cb435dc6b331ba4a79af6442c524 /llvm/lib/Target/Alpha/AlphaLLRP.cpp | |
parent | e712a5a1d2370e20328341149bef21040222abf3 (diff) | |
download | bcm5719-llvm-1ef9cd400d66698214b5fcffa295135729f3cc0c.tar.gz bcm5719-llvm-1ef9cd400d66698214b5fcffa295135729f3cc0c.zip |
eliminate static ctors for Statistic objects.
llvm-svn: 32703
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaLLRP.cpp')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaLLRP.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaLLRP.cpp b/llvm/lib/Target/Alpha/AlphaLLRP.cpp index 6e59e466b69..a5c984eaf6c 100644 --- a/llvm/lib/Target/Alpha/AlphaLLRP.cpp +++ b/llvm/lib/Target/Alpha/AlphaLLRP.cpp @@ -8,10 +8,11 @@ //===----------------------------------------------------------------------===// // // Here we check for potential replay traps introduced by the spiller -// We also align some branch targets if we can do so for free +// We also align some branch targets if we can do so for free. +// //===----------------------------------------------------------------------===// - +#define DEBUG_TYPE "alpha-nops" #include "Alpha.h" #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/MachineInstrBuilder.h" @@ -22,11 +23,10 @@ #include "llvm/Support/CommandLine.h" using namespace llvm; -namespace { - Statistic nopintro("alpha-nops", "Number of nops inserted"); - Statistic nopalign("alpha-nops-align", - "Number of nops inserted for alignment"); +STATISTIC(nopintro, "Number of nops inserted"); +STATISTIC(nopalign, "Number of nops inserted for alignment"); +namespace { cl::opt<bool> AlignAll("alpha-align-all", cl::Hidden, cl::desc("Align all blocks")); |