blob: 40f474161a72994b173fd073329301f5287115ff [file] [log] [blame]
Tom Stellardf98f2ce2012-12-11 21:25:42 +00001//===-- 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
11include "AMDILBase.td"
12
13
14def AMDGPUInstrInfo : InstrInfo {
15 let guessInstructionProperties = 1;
16}
17
18//===----------------------------------------------------------------------===//
19// Declare the target which we are implementing
20//===----------------------------------------------------------------------===//
21def AMDGPUAsmWriter : AsmWriter {
22 string AsmWriterClassName = "InstPrinter";
23 int Variant = 0;
24 bit isMCAsmWriter = 1;
25}
26
27def AMDGPU : Target {
28 // Pull in Instruction Info:
29 let InstructionSet = AMDGPUInstrInfo;
30 let AssemblyWriters = [AMDGPUAsmWriter];
31}
32
33// Include AMDGPU TD files
34include "R600Schedule.td"
35include "SISchedule.td"
36include "Processors.td"
37include "AMDGPUInstrInfo.td"
38include "AMDGPUIntrinsics.td"
39include "AMDGPURegisterInfo.td"
40include "AMDGPUInstructions.td"