Tom Stellard | f98f2ce | 2012-12-11 21:25:42 +0000 | [diff] [blame^] | 1 | //===-- AMDIL.td - AMDIL Tablegen files --*- tablegen -*-------------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //==-----------------------------------------------------------------------===// |
| 9 | |
| 10 | // Include AMDIL TD files |
| 11 | include "AMDILBase.td" |
| 12 | |
| 13 | |
| 14 | def AMDGPUInstrInfo : InstrInfo { |
| 15 | let guessInstructionProperties = 1; |
| 16 | } |
| 17 | |
| 18 | //===----------------------------------------------------------------------===// |
| 19 | // Declare the target which we are implementing |
| 20 | //===----------------------------------------------------------------------===// |
| 21 | def AMDGPUAsmWriter : AsmWriter { |
| 22 | string AsmWriterClassName = "InstPrinter"; |
| 23 | int Variant = 0; |
| 24 | bit isMCAsmWriter = 1; |
| 25 | } |
| 26 | |
| 27 | def AMDGPU : Target { |
| 28 | // Pull in Instruction Info: |
| 29 | let InstructionSet = AMDGPUInstrInfo; |
| 30 | let AssemblyWriters = [AMDGPUAsmWriter]; |
| 31 | } |
| 32 | |
| 33 | // Include AMDGPU TD files |
| 34 | include "R600Schedule.td" |
| 35 | include "SISchedule.td" |
| 36 | include "Processors.td" |
| 37 | include "AMDGPUInstrInfo.td" |
| 38 | include "AMDGPUIntrinsics.td" |
| 39 | include "AMDGPURegisterInfo.td" |
| 40 | include "AMDGPUInstructions.td" |