diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-11-02 21:10:22 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-11-02 21:10:22 +0000 |
commit | 265f191b57a4e359bc44a51602c9d2a4ee6af96b (patch) | |
tree | c083ff85c7ecc5b17e3ec7d463473c2fc51e76b4 /lib/Target/Mips/MipsFrameLowering.h | |
parent | 294166d541fd634fea09fb1fe48457536ef43ed0 (diff) | |
download | external_llvm-265f191b57a4e359bc44a51602c9d2a4ee6af96b.zip external_llvm-265f191b57a4e359bc44a51602c9d2a4ee6af96b.tar.gz external_llvm-265f191b57a4e359bc44a51602c9d2a4ee6af96b.tar.bz2 |
[mips] Add function MipsFrameLowering::estimateStackSize.
This function estimates stack size and will be called before
PrologEpilogInserter scans the callee-saved registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsFrameLowering.h')
-rw-r--r-- | lib/Target/Mips/MipsFrameLowering.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsFrameLowering.h b/lib/Target/Mips/MipsFrameLowering.h index ed7b7fe..df52d92 100644 --- a/lib/Target/Mips/MipsFrameLowering.h +++ b/lib/Target/Mips/MipsFrameLowering.h @@ -34,6 +34,9 @@ public: const MipsSubtarget &ST); bool hasFP(const MachineFunction &MF) const; + +protected: + uint64_t estimateStackSize(const MachineFunction &MF) const; }; /// Create MipsInstrInfo objects. |