LLVM
8.0.1
|
#include "Target/ARC/ARCRegisterInfo.h"
Public Member Functions | |
ARCRegisterInfo () | |
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 |
const uint32_t * | getCallPreservedMask (const MachineFunction &MF, CallingConv::ID CC) 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 ARCRegisterInfo.h.
ARCRegisterInfo::ARCRegisterInfo | ( | ) |
Definition at line 125 of file ARCRegisterInfo.cpp.
|
override |
Definition at line 162 of file ARCRegisterInfo.cpp.
References assert(), llvm::MachineOperand::ChangeToImmediate(), llvm::MachineOperand::ChangeToRegister(), contains(), llvm::dbgs(), llvm::ISD::FrameIndex, llvm::MachineFunction::getFrameInfo(), getFrameRegister(), llvm::MachineOperand::getImm(), llvm::MachineOperand::getIndex(), llvm::MachineFrameInfo::getLocalFrameSize(), llvm::MachineFunction::getName(), llvm::MachineFrameInfo::getObjectOffset(), llvm::MachineFrameInfo::getObjectSize(), llvm::MachineInstr::getOperand(), llvm::MachineBasicBlock::getParent(), llvm::MachineInstr::getParent(), llvm::MachineOperand::getReg(), llvm::MachineFrameInfo::getStackSize(), llvm::MachineFunction::getSubtarget(), llvm::ARCFrameLowering::hasFP(), llvm::MachineInstr::isDebugValue(), LLVM_DEBUG, MI, Reg, ReplaceFrameIndex(), and TII.
|
override |
Code Generation virtual methods...
Definition at line 132 of file ARCRegisterInfo.cpp.
|
override |
Definition at line 229 of file ARCRegisterInfo.cpp.
|
override |
Definition at line 223 of file ARCRegisterInfo.cpp.
References llvm::ARCFrameLowering::hasFP().
Referenced by eliminateFrameIndex(), and llvm::ARCTargetLowering::isLegalAddressingMode().
|
override |
Definition at line 136 of file ARCRegisterInfo.cpp.
References llvm::BitVector::set().
|
static |
Return whether to emit frame moves.
Definition at line 127 of file ARCRegisterInfo.cpp.
References llvm::MachineFunction::getFunction(), llvm::MachineFunction::getMMI(), llvm::MachineModuleInfo::hasDebugInfo(), and llvm::Function::needsUnwindTableEntry().
|
override |
Definition at line 148 of file ARCRegisterInfo.cpp.
|
override |
Definition at line 153 of file ARCRegisterInfo.cpp.
|
override |
Definition at line 158 of file ARCRegisterInfo.cpp.