LLVM  9.0.0svn
Macros | Functions | Variables
PPCPreEmitPeephole.cpp File Reference
#include "PPC.h"
#include "PPCInstrInfo.h"
#include "PPCSubtarget.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/LivePhysRegs.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
Include dependency graph for PPCPreEmitPeephole.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "ppc-pre-emit-peephole"
 

Functions

 STATISTIC (NumRRConvertedInPreEmit, "Number of r+r instructions converted to r+i in pre-emit peephole")
 
 STATISTIC (NumRemovedInPreEmit, "Number of instructions deleted in pre-emit peephole")
 
 STATISTIC (NumberOfSelfCopies, "Number of self copy instructions eliminated")
 

Variables

static cl::opt< boolRunPreEmitPeephole ("ppc-late-peephole", cl::Hidden, cl::init(true), cl::desc("Run pre-emit peephole optimizations."))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "ppc-pre-emit-peephole"

Definition at line 30 of file PPCPreEmitPeephole.cpp.

Function Documentation

◆ STATISTIC() [1/3]

STATISTIC ( NumRRConvertedInPreEmit  ,
"Number of r+r instructions converted to r+i in pre-emit peephole"   
)

◆ STATISTIC() [2/3]

STATISTIC ( NumRemovedInPreEmit  ,
"Number of instructions deleted in pre-emit peephole"   
)

◆ STATISTIC() [3/3]

STATISTIC ( NumberOfSelfCopies  ,
"Number of self copy instructions eliminated"   
)

Variable Documentation

◆ RunPreEmitPeephole

cl::opt<bool> RunPreEmitPeephole("ppc-late-peephole", cl::Hidden, cl::init(true), cl::desc("Run pre-emit peephole optimizations."))
static