LLVM 20.0.0git
|
#include "Target/NVPTX/NVPTXRegisterInfo.h"
Public Member Functions | |
NVPTXRegisterInfo () | |
const MCPhysReg * | getCalleeSavedRegs (const MachineFunction *MF) const override |
NVPTX Callee Saved Registers. | |
BitVector | getReservedRegs (const MachineFunction &MF) const override |
bool | eliminateFrameIndex (MachineBasicBlock::iterator MI, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override |
Register | getFrameRegister (const MachineFunction &MF) const override |
Register | getFrameLocalRegister (const MachineFunction &MF) const |
UniqueStringSaver & | getStrPool () const |
const char * | getName (unsigned RegNo) const |
void | addToDebugRegisterMap (uint64_t preEncodedVirtualRegister, std::string registerName) const |
void | clearDebugRegisterMap () const |
int64_t | getDwarfRegNum (MCRegister RegNum, bool isEH) const override |
Definition at line 24 of file NVPTXRegisterInfo.h.
NVPTXRegisterInfo::NVPTXRegisterInfo | ( | ) |
Definition at line 86 of file NVPTXRegisterInfo.cpp.
void NVPTXRegisterInfo::addToDebugRegisterMap | ( | uint64_t | preEncodedVirtualRegister, |
std::string | registerName | ||
) | const |
Definition at line 165 of file NVPTXRegisterInfo.cpp.
References encodeRegisterForDwarf(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::insert().
void NVPTXRegisterInfo::clearDebugRegisterMap | ( | ) | const |
Definition at line 143 of file NVPTXRegisterInfo.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::clear().
|
override |
Definition at line 112 of file NVPTXRegisterInfo.cpp.
References assert(), llvm::MachineFunction::getFrameInfo(), getFrameRegister(), llvm::MachineFrameInfo::getObjectOffset(), II, MI, and llvm::Offset.
|
override |
NVPTX Callee Saved Registers.
Definition at line 94 of file NVPTXRegisterInfo.cpp.
|
override |
Definition at line 173 of file NVPTXRegisterInfo.cpp.
References encodeRegisterForDwarf(), llvm::NVPTXInstPrinter::getRegisterName(), llvm::MCRegister::id(), llvm::Register::isPhysicalRegister(), lookup(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::lookup(), and name.
Register NVPTXRegisterInfo::getFrameLocalRegister | ( | const MachineFunction & | MF | ) | const |
Definition at line 137 of file NVPTXRegisterInfo.cpp.
References llvm::MachineFunction::getTarget().
Referenced by CombineCVTAToLocal(), and llvm::NVPTXFrameLowering::emitPrologue().
|
override |
Definition at line 130 of file NVPTXRegisterInfo.cpp.
References llvm::MachineFunction::getTarget().
Referenced by eliminateFrameIndex(), llvm::NVPTXFrameLowering::emitPrologue(), and isCVTAToLocalCombinationCandidate().
Definition at line 57 of file NVPTXRegisterInfo.h.
References llvm::StringRef::data(), getStrPool(), and llvm::UniqueStringSaver::save().
|
override |
Definition at line 99 of file NVPTXRegisterInfo.cpp.
References llvm::Reserved.
|
inline |
Definition at line 53 of file NVPTXRegisterInfo.h.
Referenced by getName().