LLVM
8.0.1
|
#include "Target/Lanai/LanaiRegisterInfo.h"
Public Member Functions | |
LanaiRegisterInfo () | |
const uint32_t * | getCallPreservedMask (const MachineFunction &MF, CallingConv::ID) const override |
const uint16_t * | getCalleeSavedRegs (const MachineFunction *MF=nullptr) const override |
BitVector | getReservedRegs (const MachineFunction &MF) const override |
bool | requiresRegisterScavenging (const MachineFunction &MF) const override |
bool | trackLivenessAfterRegAlloc (const MachineFunction &MF) const override |
void | eliminateFrameIndex (MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override |
unsigned | getRARegister () const |
unsigned | getFrameRegister (const MachineFunction &MF) const override |
unsigned | getBaseRegister () const |
bool | hasBasePointer (const MachineFunction &MF) const |
int | getDwarfRegNum (unsigned RegNum, bool IsEH) const |
Definition at line 24 of file LanaiRegisterInfo.h.
LanaiRegisterInfo::LanaiRegisterInfo | ( | ) |
Definition at line 34 of file LanaiRegisterInfo.cpp.
|
override |
Definition at line 135 of file LanaiRegisterInfo.cpp.
References llvm::LPAC::ADD, llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), assert(), llvm::BuildMI(), llvm::MachineOperand::ChangeToImmediate(), llvm::MachineOperand::ChangeToRegister(), llvm::MachineInstr::eraseFromParent(), llvm::RegScavenger::FindUnusedReg(), llvm::ISD::FrameIndex, llvm::MCInstrInfo::get(), getBaseRegister(), llvm::MachineInstr::getDebugLoc(), llvm::MachineFunction::getFrameInfo(), llvm::TargetSubtargetInfo::getFrameLowering(), getFrameRegister(), llvm::MachineOperand::getImm(), llvm::MachineOperand::getIndex(), llvm::TargetSubtargetInfo::getInstrInfo(), llvm::MachineFrameInfo::getObjectOffset(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), getOppositeALULoOpcode(), llvm::MachineBasicBlock::getParent(), llvm::MachineInstr::getParent(), llvm::MachineOperand::getReg(), getRRMOpcodeVariant(), llvm::MachineFrameInfo::getStackSize(), llvm::MachineFunction::getSubtarget(), hasBasePointer(), llvm::TargetFrameLowering::hasFP(), llvm::LPCC::ICC_T, isALUArithLoOpcode(), llvm::isInt< 16 >(), llvm::isRMOpcode(), llvm::isSPLSOpcode(), llvm_unreachable, MI, Reg, llvm::RegScavenger::scavengeRegister(), llvm::MachineInstr::setDesc(), llvm::MachineOperand::setImm(), llvm::LPAC::SUB, and TII.
unsigned LanaiRegisterInfo::getBaseRegister | ( | ) | const |
Definition at line 265 of file LanaiRegisterInfo.cpp.
Referenced by llvm::LanaiFrameLowering::determineCalleeSaves(), eliminateFrameIndex(), and getReservedRegs().
|
override |
Definition at line 37 of file LanaiRegisterInfo.cpp.
|
override |
Definition at line 268 of file LanaiRegisterInfo.cpp.
Referenced by CC_Lanai32_VarArg().
|
override |
Definition at line 261 of file LanaiRegisterInfo.cpp.
Referenced by eliminateFrameIndex().
unsigned LanaiRegisterInfo::getRARegister | ( | ) | const |
Definition at line 258 of file LanaiRegisterInfo.cpp.
Referenced by llvm::LanaiTargetLowering::LowerRETURNADDR().
|
override |
Definition at line 41 of file LanaiRegisterInfo.cpp.
References getBaseRegister(), hasBasePointer(), R2, R4, and llvm::BitVector::set().
bool LanaiRegisterInfo::hasBasePointer | ( | const MachineFunction & | MF | ) | const |
Definition at line 248 of file LanaiRegisterInfo.cpp.
References llvm::MachineFunction::getFrameInfo(), and llvm::MachineFrameInfo::hasVarSizedObjects().
Referenced by llvm::LanaiFrameLowering::determineCalleeSaves(), eliminateFrameIndex(), and getReservedRegs().
|
override |
Definition at line 63 of file LanaiRegisterInfo.cpp.
|
override |
Definition at line 68 of file LanaiRegisterInfo.cpp.