mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +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:
@@ -32,6 +32,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#define DEBUG_TYPE "loopsimplify"
|
||||
#include "llvm/Transforms/Scalar.h"
|
||||
#include "llvm/Constant.h"
|
||||
#include "llvm/Instructions.h"
|
||||
@@ -48,12 +49,10 @@
|
||||
#include "llvm/ADT/DepthFirstIterator.h"
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
Statistic
|
||||
NumInserted("loopsimplify", "Number of pre-header or exit blocks inserted");
|
||||
Statistic
|
||||
NumNested("loopsimplify", "Number of nested loops split out");
|
||||
STATISTIC(NumInserted, "Number of pre-header or exit blocks inserted");
|
||||
STATISTIC(NumNested , "Number of nested loops split out");
|
||||
|
||||
namespace {
|
||||
struct VISIBILITY_HIDDEN LoopSimplify : public FunctionPass {
|
||||
// AA - If we have an alias analysis object to update, this is it, otherwise
|
||||
// this is null.
|
||||
|
||||
Reference in New Issue
Block a user