/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-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXSubtarget.h | 39 unsigned int SmVersion; variable 71 bool hasAtomAddF64() const { return SmVersion >= 60; } in hasAtomAddF64() 72 bool hasAtomScope() const { return SmVersion >= 60; } in hasAtomScope() 73 bool hasAtomBitwise64() const { return SmVersion >= 32; } in hasAtomBitwise64() 74 bool hasAtomMinMax64() const { return SmVersion >= 32; } in hasAtomMinMax64() 75 bool hasLDG() const { return SmVersion >= 32; } in hasLDG() 76 inline bool hasHWROT32() const { return SmVersion >= 32; } in hasHWROT32() 78 bool hasFP16Math() const { return SmVersion >= 53; } in hasFP16Math() 80 unsigned int getSmVersion() const { return SmVersion; } in getSmVersion()
|
D | NVPTX.td | 28 def SM20 : SubtargetFeature<"sm_20", "SmVersion", "20", 30 def SM21 : SubtargetFeature<"sm_21", "SmVersion", "21", 32 def SM30 : SubtargetFeature<"sm_30", "SmVersion", "30", 34 def SM32 : SubtargetFeature<"sm_32", "SmVersion", "32", 36 def SM35 : SubtargetFeature<"sm_35", "SmVersion", "35", 38 def SM37 : SubtargetFeature<"sm_37", "SmVersion", "37", 40 def SM50 : SubtargetFeature<"sm_50", "SmVersion", "50", 42 def SM52 : SubtargetFeature<"sm_52", "SmVersion", "52", 44 def SM53 : SubtargetFeature<"sm_53", "SmVersion", "53", 46 def SM60 : SubtargetFeature<"sm_60", "SmVersion", "60", [all …]
|
D | NVVMReflect.cpp | 53 unsigned int SmVersion; member in __anon892e3a4c0111::NVVMReflect 55 explicit NVVMReflect(unsigned int Sm) : FunctionPass(ID), SmVersion(Sm) { in NVVMReflect() 63 FunctionPass *llvm::createNVVMReflectPass(unsigned int SmVersion) { in createNVVMReflectPass() argument 64 return new NVVMReflect(SmVersion); in createNVVMReflectPass() 171 ReflectVal = SmVersion * 10; in runOnFunction()
|
D | NVVMIntrRange.cpp | 42 NVVMIntrRange(unsigned int SmVersion) : FunctionPass(ID) { in NVVMIntrRange() argument 47 MaxGridSize.x = SmVersion >= 30 ? 0x7fffffff : 0xffff; in NVVMIntrRange() 58 FunctionPass *llvm::createNVVMIntrRangePass(unsigned int SmVersion) { in createNVVMIntrRangePass() argument 59 return new NVVMIntrRange(SmVersion); in createNVVMIntrRangePass()
|
D | NVPTXSubtarget.cpp | 51 : NVPTXGenSubtargetInfo(TT, CPU, FS), PTXVersion(0), SmVersion(20), TM(TM), in NVPTXSubtarget() 59 return (SmVersion >= 30); in hasImageHandles()
|
D | NVPTX.h | 41 FunctionPass *createNVVMIntrRangePass(unsigned int SmVersion); 42 FunctionPass *createNVVMReflectPass(unsigned int SmVersion);
|
/external/llvm-project/llvm/lib/Target/NVPTX/ |
D | NVPTXSubtarget.h | 39 unsigned int SmVersion; variable 71 bool hasAtomAddF64() const { return SmVersion >= 60; } in hasAtomAddF64() 72 bool hasAtomScope() const { return SmVersion >= 60; } in hasAtomScope() 73 bool hasAtomBitwise64() const { return SmVersion >= 32; } in hasAtomBitwise64() 74 bool hasAtomMinMax64() const { return SmVersion >= 32; } in hasAtomMinMax64() 75 bool hasLDG() const { return SmVersion >= 32; } in hasLDG() 76 inline bool hasHWROT32() const { return SmVersion >= 32; } in hasHWROT32() 78 bool hasFP16Math() const { return SmVersion >= 53; } in hasFP16Math() 80 unsigned int getSmVersion() const { return SmVersion; } in getSmVersion()
|
D | NVPTX.td | 28 def SM20 : SubtargetFeature<"sm_20", "SmVersion", "20", 30 def SM21 : SubtargetFeature<"sm_21", "SmVersion", "21", 32 def SM30 : SubtargetFeature<"sm_30", "SmVersion", "30", 34 def SM32 : SubtargetFeature<"sm_32", "SmVersion", "32", 36 def SM35 : SubtargetFeature<"sm_35", "SmVersion", "35", 38 def SM37 : SubtargetFeature<"sm_37", "SmVersion", "37", 40 def SM50 : SubtargetFeature<"sm_50", "SmVersion", "50", 42 def SM52 : SubtargetFeature<"sm_52", "SmVersion", "52", 44 def SM53 : SubtargetFeature<"sm_53", "SmVersion", "53", 46 def SM60 : SubtargetFeature<"sm_60", "SmVersion", "60", [all …]
|
D | NVVMReflect.cpp | 53 unsigned int SmVersion; member in __anon03396ad80111::NVVMReflect 55 explicit NVVMReflect(unsigned int Sm) : FunctionPass(ID), SmVersion(Sm) { in NVVMReflect() 63 FunctionPass *llvm::createNVVMReflectPass(unsigned int SmVersion) { in createNVVMReflectPass() argument 64 return new NVVMReflect(SmVersion); in createNVVMReflectPass() 171 ReflectVal = SmVersion * 10; in runOnFunction()
|
D | NVVMIntrRange.cpp | 42 NVVMIntrRange(unsigned int SmVersion) : FunctionPass(ID) { in NVVMIntrRange() argument 47 MaxGridSize.x = SmVersion >= 30 ? 0x7fffffff : 0xffff; in NVVMIntrRange() 58 FunctionPass *llvm::createNVVMIntrRangePass(unsigned int SmVersion) { in createNVVMIntrRangePass() argument 59 return new NVVMIntrRange(SmVersion); in createNVVMIntrRangePass()
|
D | NVPTXSubtarget.cpp | 52 SmVersion(20), TM(TM), InstrInfo(), in NVPTXSubtarget() 59 return (SmVersion >= 30); in hasImageHandles()
|
D | NVPTX.h | 40 FunctionPass *createNVVMIntrRangePass(unsigned int SmVersion); 41 FunctionPass *createNVVMReflectPass(unsigned int SmVersion);
|