Get rid one of the getRegisterNumbering. Also add D16 - D31.
[oota-llvm.git] / lib / Target / ARM / ARMBaseRegisterInfo.h
index 92ecc783c7f8da97a13b211c6ab984c70adbb0a7..9165bbc883e97bc119b4a45ad3a6475350a3cfae 100644 (file)
@@ -61,12 +61,10 @@ protected:
 
 public:
   /// getRegisterNumbering - Given the enum value for some register, e.g.
-  /// ARM::LR, return the number that it corresponds to (e.g. 14).
-  static unsigned getRegisterNumbering(unsigned RegEnum);
-
-  /// Same as previous getRegisterNumbering except it returns true in isSPVFP
-  /// if the register is a single precision VFP register.
-  static unsigned getRegisterNumbering(unsigned RegEnum, bool &isSPVFP);
+  /// ARM::LR, return the number that it corresponds to (e.g. 14). It
+  /// also returns true in isSPVFP if the register is a single precision
+  /// VFP register.
+  static unsigned getRegisterNumbering(unsigned RegEnum, bool *isSPVFP = 0);
 
   /// Code Generation virtual methods...
   const unsigned *getCalleeSavedRegs(const MachineFunction *MF = 0) const;