LLVM 20.0.0git
|
#include "Target/XCore/XCoreRegisterInfo.h"
Public Member Functions | |
XCoreRegisterInfo () | |
const MCPhysReg * | getCalleeSavedRegs (const MachineFunction *MF) const override |
Code Generation virtual methods... | |
BitVector | getReservedRegs (const MachineFunction &MF) const override |
bool | requiresRegisterScavenging (const MachineFunction &MF) const override |
bool | useFPForScavengingIndex (const MachineFunction &MF) const override |
bool | eliminateFrameIndex (MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override |
Register | getFrameRegister (const MachineFunction &MF) const override |
Static Public Member Functions | |
static bool | needsFrameMoves (const MachineFunction &MF) |
Return whether to emit frame moves. | |
Definition at line 23 of file XCoreRegisterInfo.h.
XCoreRegisterInfo::XCoreRegisterInfo | ( | ) |
Definition at line 43 of file XCoreRegisterInfo.cpp.
|
override |
Definition at line 257 of file XCoreRegisterInfo.cpp.
References assert(), contains(), llvm::MachineBasicBlock::erase(), llvm::errs(), llvm::MachineFunction::getFrameInfo(), getFrameRegister(), llvm::MachineOperand::getIndex(), llvm::TargetSubtargetInfo::getInstrInfo(), llvm::MachineFunction::getName(), llvm::MachineFrameInfo::getObjectOffset(), llvm::MachineFrameInfo::getStackSize(), llvm::MachineFunction::getSubtarget(), llvm::XCoreFrameLowering::hasFP(), II, InsertFPConstInst(), InsertFPImmInst(), InsertSPConstInst(), InsertSPImmInst(), isImmU16(), isImmUs(), LLVM_DEBUG, MBB, MI, llvm::Offset, llvm::Pass::print(), and TII.
|
override |
Code Generation virtual methods...
Definition at line 213 of file XCoreRegisterInfo.cpp.
References llvm::XCoreFrameLowering::hasFP().
|
override |
Definition at line 323 of file XCoreRegisterInfo.cpp.
References llvm::XCoreFrameLowering::hasFP().
Referenced by eliminateFrameIndex().
|
override |
Definition at line 232 of file XCoreRegisterInfo.cpp.
References llvm::XCoreFrameLowering::hasFP(), and llvm::Reserved.
|
static |
Return whether to emit frame moves.
Definition at line 208 of file XCoreRegisterInfo.cpp.
References llvm::MachineFunction::needsFrameMoves().
Referenced by llvm::XCoreFrameLowering::emitPrologue(), and llvm::XCoreFrameLowering::spillCalleeSavedRegisters().
|
override |
Definition at line 247 of file XCoreRegisterInfo.cpp.
|
override |
Definition at line 252 of file XCoreRegisterInfo.cpp.