mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +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:
@@ -36,24 +36,15 @@
|
||||
#include <cmath>
|
||||
using namespace llvm;
|
||||
|
||||
STATISTIC(numIntervals, "Number of original intervals");
|
||||
STATISTIC(numIntervalsAfter, "Number of intervals after coalescing");
|
||||
STATISTIC(numJoins , "Number of interval joins performed");
|
||||
STATISTIC(numPeep , "Number of identity moves eliminated after coalescing");
|
||||
STATISTIC(numFolded , "Number of loads/stores folded into instructions");
|
||||
|
||||
namespace {
|
||||
RegisterPass<LiveIntervals> X("liveintervals", "Live Interval Analysis");
|
||||
|
||||
static Statistic numIntervals
|
||||
("liveintervals", "Number of original intervals");
|
||||
|
||||
static Statistic numIntervalsAfter
|
||||
("liveintervals", "Number of intervals after coalescing");
|
||||
|
||||
static Statistic numJoins
|
||||
("liveintervals", "Number of interval joins performed");
|
||||
|
||||
static Statistic numPeep
|
||||
("liveintervals", "Number of identity moves eliminated after coalescing");
|
||||
|
||||
static Statistic numFolded
|
||||
("liveintervals", "Number of loads/stores folded into instructions");
|
||||
|
||||
static cl::opt<bool>
|
||||
EnableJoining("join-liveintervals",
|
||||
cl::desc("Coallesce copies (default=true)"),
|
||||
|
||||
Reference in New Issue
Block a user