summaryrefslogtreecommitdiff
path: root/lib/Target/AMDIL/MCTargetDesc/AMDILMCTargetDesc.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-04-25 13:47:38 -0400
committerTom Stellard <thomas.stellard@amd.com>2012-04-25 14:29:52 -0400
commit42272b8346de16d56a1426cee45704c5e4079217 (patch)
tree67213e243b619744467a0b2dd56895b3339768d0 /lib/Target/AMDIL/MCTargetDesc/AMDILMCTargetDesc.h
parentb856d555b0336234cb4d5e2d77c3d506efa17550 (diff)
AMDIL: Add core backend files for R600/SI codegen
Diffstat (limited to 'lib/Target/AMDIL/MCTargetDesc/AMDILMCTargetDesc.h')
-rw-r--r--lib/Target/AMDIL/MCTargetDesc/AMDILMCTargetDesc.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/Target/AMDIL/MCTargetDesc/AMDILMCTargetDesc.h b/lib/Target/AMDIL/MCTargetDesc/AMDILMCTargetDesc.h
new file mode 100644
index 00000000000..370769fea25
--- /dev/null
+++ b/lib/Target/AMDIL/MCTargetDesc/AMDILMCTargetDesc.h
@@ -0,0 +1,36 @@
+//===-- AMDILMCTargetDesc.h - AMDIL Target Descriptions -----*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file provides AMDIL specific target descriptions.
+//
+//===----------------------------------------------------------------------===//
+//
+
+#ifndef AMDILMCTARGETDESC_H
+#define AMDILMCTARGETDESC_H
+
+namespace llvm {
+class MCSubtargetInfo;
+class Target;
+
+extern Target TheAMDILTarget;
+extern Target TheAMDGPUTarget;
+
+} // End llvm namespace
+
+#define GET_REGINFO_ENUM
+#include "AMDILGenRegisterInfo.inc"
+
+#define GET_INSTRINFO_ENUM
+#include "AMDILGenInstrInfo.inc"
+
+#define GET_SUBTARGETINFO_ENUM
+#include "AMDILGenSubtargetInfo.inc"
+
+#endif // AMDILMCTARGETDESC_H