1 //===- PTX.td - Describe the PTX Target Machine ---------------*- tblgen -*-==//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
9 // This is the top level entry point for the PTX target.
10 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
13 // Target-independent interfaces
14 //===----------------------------------------------------------------------===//
16 include "llvm/Target/Target.td"
18 //===----------------------------------------------------------------------===//
19 // Subtarget Features.
20 //===----------------------------------------------------------------------===//
22 def FeatureSM20 : SubtargetFeature<"sm20", "is_sm20", "true",
23 "Enable sm_20 target architecture">;
25 //===----------------------------------------------------------------------===//
26 // PTX supported processors.
27 //===----------------------------------------------------------------------===//
29 class Proc<string Name, list<SubtargetFeature> Features>
30 : Processor<Name, NoItineraries, Features>;
32 def : Proc<"generic", []>;
34 //===----------------------------------------------------------------------===//
35 // Register File Description
36 //===----------------------------------------------------------------------===//
38 include "PTXRegisterInfo.td"
40 //===----------------------------------------------------------------------===//
41 // Instruction Descriptions
42 //===----------------------------------------------------------------------===//
44 include "PTXInstrInfo.td"
46 def PTXInstrInfo : InstrInfo;
48 //===----------------------------------------------------------------------===//
50 //===----------------------------------------------------------------------===//
53 let InstructionSet = PTXInstrInfo;