aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips/MipsSERegisterInfo.h
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-11-03 00:05:43 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-11-03 00:05:43 +0000
commit11a45c214c26bdc49ef58c0eb214df5200867cee (patch)
tree7d61dd7da91f5665a099673d976410ae00b013f8 /lib/Target/Mips/MipsSERegisterInfo.h
parentda15a0ed4cd74f767cc124b65b7b7d9482969318 (diff)
downloadexternal_llvm-11a45c214c26bdc49ef58c0eb214df5200867cee.zip
external_llvm-11a45c214c26bdc49ef58c0eb214df5200867cee.tar.gz
external_llvm-11a45c214c26bdc49ef58c0eb214df5200867cee.tar.bz2
[mips] Stop reserving register AT and use register scavenger when a scratch
register is needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167341 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSERegisterInfo.h')
-rw-r--r--lib/Target/Mips/MipsSERegisterInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsSERegisterInfo.h b/lib/Target/Mips/MipsSERegisterInfo.h
index b4eab65..7437bd3 100644
--- a/lib/Target/Mips/MipsSERegisterInfo.h
+++ b/lib/Target/Mips/MipsSERegisterInfo.h
@@ -27,6 +27,10 @@ public:
MipsSERegisterInfo(const MipsSubtarget &Subtarget,
const MipsSEInstrInfo &TII);
+ bool requiresRegisterScavenging(const MachineFunction &MF) const;
+
+ bool requiresFrameIndexScavenging(const MachineFunction &MF) const;
+
void eliminateCallFramePseudoInstr(MachineFunction &MF,
MachineBasicBlock &MBB,
MachineBasicBlock::iterator I) const;