mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Eliminate static ctors from Statistics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32698 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -43,14 +43,11 @@
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
static Statistic NumTwoAddressInstrs("twoaddressinstruction",
|
||||
"Number of two-address instructions");
|
||||
static Statistic NumCommuted("twoaddressinstruction",
|
||||
"Number of instructions commuted to coalesce");
|
||||
static Statistic NumConvertedTo3Addr("twoaddressinstruction",
|
||||
"Number of instructions promoted to 3-address");
|
||||
STATISTIC(NumTwoAddressInstrs, "Number of two-address instructions");
|
||||
STATISTIC(NumCommuted , "Number of instructions commuted to coalesce");
|
||||
STATISTIC(NumConvertedTo3Addr, "Number of instructions promoted to 3-address");
|
||||
|
||||
namespace {
|
||||
struct VISIBILITY_HIDDEN TwoAddressInstructionPass
|
||||
: public MachineFunctionPass {
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
|
||||
|
Reference in New Issue
Block a user