LLVM 20.0.0git
|
#include "Target/Sparc/SparcRegisterInfo.h"
Public Member Functions | |
SparcRegisterInfo () | |
const MCPhysReg * | getCalleeSavedRegs (const MachineFunction *MF) const override |
Code Generation virtual methods... | |
const uint32_t * | getCallPreservedMask (const MachineFunction &MF, CallingConv::ID CC) const override |
const uint32_t * | getRTCallPreservedMask (CallingConv::ID CC) const |
BitVector | getReservedRegs (const MachineFunction &MF) const override |
bool | isReservedReg (const MachineFunction &MF, MCRegister Reg) const |
const TargetRegisterClass * | getPointerRegClass (const MachineFunction &MF, unsigned Kind) const override |
bool | eliminateFrameIndex (MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override |
Register | getFrameRegister (const MachineFunction &MF) const override |
Definition at line 22 of file SparcRegisterInfo.h.
SparcRegisterInfo::SparcRegisterInfo | ( | ) |
Definition at line 34 of file SparcRegisterInfo.cpp.
|
override |
Definition at line 174 of file SparcRegisterInfo.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), assert(), llvm::BuildMI(), llvm::SparcSubtarget::getInstrInfo(), llvm::MachineFunction::getSubtarget(), II, MI, llvm::Offset, replaceFI(), and TII.
|
override |
Code Generation virtual methods...
Definition at line 37 of file SparcRegisterInfo.cpp.
|
override |
Definition at line 42 of file SparcRegisterInfo.cpp.
Referenced by llvm::SparcTargetLowering::LowerGlobalTLSAddress().
|
override |
Definition at line 226 of file SparcRegisterInfo.cpp.
Referenced by llvm::SparcFrameLowering::getFrameIndexReference().
|
override |
Definition at line 115 of file SparcRegisterInfo.cpp.
References llvm::MachineFunction::getSubtarget(), and llvm::SparcSubtarget::is64Bit().
|
override |
Definition at line 52 of file SparcRegisterInfo.cpp.
References assert(), llvm::sys::path::const_iterator::end, llvm::MachineFunction::getSubtarget(), llvm::SparcSubtarget::is64Bit(), llvm::SparcSubtarget::isRegisterReserved(), llvm::MCRegAliasIterator::isValid(), ReserveAppRegisters, and llvm::Reserved.
Referenced by isReservedReg().
const uint32_t * SparcRegisterInfo::getRTCallPreservedMask | ( | CallingConv::ID | CC | ) | const |
Definition at line 48 of file SparcRegisterInfo.cpp.
bool SparcRegisterInfo::isReservedReg | ( | const MachineFunction & | MF, |
MCRegister | Reg | ||
) | const |
Definition at line 109 of file SparcRegisterInfo.cpp.
References getReservedRegs().