LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions | Variables
PPCInstrInfo.cpp File Reference
#include "PPCInstrInfo.h"
#include "MCTargetDesc/PPCPredicates.h"
#include "PPC.h"
#include "PPCHazardRecognizers.h"
#include "PPCInstrBuilder.h"
#include "PPCMachineFunctionInfo.h"
#include "PPCTargetMachine.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineMemOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/PseudoSourceValue.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Support/raw_ostream.h"
#include "PPCGenInstrInfo.inc"
Include dependency graph for PPCInstrInfo.cpp:

Go to the source code of this file.

Namespaces

 llvm
 List of target independent CodeGen pass IDs.
 

Macros

#define GET_INSTRMAP_INFO
 
#define GET_INSTRINFO_CTOR_DTOR
 
#define DEBUG_TYPE   "ppc-early-ret"
 

Functions

static bool MBBDefinesCTR (MachineBasicBlock &MBB)
 
 STATISTIC (NumBCLR,"Number of early conditional returns")
 
 STATISTIC (NumBLR,"Number of early returns")
 
void llvm::initializePPCEarlyReturnPass (PassRegistry &)
 

Variables

static cl::opt< boolDisableCTRLoopAnal ("disable-ppc-ctrloop-analysis", cl::Hidden, cl::desc("Disable analysis for CTR loops"))
 
static cl::opt< boolDisableCmpOpt ("disable-ppc-cmp-opt", cl::desc("Disable compare instruction optimization"), cl::Hidden)
 

Macro Definition Documentation

#define DEBUG_TYPE   "ppc-early-ret"

Definition at line 1382 of file PPCInstrInfo.cpp.

#define GET_INSTRINFO_CTOR_DTOR

Definition at line 36 of file PPCInstrInfo.cpp.

#define GET_INSTRMAP_INFO

Definition at line 35 of file PPCInstrInfo.cpp.

Function Documentation

static bool MBBDefinesCTR ( MachineBasicBlock MBB)
static
STATISTIC ( NumBCLR  ,
"Number of early conditional returns"   
)
STATISTIC ( NumBLR  ,
"Number of early returns"   
)

Variable Documentation

cl::opt<bool> DisableCmpOpt("disable-ppc-cmp-opt", cl::desc("Disable compare instruction optimization"), cl::Hidden)
static
cl:: opt<bool> DisableCTRLoopAnal("disable-ppc-ctrloop-analysis", cl::Hidden, cl::desc("Disable analysis for CTR loops"))
static