Home
last modified time | relevance | path

Searched refs:PTXVersion (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTX.td59 def PTX32 : SubtargetFeature<"ptx32", "PTXVersion", "32",
61 def PTX40 : SubtargetFeature<"ptx40", "PTXVersion", "40",
63 def PTX41 : SubtargetFeature<"ptx41", "PTXVersion", "41",
65 def PTX42 : SubtargetFeature<"ptx42", "PTXVersion", "42",
67 def PTX43 : SubtargetFeature<"ptx43", "PTXVersion", "43",
69 def PTX50 : SubtargetFeature<"ptx50", "PTXVersion", "50",
71 def PTX60 : SubtargetFeature<"ptx60", "PTXVersion", "60",
73 def PTX61 : SubtargetFeature<"ptx61", "PTXVersion", "61",
DNVPTXSubtarget.cpp42 if (PTXVersion == 0) { in initializeSubtargetDependencies()
43 PTXVersion = 32; in initializeSubtargetDependencies()
52 : NVPTXGenSubtargetInfo(TT, CPU, FS), PTXVersion(0), SmVersion(20), TM(TM), in NVPTXSubtarget()
DNVPTXSubtarget.h37 unsigned PTXVersion; variable
84 unsigned getPTXVersion() const { return PTXVersion; } in getPTXVersion()
DNVPTXAsmPrinter.cpp873 unsigned PTXVersion = STI.getPTXVersion(); in emitHeader() local
874 O << ".version " << (PTXVersion / 10) << "." << (PTXVersion % 10) << "\n"; in emitHeader()
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXSubtarget.h68 PTXVersionEnum PTXVersion; variable
96 bool supportsPTX21() const { return PTXVersion >= PTX_VERSION_2_1; } in supportsPTX21()
98 bool supportsPTX22() const { return PTXVersion >= PTX_VERSION_2_2; } in supportsPTX22()
100 bool supportsPTX23() const { return PTXVersion >= PTX_VERSION_2_3; } in supportsPTX23()
123 return PTXVersion >= PTX_VERSION_2_2; in emitPtrAttribute()
DPTX.td32 def FeaturePTX20 : SubtargetFeature<"ptx20", "PTXVersion", "PTX_VERSION_2_0",
35 def FeaturePTX21 : SubtargetFeature<"ptx21", "PTXVersion", "PTX_VERSION_2_1",
38 def FeaturePTX22 : SubtargetFeature<"ptx22", "PTXVersion", "PTX_VERSION_2_2",
41 def FeaturePTX23 : SubtargetFeature<"ptx23", "PTXVersion", "PTX_VERSION_2_3",
DPTXSubtarget.cpp29 PTXVersion(PTX_VERSION_2_0), in PTXSubtarget()
59 switch(PTXVersion) { in getPTXVersionString()
/external/llvm/lib/Target/NVPTX/
DNVPTX.td55 def PTX32 : SubtargetFeature<"ptx32", "PTXVersion", "32",
57 def PTX40 : SubtargetFeature<"ptx40", "PTXVersion", "40",
59 def PTX41 : SubtargetFeature<"ptx41", "PTXVersion", "41",
61 def PTX42 : SubtargetFeature<"ptx42", "PTXVersion", "42",
63 def PTX43 : SubtargetFeature<"ptx43", "PTXVersion", "43",
65 def PTX50 : SubtargetFeature<"ptx50", "PTXVersion", "50",
DNVPTXSubtarget.cpp39 if (PTXVersion == 0) { in initializeSubtargetDependencies()
40 PTXVersion = 32; in initializeSubtargetDependencies()
49 : NVPTXGenSubtargetInfo(TT, CPU, FS), PTXVersion(0), SmVersion(20), TM(TM), in NVPTXSubtarget()
DNVPTXSubtarget.h37 unsigned PTXVersion; variable
100 unsigned getPTXVersion() const { return PTXVersion; } in getPTXVersion()
DNVPTXAsmPrinter.cpp918 unsigned PTXVersion = STI.getPTXVersion(); in emitHeader() local
919 O << ".version " << (PTXVersion / 10) << "." << (PTXVersion % 10) << "\n"; in emitHeader()