summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-16 15:55:51 +0000
committerChris Lattner <sabre@nondot.org>2002-12-16 15:55:51 +0000
commitc2fc7ea60b5e11bb0e51a7fb578a1f098651e33f (patch)
tree9b2bc935c7ff3cff7a5b814e1de14801c95dffef /lib/Target/X86/X86.h
parentdfb0a541c7938e0f9451edbaaaec4527fd9fa484 (diff)
downloadllvm-c2fc7ea60b5e11bb0e51a7fb578a1f098651e33f.tar.gz
llvm-c2fc7ea60b5e11bb0e51a7fb578a1f098651e33f.tar.bz2
llvm-c2fc7ea60b5e11bb0e51a7fb578a1f098651e33f.tar.xz
Add info about register aliases, add prototype for createLocalRegisterAllocator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5075 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86.h')
-rw-r--r--lib/Target/X86/X86.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86.h b/lib/Target/X86/X86.h
index a917d3c45a..099e930a72 100644
--- a/lib/Target/X86/X86.h
+++ b/lib/Target/X86/X86.h
@@ -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"
};