Move register allocation preference (or hint) from LiveInterval to MachineRegisterInf...
[oota-llvm.git] / include / llvm / Target / TargetRegisterInfo.h
index 0218bfdb2ae39c90b8f9b9c072682731b5ceb94a..949185ac261a3e9889c9f55027659a5291dcd357 100644 (file)
@@ -484,6 +484,20 @@ public:
     return 0;
   }
 
+  /// getRegisterPairEven - Return the even register of the register pair that
+  /// contains the specified register.
+  virtual unsigned getRegisterPairEven(const MachineFunction &MF,
+                                       unsigned Reg) const {
+    return 0;
+  }
+
+  /// getRegisterPairOdd - Return the odd register of the register pair that
+  /// contains the specified register.
+  virtual unsigned getRegisterPairOdd(const MachineFunction &MF,
+                                      unsigned Reg) const {
+    return 0;
+  }
+
   //===--------------------------------------------------------------------===//
   // Register Class Information
   //