/external/llvm/lib/Target/NVPTX/ |
D | NVPTXSubtarget.h | 40 unsigned int SmVersion; variable 72 bool hasBrkPt() const { return SmVersion >= 11; } in hasBrkPt() 73 bool hasAtomRedG32() const { return SmVersion >= 11; } in hasAtomRedG32() 74 bool hasAtomRedS32() const { return SmVersion >= 12; } in hasAtomRedS32() 75 bool hasAtomRedG64() const { return SmVersion >= 12; } in hasAtomRedG64() 76 bool hasAtomRedS64() const { return SmVersion >= 20; } in hasAtomRedS64() 77 bool hasAtomRedGen32() const { return SmVersion >= 20; } in hasAtomRedGen32() 78 bool hasAtomRedGen64() const { return SmVersion >= 20; } in hasAtomRedGen64() 79 bool hasAtomAddF32() const { return SmVersion >= 20; } in hasAtomAddF32() 80 bool hasVote() const { return SmVersion >= 12; } in hasVote() [all …]
|
D | NVPTX.td | 29 def SM20 : SubtargetFeature<"sm_20", "SmVersion", "20", 31 def SM21 : SubtargetFeature<"sm_21", "SmVersion", "21", 33 def SM30 : SubtargetFeature<"sm_30", "SmVersion", "30", 35 def SM32 : SubtargetFeature<"sm_32", "SmVersion", "32", 37 def SM35 : SubtargetFeature<"sm_35", "SmVersion", "35", 39 def SM37 : SubtargetFeature<"sm_37", "SmVersion", "37", 41 def SM50 : SubtargetFeature<"sm_50", "SmVersion", "50", 43 def SM52 : SubtargetFeature<"sm_52", "SmVersion", "52", 45 def SM53 : SubtargetFeature<"sm_53", "SmVersion", "53", 47 def SM60 : SubtargetFeature<"sm_60", "SmVersion", "60", [all …]
|
D | NVVMIntrRange.cpp | 41 NVVMIntrRange(unsigned int SmVersion) : FunctionPass(ID) { in NVVMIntrRange() argument 46 MaxGridSize.x = SmVersion >= 30 ? 0x7fffffff : 0xffff; in NVVMIntrRange() 57 FunctionPass *llvm::createNVVMIntrRangePass(unsigned int SmVersion) { in createNVVMIntrRangePass() argument 58 return new NVVMIntrRange(SmVersion); in createNVVMIntrRangePass()
|
D | NVPTXSubtarget.cpp | 49 : NVPTXGenSubtargetInfo(TT, CPU, FS), PTXVersion(0), SmVersion(20), TM(TM), in NVPTXSubtarget() 57 return (SmVersion >= 30); in hasImageHandles()
|
D | NVPTX.h | 50 FunctionPass *createNVVMIntrRangePass(unsigned int SmVersion);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXSubtarget.h | 40 unsigned int SmVersion; variable 72 bool hasAtomAddF64() const { return SmVersion >= 60; } in hasAtomAddF64() 73 bool hasAtomScope() const { return SmVersion >= 60; } in hasAtomScope() 74 bool hasAtomBitwise64() const { return SmVersion >= 32; } in hasAtomBitwise64() 75 bool hasAtomMinMax64() const { return SmVersion >= 32; } in hasAtomMinMax64() 76 bool hasLDG() const { return SmVersion >= 32; } in hasLDG() 77 inline bool hasHWROT32() const { return SmVersion >= 32; } in hasHWROT32() 79 bool hasFP16Math() const { return SmVersion >= 53; } in hasFP16Math() 81 unsigned int getSmVersion() const { return SmVersion; } in getSmVersion()
|
D | NVPTX.td | 29 def SM20 : SubtargetFeature<"sm_20", "SmVersion", "20", 31 def SM21 : SubtargetFeature<"sm_21", "SmVersion", "21", 33 def SM30 : SubtargetFeature<"sm_30", "SmVersion", "30", 35 def SM32 : SubtargetFeature<"sm_32", "SmVersion", "32", 37 def SM35 : SubtargetFeature<"sm_35", "SmVersion", "35", 39 def SM37 : SubtargetFeature<"sm_37", "SmVersion", "37", 41 def SM50 : SubtargetFeature<"sm_50", "SmVersion", "50", 43 def SM52 : SubtargetFeature<"sm_52", "SmVersion", "52", 45 def SM53 : SubtargetFeature<"sm_53", "SmVersion", "53", 47 def SM60 : SubtargetFeature<"sm_60", "SmVersion", "60", [all …]
|
D | NVVMIntrRange.cpp | 41 NVVMIntrRange(unsigned int SmVersion) : FunctionPass(ID) { in NVVMIntrRange() argument 46 MaxGridSize.x = SmVersion >= 30 ? 0x7fffffff : 0xffff; in NVVMIntrRange() 57 FunctionPass *llvm::createNVVMIntrRangePass(unsigned int SmVersion) { in createNVVMIntrRangePass() argument 58 return new NVVMIntrRange(SmVersion); in createNVVMIntrRangePass()
|
D | NVPTXSubtarget.cpp | 52 : NVPTXGenSubtargetInfo(TT, CPU, FS), PTXVersion(0), SmVersion(20), TM(TM), in NVPTXSubtarget() 60 return (SmVersion >= 30); in hasImageHandles()
|
D | NVPTX.h | 48 FunctionPass *createNVVMIntrRangePass(unsigned int SmVersion);
|