LLVM 17.0.0git
|
#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/CodeGen/RegisterScavenging.h"
#include "llvm/MC/MCContext.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
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") | |
STATISTIC (NumFrameOffFoldInPreEmit, "Number of folding frame offset by using r+r in pre-emit peephole") | |
STATISTIC (NumCmpsInPreEmit, "Number of compares eliminated in pre-emit peephole") | |
Variables | |
static cl::opt< bool > | EnablePCRelLinkerOpt ("ppc-pcrel-linker-opt", cl::Hidden, cl::init(true), cl::desc("enable PC Relative linker optimization")) |
static cl::opt< bool > | RunPreEmitPeephole ("ppc-late-peephole", cl::Hidden, cl::init(true), cl::desc("Run pre-emit peephole optimizations.")) |
static cl::opt< uint64_t > | DSCRValue ("ppc-set-dscr", cl::Hidden, cl::desc("Set the Data Stream Control Register.")) |
#define DEBUG_TYPE "ppc-pre-emit-peephole" |
Definition at line 31 of file PPCPreEmitPeephole.cpp.
STATISTIC | ( | NumberOfSelfCopies | , |
"Number of self copy instructions eliminated" | |||
) |
STATISTIC | ( | NumCmpsInPreEmit | , |
"Number of compares eliminated in pre-emit peephole" | |||
) |
STATISTIC | ( | NumFrameOffFoldInPreEmit | , |
"Number of folding frame offset by using r+r in pre-emit peephole" | |||
) |
STATISTIC | ( | NumRemovedInPreEmit | , |
"Number of instructions deleted in pre-emit peephole" | |||
) |
STATISTIC | ( | NumRRConvertedInPreEmit | , |
"Number of r+r instructions converted to r+i in pre-emit peephole" | |||
) |
|
static |
|
static |