diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-05-24 14:48:12 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-05-24 14:48:12 +0000 |
commit | 73ea7bf4509663267317ec3911aac00ca35a2f2c (patch) | |
tree | 706c544a2d423e2ea4ad29029f525d193bd78c16 /include | |
parent | 3816c25fdc03fb2945ecfe4df41e1834ea386245 (diff) | |
download | external_llvm-73ea7bf4509663267317ec3911aac00ca35a2f2c.zip external_llvm-73ea7bf4509663267317ec3911aac00ca35a2f2c.tar.gz external_llvm-73ea7bf4509663267317ec3911aac00ca35a2f2c.tar.bz2 |
Add the SubRegIndex TableGen class.
This is the beginning of purely symbolic subregister indices, but we need a bit
of jiggling before the explicit numeric indices can be completely removed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/Target.td | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Target/Target.td b/include/llvm/Target/Target.td index 607dac7..94430bc 100644 --- a/include/llvm/Target/Target.td +++ b/include/llvm/Target/Target.td @@ -21,6 +21,14 @@ include "llvm/Intrinsics.td" class RegisterClass; // Forward def +class SubRegIndex { + string Namespace = ""; + + // This explicit numbering is going away after RegisterClass::SubRegClassList + // is replaced. + int NumberHack; +} + // Register - You should define one instance of this class for each register // in the target machine. String n will become the "name" of the register. class Register<string n> { |