Add info about register aliases, add prototype for createLocalRegisterAllocator
authorChris Lattner <sabre@nondot.org>
Mon, 16 Dec 2002 15:55:51 +0000 (15:55 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 16 Dec 2002 15:55:51 +0000 (15:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5075 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86.h

index a917d3c45a58db09b2bc38c9734cfe0bf125912b..099e930a72411273887010dc8ad31e50f2067e87 100644 (file)
@@ -25,6 +25,7 @@ Pass *createSimpleX86InstructionSelector(TargetMachine &TM);
 /// every register.  Wow, great policy huh?
 ///
 Pass *createSimpleRegisterAllocator(TargetMachine &TM);
+Pass *createLocalRegisterAllocator(TargetMachine &TM);
 
 /// createX86CodePrinterPass - Print out the specified machine code function to
 /// the specified stream.  This function should work regardless of whether or
@@ -46,7 +47,7 @@ namespace X86 {
   // mapping from register name to register number.
   //
   enum Register {
-#define R(ENUM, NAME, FLAGS, TSFLAGS) ENUM,
+#define R(ENUM, NAME, FLAGS, TSFLAGS, A1, A2, A3) ENUM,
 #include "X86RegisterInfo.def"
   };