mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
switch more statistics over to STATISTIC, eliminating static ctors. Also,
delete some dead ones. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32694 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#define DEBUG_TYPE "lcssa"
|
||||
#include "llvm/Transforms/Scalar.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/Pass.h"
|
||||
@ -39,13 +40,11 @@
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
STATISTIC(NumLCSSA, "Number of live out of a loop variables");
|
||||
|
||||
namespace {
|
||||
static Statistic NumLCSSA("lcssa",
|
||||
"Number of live out of a loop variables");
|
||||
|
||||
struct LCSSA : public FunctionPass {
|
||||
// Cached analysis information for the current function.
|
||||
LoopInfo *LI;
|
||||
|
Reference in New Issue
Block a user