radeon-llvm: Start multithreaded before using llvm.
[mesa.git] / src / gallium / drivers / radeon / AMDGPU.td
index 28d4182ddc6e2a7e2ea337dbcf85299d9515c980..5086f63d79ca5cfec15af0b2ffa039e0f04a4507 100644 (file)
@@ -6,11 +6,29 @@
 // License. See LICENSE.TXT for details.
 //
 //==-----------------------------------------------------------------------===//
-// This file specifies where the base TD file exists
-// and where the version specific TD file exists.
+
+// Include AMDIL TD files
 include "AMDILBase.td"
-include "AMDILVersion.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"
 include "Processors.td"