Add definitions of two subclasses of MipsFrameLowering, Mips16FrameLowering and
authorAkira Hatanaka <ahatanaka@mips.com>
Tue, 31 Jul 2012 22:50:19 +0000 (22:50 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Tue, 31 Jul 2012 22:50:19 +0000 (22:50 +0000)
commitcdb3ba71ce550c5a41c84c3678225a39d6f0a414
treeb0d0c70bbaa9f09fc6ade9c6ff6fd113d231da53
parentd7122b8d3c48eab05d425c99fee53cde07feafe4
Add definitions of two subclasses of MipsFrameLowering, Mips16FrameLowering and
MipsSEFrameLowering.

Implement MipsSEFrameLowering::hasReservedCallFrame. Call frames will not be
reserved if there is a call with a large call frame or there are variable sized
objects on the stack.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161090 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/CMakeLists.txt
lib/Target/Mips/Mips16FrameLowering.cpp [new file with mode: 0644]
lib/Target/Mips/Mips16FrameLowering.h [new file with mode: 0644]
lib/Target/Mips/MipsFrameLowering.cpp
lib/Target/Mips/MipsFrameLowering.h
lib/Target/Mips/MipsSEFrameLowering.cpp [new file with mode: 0644]
lib/Target/Mips/MipsSEFrameLowering.h [new file with mode: 0644]
lib/Target/Mips/MipsTargetMachine.cpp
lib/Target/Mips/MipsTargetMachine.h
test/CodeGen/Mips/largeimmprinting.ll