LLVM
8.0.1
|
#include "Target/XCore/XCoreRegisterInfo.h"
Public Member Functions | |
XCoreRegisterInfo () | |
const MCPhysReg * | getCalleeSavedRegs (const MachineFunction *MF) const override |
Code Generation virtual methods... More... | |
BitVector | getReservedRegs (const MachineFunction &MF) const override |
bool | requiresRegisterScavenging (const MachineFunction &MF) const override |
bool | trackLivenessAfterRegAlloc (const MachineFunction &MF) const override |
bool | useFPForScavengingIndex (const MachineFunction &MF) const override |
void | eliminateFrameIndex (MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override |
unsigned | getFrameRegister (const MachineFunction &MF) const override |
Static Public Member Functions | |
static bool | needsFrameMoves (const MachineFunction &MF) |
Return whether to emit frame moves. More... | |
Definition at line 26 of file XCoreRegisterInfo.h.
XCoreRegisterInfo::XCoreRegisterInfo | ( | ) |
Definition at line 44 of file XCoreRegisterInfo.cpp.
|
override |
Definition at line 260 of file XCoreRegisterInfo.cpp.
References assert(), llvm::MachineOperand::ChangeToImmediate(), llvm::MachineOperand::ChangeToRegister(), contains(), llvm::MachineBasicBlock::erase(), llvm::errs(), llvm::ISD::FrameIndex, llvm::MachineFunction::getFrameInfo(), getFrameRegister(), llvm::MachineOperand::getImm(), llvm::MachineOperand::getIndex(), llvm::TargetSubtargetInfo::getInstrInfo(), llvm::MachineFunction::getName(), llvm::MachineFrameInfo::getObjectOffset(), llvm::MachineInstr::getOperand(), llvm::MachineBasicBlock::getParent(), llvm::MachineInstr::getParent(), llvm::MachineOperand::getReg(), llvm::MachineFrameInfo::getStackSize(), llvm::MachineFunction::getSubtarget(), llvm::XCoreFrameLowering::hasFP(), InsertFPConstInst(), InsertFPImmInst(), InsertSPConstInst(), InsertSPImmInst(), llvm::MachineInstr::isDebugValue(), isImmU16(), isImmUs(), LLVM_DEBUG, MI, llvm::MachineInstr::print(), Reg, and TII.
|
override |
Code Generation virtual methods...
Definition at line 211 of file XCoreRegisterInfo.cpp.
References llvm::XCoreFrameLowering::hasFP(), R4, and R6.
|
override |
Definition at line 325 of file XCoreRegisterInfo.cpp.
References llvm::XCoreFrameLowering::hasFP().
Referenced by eliminateFrameIndex().
|
override |
Definition at line 230 of file XCoreRegisterInfo.cpp.
References llvm::HexagonISD::CP, llvm::XCoreFrameLowering::hasFP(), and llvm::BitVector::set().
|
static |
Return whether to emit frame moves.
Definition at line 206 of file XCoreRegisterInfo.cpp.
References llvm::MachineFunction::getFunction(), llvm::MachineFunction::getMMI(), llvm::MachineModuleInfo::hasDebugInfo(), and llvm::Function::needsUnwindTableEntry().
Referenced by llvm::XCoreFrameLowering::emitPrologue(), and llvm::XCoreFrameLowering::spillCalleeSavedRegisters().
|
override |
Definition at line 245 of file XCoreRegisterInfo.cpp.
|
override |
Definition at line 250 of file XCoreRegisterInfo.cpp.
|
override |
Definition at line 255 of file XCoreRegisterInfo.cpp.