diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-04-20 21:11:22 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-04-20 21:11:22 +0000 |
commit | a92d62c15fa2bf84453489716323b0159912c55d (patch) | |
tree | ac9bd724ca5dca17945eea68750176a0edab16dd /include/llvm/Target/MRegisterInfo.h | |
parent | 34c82696b22b81744e0d4a682acf6c525db98bf6 (diff) | |
download | external_llvm-a92d62c15fa2bf84453489716323b0159912c55d.zip external_llvm-a92d62c15fa2bf84453489716323b0159912c55d.tar.gz external_llvm-a92d62c15fa2bf84453489716323b0159912c55d.tar.bz2 |
Add sub-register sets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/MRegisterInfo.h')
-rw-r--r-- | include/llvm/Target/MRegisterInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h index 509485a..585f4bc 100644 --- a/include/llvm/Target/MRegisterInfo.h +++ b/include/llvm/Target/MRegisterInfo.h @@ -38,10 +38,13 @@ class Type; /// to a Zero terminated array of registers that this register aliases. This is /// needed for architectures like X86 which have AL alias AX alias EAX. /// Registers that this does not apply to simply should set this to null. +/// The SubRegs field is a zero terminated array of registers that are +/// sub-registers of the specific register, e.g. AL, AH are sub-registers of AX. /// struct TargetRegisterDesc { const char *Name; // Assembly language name for the register const unsigned *AliasSet; // Register Alias Set, described above + const unsigned *SubRegs; // Sub-register set, described above }; class TargetRegisterClass { |