aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-06-02 12:39:06 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-06-02 12:39:06 +0000
commitce48c1de828688b34cf5c2038fde23368a0a45f4 (patch)
treec5559e2f086c130dbe2570cbe69dd8936907a91f /include/llvm
parent8dbbacedcd846723ac55e04c1c07882c09818b55 (diff)
downloadexternal_llvm-ce48c1de828688b34cf5c2038fde23368a0a45f4.zip
external_llvm-ce48c1de828688b34cf5c2038fde23368a0a45f4.tar.gz
external_llvm-ce48c1de828688b34cf5c2038fde23368a0a45f4.tar.bz2
Remove uses of getCalleeSavedRegClasses from outside the
backends and removes the virtual declaration. With that out of the way I should be able to cleanup one backend at a time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Target/TargetRegisterInfo.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/llvm/Target/TargetRegisterInfo.h b/include/llvm/Target/TargetRegisterInfo.h
index 45d27aa..a2493fd 100644
--- a/include/llvm/Target/TargetRegisterInfo.h
+++ b/include/llvm/Target/TargetRegisterInfo.h
@@ -319,6 +319,10 @@ public:
virtual const TargetRegisterClass *
getPhysicalRegisterRegClass(unsigned Reg, EVT VT = MVT::Other) const;
+ /// getMinimalPhysRegClass - Returns the Register Class of a physical
+ /// register of the given type.
+ const TargetRegisterClass * getMinimalPhysRegClass(unsigned Reg) const;
+
/// getAllocatableSet - Returns a bitset indexed by register number
/// indicating if a register is allocatable or not. If a register class is
/// specified, returns the subset for the class.
@@ -438,11 +442,6 @@ public:
virtual const unsigned* getCalleeSavedRegs(const MachineFunction *MF = 0)
const = 0;
- /// getCalleeSavedRegClasses - Return a null-terminated list of the preferred
- /// register classes to spill each callee saved register with. The order and
- /// length of this list match the getCalleeSaveRegs() list.
- virtual const TargetRegisterClass* const *getCalleeSavedRegClasses(
- const MachineFunction *MF) const =0;
/// getReservedRegs - Returns a bitset indexed by physical register number
/// indicating if a register is a special register that has particular uses