LLVM API Documentation
#include <NVPTXRegisterInfo.h>
Public Member Functions | |
NVPTXRegisterInfo (const NVPTXSubtarget &st) | |
const MCPhysReg * | getCalleeSavedRegs (const MachineFunction *MF=nullptr) const override |
NVPTX Callee Saved Registers. | |
BitVector | getReservedRegs (const MachineFunction &MF) const override |
void | eliminateFrameIndex (MachineBasicBlock::iterator MI, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override |
unsigned | getFrameRegister (const MachineFunction &MF) const override |
ManagedStringPool * | getStrPool () const |
const char * | getName (unsigned RegNo) const |
Definition at line 30 of file NVPTXRegisterInfo.h.
Definition at line 74 of file NVPTXRegisterInfo.cpp.
void NVPTXRegisterInfo::eliminateFrameIndex | ( | MachineBasicBlock::iterator | MI, |
int | SPAdj, | ||
unsigned | FIOperandNum, | ||
RegScavenger * | RS = nullptr |
||
) | const [override] |
Definition at line 92 of file NVPTXRegisterInfo.cpp.
References llvm::MachineOperand::ChangeToImmediate(), llvm::MachineOperand::ChangeToRegister(), llvm::ISD::FrameIndex, llvm::MachineFunction::getFrameInfo(), llvm::MachineOperand::getImm(), llvm::MachineOperand::getIndex(), llvm::MachineFrameInfo::getObjectOffset(), llvm::MachineInstr::getOperand(), llvm::MachineInstr::getParent(), llvm::MachineBasicBlock::getParent(), and llvm::AArch64CC::MI.
const MCPhysReg * NVPTXRegisterInfo::getCalleeSavedRegs | ( | const MachineFunction * | MF = nullptr | ) | const [override] |
NVPTX Callee Saved Registers.
Definition at line 82 of file NVPTXRegisterInfo.cpp.
unsigned NVPTXRegisterInfo::getFrameRegister | ( | const MachineFunction & | MF | ) | const [override] |
Definition at line 109 of file NVPTXRegisterInfo.cpp.
const char* llvm::NVPTXRegisterInfo::getName | ( | unsigned | RegNo | ) | const [inline] |
Definition at line 59 of file NVPTXRegisterInfo.h.
References llvm::c_str(), llvm::ManagedStringPool::getManagedString(), and getStrPool().
BitVector NVPTXRegisterInfo::getReservedRegs | ( | const MachineFunction & | MF | ) | const [override] |
Definition at line 87 of file NVPTXRegisterInfo.cpp.
ManagedStringPool* llvm::NVPTXRegisterInfo::getStrPool | ( | ) | const [inline] |
Definition at line 55 of file NVPTXRegisterInfo.h.
Referenced by getName().