aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SystemZ/CMakeLists.txt
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-06-24 01:44:41 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-06-24 01:44:41 +0000
commita347f85dbeee37a7f2bb68df1a7d4cdfbb7b576d (patch)
tree843b1f6be5ffffef461ce063cf5468368598d40e /lib/Target/SystemZ/CMakeLists.txt
parent66dddd1da3e036d05f94df82221a97b7d26e3498 (diff)
downloadexternal_llvm-a347f85dbeee37a7f2bb68df1a7d4cdfbb7b576d.zip
external_llvm-a347f85dbeee37a7f2bb68df1a7d4cdfbb7b576d.tar.gz
external_llvm-a347f85dbeee37a7f2bb68df1a7d4cdfbb7b576d.tar.bz2
Starting to refactor Target to separate out code that's needed to fully describe
target machine from those that are only needed by codegen. The goal is to sink the essential target description into MC layer so we can start building MC based tools without needing to link in the entire codegen. First step is to refactor TargetRegisterInfo. This patch added a base class MCRegisterInfo which TargetRegisterInfo is derived from. Changed TableGen to separate register description from the rest of the stuff. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133782 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/CMakeLists.txt')
-rw-r--r--lib/Target/SystemZ/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/SystemZ/CMakeLists.txt b/lib/Target/SystemZ/CMakeLists.txt
index 1f5d355..3e06109 100644
--- a/lib/Target/SystemZ/CMakeLists.txt
+++ b/lib/Target/SystemZ/CMakeLists.txt
@@ -1,8 +1,9 @@
set(LLVM_TARGET_DEFINITIONS SystemZ.td)
-tablegen(SystemZGenRegisterInfo.h.inc -gen-register-desc-header)
tablegen(SystemZGenRegisterNames.inc -gen-register-enums)
-tablegen(SystemZGenRegisterInfo.inc -gen-register-desc)
+tablegen(SystemZGenRegisterDesc.inc -gen-register-desc)
+tablegen(SystemZGenRegisterInfo.h.inc -gen-register-info-header)
+tablegen(SystemZGenRegisterInfo.inc -gen-register-info)
tablegen(SystemZGenInstrNames.inc -gen-instr-enums)
tablegen(SystemZGenInstrInfo.inc -gen-instr-desc)
tablegen(SystemZGenAsmWriter.inc -gen-asm-writer)