diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-12-12 16:16:24 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-12-12 16:16:24 +0000 |
commit | 1b3d218880a7147caeb58f2604af1df26a409f7d (patch) | |
tree | c981192ae51c30290ccbc2e0b14d1b276c554a62 /utils/TableGen/CodeGenRegisters.h | |
parent | f931261b510b5762b686e4bcfa0e97f1f6a7c8c8 (diff) |
Extract a method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenRegisters.h')
-rw-r--r-- | utils/TableGen/CodeGenRegisters.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenRegisters.h b/utils/TableGen/CodeGenRegisters.h index 4fc34b0922..b75bf0b8fd 100644 --- a/utils/TableGen/CodeGenRegisters.h +++ b/utils/TableGen/CodeGenRegisters.h @@ -237,6 +237,11 @@ namespace llvm { // Add RC to *2RC maps. void addToMaps(CodeGenRegisterClass*); + // Create a synthetic sub-class if it is missing. + CodeGenRegisterClass *getOrCreateSubClass(const CodeGenRegisterClass *RC, + const CodeGenRegister::Set *Membs, + StringRef Name); + // Infer missing register classes. void computeInferredRegisterClasses(); |