mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-02 04:24:22 +00:00
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
This commit is contained in:
@ -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> {
|
||||
|
Reference in New Issue
Block a user