|
LLVM 24.0.0git
|
#include "PPCRegisterInfo.h"#include "PPCFrameLowering.h"#include "PPCInstrBuilder.h"#include "PPCMachineFunctionInfo.h"#include "PPCSubtarget.h"#include "PPCTargetMachine.h"#include "llvm/ADT/BitVector.h"#include "llvm/ADT/Statistic.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachineModuleInfo.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/RegisterScavenging.h"#include "llvm/CodeGen/TargetFrameLowering.h"#include "llvm/CodeGen/TargetInstrInfo.h"#include "llvm/CodeGen/VirtRegMap.h"#include "llvm/IR/CallingConv.h"#include "llvm/IR/Function.h"#include "llvm/IR/Type.h"#include "llvm/Support/Debug.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/MathExtras.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Target/TargetOptions.h"#include "PPCGenRegisterInfo.inc"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "reginfo" |
| #define | GET_REGINFO_TARGET_DESC |
Functions | |
| STATISTIC (InflateGPRC, "Number of gprc inputs for getLargestLegalClass") | |
| STATISTIC (InflateGP8RC, "Number of g8rc inputs for getLargestLegalClass") | |
| static unsigned | offsetMinAlignForOpcode (unsigned OpC) |
| static bool | reportAccMoves (const MachineBasicBlock &MBB) |
| static void | emitAccSpillRestoreInfo (MachineBasicBlock &MBB, bool IsPrimed, bool IsRestore) |
| static void | emitWAccSpillRestoreInfo (MachineBasicBlock &MBB, bool IsRestore) |
| static unsigned | offsetMinAlign (const MachineInstr &MI) |
| static bool | offsetFitsImmForm (unsigned OpC, int64_t Offset) |
| static unsigned | getOffsetONFromFION (const MachineInstr &MI, unsigned FIOperandNum) |
| #define DEBUG_TYPE "reginfo" |
Definition at line 43 of file PPCRegisterInfo.cpp.
| #define GET_REGINFO_TARGET_DESC |
Definition at line 45 of file PPCRegisterInfo.cpp.
|
static |
Definition at line 1181 of file PPCRegisterInfo.cpp.
References llvm::dbgs(), MBB, and reportAccMoves().
Referenced by llvm::PPCRegisterInfo::lowerACCRestore(), and llvm::PPCRegisterInfo::lowerACCSpilling().
|
static |
Definition at line 1241 of file PPCRegisterInfo.cpp.
References llvm::dbgs(), MBB, and reportAccMoves().
Referenced by llvm::PPCRegisterInfo::lowerWACCRestore(), and llvm::PPCRegisterInfo::lowerWACCSpilling().
|
static |
Definition at line 1615 of file PPCRegisterInfo.cpp.
References MI.
Referenced by llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::PPCRegisterInfo::isFrameOffsetLegal(), and llvm::PPCRegisterInfo::resolveFrameIndex().
Definition at line 1607 of file PPCRegisterInfo.cpp.
References llvm::isInt(), llvm::isShiftedUInt(), and llvm::Offset.
Referenced by llvm::PPCRegisterInfo::eliminateFrameIndex(), and llvm::PPCRegisterInfo::isFrameOffsetLegal().
|
static |
Definition at line 1601 of file PPCRegisterInfo.cpp.
References MI, and offsetMinAlignForOpcode().
Referenced by llvm::PPCRegisterInfo::eliminateFrameIndex(), and llvm::PPCRegisterInfo::isFrameOffsetLegal().
Definition at line 1568 of file PPCRegisterInfo.cpp.
Referenced by offsetMinAlign(), and llvm::PPCRegisterInfo::requiresFrameIndexScavenging().
|
static |
Definition at line 54 of file PPCRegisterInfo.cpp.
References MBB.
Referenced by llvm::PPCRegisterInfo::emitAccCopyInfo(), emitAccSpillRestoreInfo(), and emitWAccSpillRestoreInfo().
| STATISTIC | ( | InflateGP8RC | , |
| "Number of g8rc inputs for getLargestLegalClass" | ) |
| STATISTIC | ( | InflateGPRC | , |
| "Number of gprc inputs for getLargestLegalClass" | ) |