mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 23:31:52 +00:00
Remove unused functions getArgRegs and getNumArgRegs.
llvm-svn: 152535
This commit is contained in:
parent
72fdcabd4d
commit
682445688d
@ -54,20 +54,6 @@ static inline bool isImmU16(unsigned val) {
|
||||
return val < (1 << 16);
|
||||
}
|
||||
|
||||
static const unsigned XCore_ArgRegs[] = {
|
||||
XCore::R0, XCore::R1, XCore::R2, XCore::R3
|
||||
};
|
||||
|
||||
const unsigned * XCoreRegisterInfo::getArgRegs(const MachineFunction *MF)
|
||||
{
|
||||
return XCore_ArgRegs;
|
||||
}
|
||||
|
||||
unsigned XCoreRegisterInfo::getNumArgRegs(const MachineFunction *MF)
|
||||
{
|
||||
return array_lengthof(XCore_ArgRegs);
|
||||
}
|
||||
|
||||
bool XCoreRegisterInfo::needsFrameMoves(const MachineFunction &MF) {
|
||||
return MF.getMMI().hasDebugInfo() ||
|
||||
MF.getFunction()->needsUnwindTableEntry();
|
||||
|
@ -62,15 +62,6 @@ public:
|
||||
// Debug information queries.
|
||||
unsigned getFrameRegister(const MachineFunction &MF) const;
|
||||
|
||||
//! Return the array of argument passing registers
|
||||
/*!
|
||||
\note The size of this array is returned by getArgRegsSize().
|
||||
*/
|
||||
static const unsigned *getArgRegs(const MachineFunction *MF = 0);
|
||||
|
||||
//! Return the size of the argument passing register array
|
||||
static unsigned getNumArgRegs(const MachineFunction *MF = 0);
|
||||
|
||||
//! Return whether to emit frame moves
|
||||
static bool needsFrameMoves(const MachineFunction &MF);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user