Add virtual method spillCalleeSaveRegisters() and restoreCalleeSaveRegisters()
authorEvan Cheng <evan.cheng@apple.com>
Tue, 2 Jan 2007 20:55:17 +0000 (20:55 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 2 Jan 2007 20:55:17 +0000 (20:55 +0000)
commitebdf389e2f0af7e90c7adf3f329e60a4e007ee70
tree1c48013129b8464889a644b45ea61eb10c1435b5
parent42525a3c5bd6812dbe0938994b3ee98f5fc6136b
Add virtual method spillCalleeSaveRegisters() and restoreCalleeSaveRegisters()
to MRegisterInfo. These allow the target to issue instructions to spill and
restore callee saved registers in case where individual stores / loads aren't
the correct / profitable choice.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32820 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/MRegisterInfo.h