1 //====-- PTXSubtarget.h - Define Subtarget for the PTX ---------*- C++ -*--===//
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 //===----------------------------------------------------------------------===//
10 // This file declares the PTX specific subclass of TargetSubtarget.
12 //===----------------------------------------------------------------------===//
14 #ifndef PTX_SUBTARGET_H
15 #define PTX_SUBTARGET_H
17 #include "llvm/Target/TargetSubtarget.h"
20 class PTXSubtarget : public TargetSubtarget {
25 PTXSubtarget(const std::string &TT, const std::string &FS);
27 std::string ParseSubtargetFeatures(const std::string &FS,
28 const std::string &CPU);
29 }; // class PTXSubtarget
32 #endif // PTX_SUBTARGET_H