aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commit579a22a7c5b2254698bde8c386a92ed8724b85cf (patch)
treec5559e2f086c130dbe2570cbe69dd8936907a91f /include
parenteddd0c5a807d101a7f48919ea1a22ee1aa499a2d (diff)
downloadexternal_llvm-579a22a7c5b2254698bde8c386a92ed8724b85cf.zip
external_llvm-579a22a7c5b2254698bde8c386a92ed8724b85cf.tar.gz
external_llvm-579a22a7c5b2254698bde8c386a92ed8724b85cf.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')
-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