Add the exit instruction to the PTX target.
[oota-llvm.git] / lib / Target / PTX / PTXSubtarget.h
1 //====-- PTXSubtarget.h - Define Subtarget for the PTX ---------*- C++ -*--===//
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 // This file declares the PTX specific subclass of TargetSubtarget.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef PTX_SUBTARGET_H
15 #define PTX_SUBTARGET_H
16
17 #include "llvm/Target/TargetSubtarget.h"
18
19 namespace llvm {
20   class PTXSubtarget : public TargetSubtarget {
21     private:
22       bool is_sm20;
23
24     public:
25       PTXSubtarget(const std::string &TT, const std::string &FS);
26
27       std::string ParseSubtargetFeatures(const std::string &FS,
28                                          const std::string &CPU);
29   }; // class PTXSubtarget
30 } // namespace llvm
31
32 #endif // PTX_SUBTARGET_H