|
LLVM
5.0.0
|
SI implementation of the TargetRegisterInfo class. More...
#include "SIRegisterInfo.h"#include "AMDGPUSubtarget.h"#include "SIInstrInfo.h"#include "SIMachineFunctionInfo.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/RegisterScavenging.h"#include "llvm/IR/Function.h"#include "llvm/IR/LLVMContext.h"#include "AMDGPURegAsmNames.inc.cpp"Go to the source code of this file.
Macros | |
| #define | AMDGPU_REG_ASM_NAMES |
| #define | REG_RANGE(BeginReg, EndReg, RegTable) |
Functions | |
| static bool | hasPressureSet (const int *PSets, unsigned PSetID) |
| static unsigned | findPrivateSegmentWaveByteOffsetRegIndex (unsigned RegCount) |
| static unsigned | getNumSubRegsForSpillOp (unsigned Op) |
| static int | getOffsetMUBUFStore (unsigned Opc) |
| static int | getOffsetMUBUFLoad (unsigned Opc) |
| static bool | buildMUBUFOffsetLoadStore (const SIInstrInfo *TII, MachineFrameInfo &MFI, MachineBasicBlock::iterator MI, int Index, int64_t Offset) |
| static std::pair< unsigned, unsigned > | getSpillEltSize (unsigned SuperRegSize, bool Store) |
Variables | |
| static cl::opt< bool > | EnableSpillSGPRToSMEM ("amdgpu-spill-sgpr-to-smem", cl::desc("Use scalar stores to spill SGPRs if supported by subtarget"), cl::init(false)) |
| static cl::opt< bool > | EnableSpillSGPRToVGPR ("amdgpu-spill-sgpr-to-vgpr", cl::desc("Enable spilling VGPRs to SGPRs"), cl::ReallyHidden, cl::init(true)) |
SI implementation of the TargetRegisterInfo class.
Definition in file SIRegisterInfo.cpp.
| #define AMDGPU_REG_ASM_NAMES |
| #define REG_RANGE | ( | BeginReg, | |
| EndReg, | |||
| RegTable | |||
| ) |
Referenced by llvm::SIRegisterInfo::getRegAsmName().
|
static |
Definition at line 460 of file SIRegisterInfo.cpp.
References llvm::ARM_AM::add, llvm::BuildMI(), llvm::DL, llvm::getDefRegState(), llvm::SIInstrInfo::getNamedOperand(), getOffsetMUBUFLoad(), getOffsetMUBUFStore(), and llvm::MachineOperand::getReg().
Referenced by llvm::SIRegisterInfo::eliminateFrameIndex().
Definition at line 120 of file SIRegisterInfo.cpp.
Referenced by llvm::SIRegisterInfo::reservedPrivateSegmentWaveByteOffsetReg().
Definition at line 385 of file SIRegisterInfo.cpp.
References llvm_unreachable().
Referenced by llvm::SIRegisterInfo::eliminateFrameIndex().
|
static |
Definition at line 437 of file SIRegisterInfo.cpp.
Referenced by buildMUBUFOffsetLoadStore().
|
static |
Definition at line 420 of file SIRegisterInfo.cpp.
Referenced by buildMUBUFOffsetLoadStore().
Definition at line 592 of file SIRegisterInfo.cpp.
Referenced by llvm::SIRegisterInfo::restoreSGPR(), and llvm::SIRegisterInfo::spillSGPR().
Definition at line 27 of file SIRegisterInfo.cpp.
|
static |
Referenced by llvm::SIRegisterInfo::SIRegisterInfo().
|
static |
Referenced by llvm::SIRegisterInfo::SIRegisterInfo().
1.8.6