15 #define GET_SUBTARGETINFO_ENUM
16 #define GET_SUBTARGETINFO_TARGET_DESC
17 #define GET_SUBTARGETINFO_CTOR
18 #include "NVPTXGenSubtargetInfo.inc"
24 void NVPTXSubtarget::anchor() {}
27 const std::string &
FS,
bool is64Bit)
39 std::string defCPU =
"sm_20";
44 if (FS.empty() && CPU.empty())
46 else if (!CPU.empty())
56 if (PTXVersion == 0) {
OSType getOS() const
getOS - Get the parsed operating system type of this triple.
void ParseSubtargetFeatures(StringRef CPU, StringRef FS)
#define llvm_unreachable(msg)
NVPTXSubtarget(const std::string &TT, const std::string &CPU, const std::string &FS, bool is64Bit)