LLVM  3.7.0
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/STLExtras.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/LiveIntervalAnalysis.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/CodeGen/ScheduleDAG.h"
#include "llvm/CodeGen/SlotIndexes.h"
#include "llvm/CodeGen/StackMaps.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCInst.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.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.

Macros

#define DEBUG_TYPE   "ppc-instr-info"
 
#define GET_INSTRMAP_INFO
 
#define GET_INSTRINFO_CTOR_DTOR
 

Functions

static unsigned getCRBitValue (unsigned CRBit)
 
static bool MBBDefinesCTR (MachineBasicBlock &MBB)
 

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)
 
static cl::opt< boolVSXSelfCopyCrash ("crash-on-ppc-vsx-self-copy", cl::desc("Causes the backend to crash instead of generating a nop VSX copy"), cl::Hidden)
 
static cl::opt< boolUseOldLatencyCalc ("ppc-old-latency-calc", cl::Hidden, cl::desc("Use the old (incorrect) instruction latency calculation"))
 

Macro Definition Documentation

#define DEBUG_TYPE   "ppc-instr-info"

Definition at line 43 of file PPCInstrInfo.cpp.

#define GET_INSTRINFO_CTOR_DTOR

Definition at line 46 of file PPCInstrInfo.cpp.

#define GET_INSTRMAP_INFO

Definition at line 45 of file PPCInstrInfo.cpp.

Function Documentation

static unsigned getCRBitValue ( unsigned  CRBit)
static

Definition at line 723 of file PPCInstrInfo.cpp.

References llvm::MipsISD::Ret.

Referenced by llvm::PPCInstrInfo::copyPhysReg().

static bool MBBDefinesCTR ( MachineBasicBlock MBB)
static

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
cl::opt<bool> UseOldLatencyCalc("ppc-old-latency-calc", cl::Hidden, cl::desc("Use the old (incorrect) instruction latency calculation"))
static
cl::opt<bool> VSXSelfCopyCrash("crash-on-ppc-vsx-self-copy", cl::desc("Causes the backend to crash instead of generating a nop VSX copy"), cl::Hidden)
static