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