Go to the source code of this file.
|
| STATISTIC (InflateGPRC, "Number of gprc inputs for getLargestLegalClass") |
|
| STATISTIC (InflateGP8RC, "Number of g8rc inputs for getLargestLegalClass") |
|
static unsigned | offsetMinAlignForOpcode (unsigned OpC) |
|
static void | emitAccSpillRestoreInfo (MachineBasicBlock &MBB, bool IsPrimed, bool IsRestore) |
|
static void | spillRegPairs (MachineBasicBlock &MBB, MachineBasicBlock::iterator II, DebugLoc DL, const TargetInstrInfo &TII, Register SrcReg, unsigned FrameIndex, bool IsLittleEndian, bool IsKilled, bool TwoPairs) |
|
static void | emitWAccSpillRestoreInfo (MachineBasicBlock &MBB, bool IsRestore) |
|
static unsigned | offsetMinAlign (const MachineInstr &MI) |
|
static unsigned | getOffsetONFromFION (const MachineInstr &MI, unsigned FIOperandNum) |
|
|
static cl::opt< bool > | EnableBasePointer ("ppc-use-base-pointer", cl::Hidden, cl::init(true), cl::desc("Enable use of a base pointer for complex stack frames")) |
|
static cl::opt< bool > | AlwaysBasePointer ("ppc-always-use-base-pointer", cl::Hidden, cl::init(false), cl::desc("Force the use of a base pointer in every function")) |
|
static cl::opt< bool > | EnableGPRToVecSpills ("ppc-enable-gpr-to-vsr-spills", cl::Hidden, cl::init(false), cl::desc("Enable spills from gpr to vsr rather than stack")) |
|
static cl::opt< bool > | StackPtrConst ("ppc-stack-ptr-caller-preserved", cl::desc("Consider R1 caller preserved so stack saves of " "caller preserved registers can be LICM candidates"), cl::init(true), cl::Hidden) |
|
static cl::opt< unsigned > | MaxCRBitSpillDist ("ppc-max-crbit-spill-dist", cl::desc("Maximum search distance for definition of CR bit " "spill on ppc"), cl::Hidden, cl::init(100)) |
|
static cl::opt< bool > | ReportAccMoves ("ppc-report-acc-moves", cl::desc("Emit information about accumulator register spills " "and copies"), cl::Hidden, cl::init(false)) |
|
cl::opt< bool > | DisableAutoPairedVecSt |
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "reginfo" |
◆ GET_REGINFO_TARGET_DESC
#define GET_REGINFO_TARGET_DESC |
◆ emitAccSpillRestoreInfo()
◆ emitWAccSpillRestoreInfo()
◆ getOffsetONFromFION()
◆ offsetMinAlign()
◆ offsetMinAlignForOpcode()
◆ spillRegPairs()
Definition at line 1234 of file PPCRegisterInfo.cpp.
References llvm::addFrameReference(), llvm::MachineInstrBuilder::addReg(), assert(), llvm::BuildMI(), DL, llvm::getKillRegState(), II, llvm::Register::isVirtual(), MBB, llvm::Offset, and TII.
Referenced by llvm::PPCRegisterInfo::lowerACCSpilling(), and llvm::PPCRegisterInfo::lowerOctWordSpilling().
◆ STATISTIC() [1/2]
STATISTIC |
( |
InflateGP8RC |
, |
|
|
"Number of g8rc inputs for getLargestLegalClass" |
|
|
) |
| |
◆ STATISTIC() [2/2]
STATISTIC |
( |
InflateGPRC |
, |
|
|
"Number of gprc inputs for getLargestLegalClass" |
|
|
) |
| |
◆ AlwaysBasePointer
cl::opt< bool > AlwaysBasePointer("ppc-always-use-base-pointer", cl::Hidden, cl::init(false), cl::desc("Force the use of a base pointer in every function")) |
( |
"ppc-always-use-base-pointer" |
, |
|
|
cl::Hidden |
, |
|
|
cl::init(false) |
, |
|
|
cl::desc("Force the use of a base pointer in every function") |
|
|
) |
| |
|
static |
◆ DisableAutoPairedVecSt
◆ EnableBasePointer
cl::opt< bool > EnableBasePointer("ppc-use-base-pointer", cl::Hidden, cl::init(true), cl::desc("Enable use of a base pointer for complex stack frames")) |
( |
"ppc-use-base-pointer" |
, |
|
|
cl::Hidden |
, |
|
|
cl::init(true) |
, |
|
|
cl::desc("Enable use of a base pointer for complex stack frames") |
|
|
) |
| |
|
static |
◆ EnableGPRToVecSpills
cl::opt< bool > EnableGPRToVecSpills("ppc-enable-gpr-to-vsr-spills", cl::Hidden, cl::init(false), cl::desc("Enable spills from gpr to vsr rather than stack")) |
( |
"ppc-enable-gpr-to-vsr-spills" |
, |
|
|
cl::Hidden |
, |
|
|
cl::init(false) |
, |
|
|
cl::desc("Enable spills from gpr to vsr rather than stack") |
|
|
) |
| |
|
static |
◆ MaxCRBitSpillDist
cl::opt< unsigned > MaxCRBitSpillDist("ppc-max-crbit-spill-dist", cl::desc("Maximum search distance for definition of CR bit " "spill on ppc"), cl::Hidden, cl::init(100)) |
( |
"ppc-max-crbit-spill-dist" |
, |
|
|
cl::desc("Maximum search distance for definition of CR bit " "spill on ppc") |
, |
|
|
cl::Hidden |
, |
|
|
cl::init(100) |
|
|
) |
| |
|
static |
◆ ReportAccMoves
cl::opt< bool > ReportAccMoves("ppc-report-acc-moves", cl::desc("Emit information about accumulator register spills " "and copies"), cl::Hidden, cl::init(false)) |
( |
"ppc-report-acc-moves" |
, |
|
|
cl::desc("Emit information about accumulator register spills " "and copies") |
, |
|
|
cl::Hidden |
, |
|
|
cl::init(false) |
|
|
) |
| |
|
static |
◆ StackPtrConst
cl::opt< bool > StackPtrConst("ppc-stack-ptr-caller-preserved", cl::desc("Consider R1 caller preserved so stack saves of " "caller preserved registers can be LICM candidates"), cl::init(true), cl::Hidden) |
( |
"ppc-stack-ptr-caller-preserved" |
, |
|
|
cl::desc("Consider R1 caller preserved so stack saves of " "caller preserved registers can be LICM candidates") |
, |
|
|
cl::init(true) |
, |
|
|
cl::Hidden |
|
|
) |
| |
|
static |