LLVM 20.0.0git
|
#include "Target/Xtensa/XtensaRegisterInfo.h"
Public Member Functions | |
XtensaRegisterInfo (const XtensaSubtarget &STI) | |
bool | requiresRegisterScavenging (const MachineFunction &MF) const override |
bool | requiresFrameIndexScavenging (const MachineFunction &MF) const override |
const uint16_t * | getCalleeSavedRegs (const MachineFunction *MF=0) const override |
const uint32_t * | getCallPreservedMask (const MachineFunction &MF, CallingConv::ID) const override |
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 |
Public Attributes | |
const XtensaSubtarget & | Subtarget |
Definition at line 27 of file XtensaRegisterInfo.h.
XtensaRegisterInfo::XtensaRegisterInfo | ( | const XtensaSubtarget & | STI | ) |
Definition at line 32 of file XtensaRegisterInfo.cpp.
|
override |
Definition at line 61 of file XtensaRegisterInfo.cpp.
References llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), DL, llvm::MachineFrameInfo::getCalleeSavedInfo(), llvm::MachineFunction::getFrameInfo(), getFrameRegister(), llvm::TargetSubtargetInfo::getInstrInfo(), llvm::MachineFrameInfo::getObjectOffset(), llvm::MachineBasicBlock::getParent(), llvm::MachineFrameInfo::getStackSize(), llvm::MachineFunction::getSubtarget(), II, llvm::isValidAddrOffset(), llvm::RegState::Kill, MBB, MI, llvm::Offset, and TII.
|
override |
Definition at line 36 of file XtensaRegisterInfo.cpp.
|
override |
Definition at line 41 of file XtensaRegisterInfo.cpp.
|
override |
Definition at line 130 of file XtensaRegisterInfo.cpp.
References llvm::TargetSubtargetInfo::getFrameLowering(), llvm::MachineFunction::getSubtarget(), and llvm::TargetFrameLowering::hasFP().
Referenced by llvm::XtensaFrameLowering::determineCalleeSaves(), eliminateFrameIndex(), llvm::XtensaFrameLowering::emitEpilogue(), llvm::XtensaFrameLowering::emitPrologue(), and getReservedRegs().
|
override |
Definition at line 46 of file XtensaRegisterInfo.cpp.
References llvm::TargetSubtargetInfo::getFrameLowering(), getFrameRegister(), llvm::MachineFunction::getSubtarget(), llvm::TargetFrameLowering::hasFP(), and llvm::Reserved.
|
inlineoverride |
Definition at line 37 of file XtensaRegisterInfo.h.
|
inlineoverride |
Definition at line 33 of file XtensaRegisterInfo.h.
const XtensaSubtarget& llvm::XtensaRegisterInfo::Subtarget |
Definition at line 29 of file XtensaRegisterInfo.h.