LLVM 20.0.0git
|
#include "Target/ARC/ARCRegisterInfo.h"
Public Member Functions | |
ARCRegisterInfo (const ARCSubtarget &) | |
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 |
const uint32_t * | getCallPreservedMask (const MachineFunction &MF, CallingConv::ID CC) 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. | |
Public Attributes | |
const ARCSubtarget & | ST |
Definition at line 26 of file ARCRegisterInfo.h.
ARCRegisterInfo::ARCRegisterInfo | ( | const ARCSubtarget & | ST | ) |
Definition at line 129 of file ARCRegisterInfo.cpp.
|
override |
Definition at line 163 of file ARCRegisterInfo.cpp.
References assert(), contains(), llvm::dbgs(), llvm::MachineFunction::getFrameInfo(), getFrameRegister(), llvm::MachineOperand::getIndex(), llvm::MachineFrameInfo::getLocalFrameSize(), llvm::MachineFunction::getName(), llvm::MachineFrameInfo::getObjectOffset(), llvm::MachineFrameInfo::getObjectSize(), llvm::MachineFrameInfo::getStackSize(), llvm::MachineFunction::getSubtarget(), llvm::TargetFrameLowering::hasFP(), II, LLVM_DEBUG, MI, llvm::Offset, replaceFrameIndex(), and TII.
|
override |
Code Generation virtual methods...
Definition at line 137 of file ARCRegisterInfo.cpp.
|
override |
Definition at line 231 of file ARCRegisterInfo.cpp.
|
override |
Definition at line 225 of file ARCRegisterInfo.cpp.
References llvm::TargetFrameLowering::hasFP().
Referenced by eliminateFrameIndex().
|
override |
Definition at line 141 of file ARCRegisterInfo.cpp.
References llvm::Reserved.
|
static |
Return whether to emit frame moves.
Definition at line 132 of file ARCRegisterInfo.cpp.
References llvm::MachineFunction::needsFrameMoves().
|
override |
Definition at line 154 of file ARCRegisterInfo.cpp.
|
override |
Definition at line 159 of file ARCRegisterInfo.cpp.
const ARCSubtarget& llvm::ARCRegisterInfo::ST |
Definition at line 27 of file ARCRegisterInfo.h.