summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDGPU.td
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPU.td')
-rw-r--r--src/gallium/drivers/radeon/AMDGPU.td18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPU.td b/src/gallium/drivers/radeon/AMDGPU.td
index b5e22783203..5086f63d79c 100644
--- a/src/gallium/drivers/radeon/AMDGPU.td
+++ b/src/gallium/drivers/radeon/AMDGPU.td
@@ -10,6 +10,24 @@
// Include AMDIL TD files
include "AMDILBase.td"
+
+def AMDGPUInstrInfo : InstrInfo {}
+
+//===----------------------------------------------------------------------===//
+// Declare the target which we are implementing
+//===----------------------------------------------------------------------===//
+def AMDGPUAsmWriter : AsmWriter {
+ string AsmWriterClassName = "InstPrinter";
+ int Variant = 0;
+ bit isMCAsmWriter = 1;
+}
+
+def AMDGPU : Target {
+ // Pull in Instruction Info:
+ let InstructionSet = AMDGPUInstrInfo;
+ let AssemblyWriters = [AMDGPUAsmWriter];
+}
+
// Include AMDGPU TD files
include "R600Schedule.td"
include "SISchedule.td"