|
LLVM
4.0.0
|
SI implementation of the TargetRegisterInfo class. More...
#include "SIRegisterInfo.h"#include "SIInstrInfo.h"#include "SIMachineFunctionInfo.h"#include "AMDGPUSubtarget.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"Go to the source code of this file.
Functions | |
| static bool | hasPressureSet (const int *PSets, unsigned PSetID) |
| 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)) |
SI implementation of the TargetRegisterInfo class.
Definition in file SIRegisterInfo.cpp.
|
static |
Definition at line 400 of file SIRegisterInfo.cpp.
References addOperand(), llvm::BuildMI(), llvm::getDefRegState(), llvm::SIInstrInfo::getNamedOperand(), getOffsetMUBUFLoad(), getOffsetMUBUFStore(), llvm::MachineOperand::getReg(), and MBB.
Referenced by llvm::SIRegisterInfo::eliminateFrameIndex().
Definition at line 325 of file SIRegisterInfo.cpp.
References llvm_unreachable.
Referenced by llvm::SIRegisterInfo::eliminateFrameIndex().
|
static |
Definition at line 377 of file SIRegisterInfo.cpp.
Referenced by buildMUBUFOffsetLoadStore().
|
static |
Definition at line 360 of file SIRegisterInfo.cpp.
Referenced by buildMUBUFOffsetLoadStore().
Definition at line 532 of file SIRegisterInfo.cpp.
Referenced by llvm::SIRegisterInfo::restoreSGPR(), and llvm::SIRegisterInfo::spillSGPR().
Definition at line 33 of file SIRegisterInfo.cpp.
References i.
|
static |
Referenced by llvm::SIRegisterInfo::restoreSGPR(), and llvm::SIRegisterInfo::spillSGPR().
1.8.6