Home
last modified time | relevance | path

Searched refs:SmVersion (Results 1 – 5 of 5) sorted by relevance

/src/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXSubtarget.h44 unsigned int SmVersion; variable
76 bool hasAtomAddF64() const { return SmVersion >= 60; } in hasAtomAddF64()
77 bool hasAtomScope() const { return SmVersion >= 60; } in hasAtomScope()
78 bool hasAtomBitwise64() const { return SmVersion >= 32; } in hasAtomBitwise64()
79 bool hasAtomMinMax64() const { return SmVersion >= 32; } in hasAtomMinMax64()
80 bool hasLDG() const { return SmVersion >= 32; } in hasLDG()
81 inline bool hasHWROT32() const { return SmVersion >= 32; } in hasHWROT32()
83 bool hasFP16Math() const { return SmVersion >= 53; } in hasFP16Math()
84 bool hasBF16Math() const { return SmVersion >= 80; } in hasBF16Math()
87 bool hasNoReturn() const { return SmVersion >= 30 && PTXVersion >= 64; } in hasNoReturn()
H A DNVVMReflect.cpp58 unsigned int SmVersion; member in __anona470f2f60111::NVVMReflect
60 explicit NVVMReflect(unsigned int Sm) : FunctionPass(ID), SmVersion(Sm) { in NVVMReflect()
68 FunctionPass *llvm::createNVVMReflectPass(unsigned int SmVersion) { in createNVVMReflectPass() argument
69 return new NVVMReflect(SmVersion); in createNVVMReflectPass()
81 static bool runNVVMReflect(Function &F, unsigned SmVersion) { in runNVVMReflect() argument
177 ReflectVal = SmVersion * 10; in runNVVMReflect()
222 return runNVVMReflect(F, SmVersion); in runOnFunction()
229 return runNVVMReflect(F, SmVersion) ? PreservedAnalyses::none() in run()
H A DNVPTX.h44 FunctionPass *createNVVMReflectPass(unsigned int SmVersion);
61 NVVMReflectPass(unsigned SmVersion) : SmVersion(SmVersion) {} in NVVMReflectPass()
65 unsigned SmVersion;
H A DNVPTXSubtarget.cpp42 SmVersion = getSmVersion(); in initializeSubtargetDependencies()
56 FullSmVersion(200), SmVersion(getSmVersion()), TM(TM), in NVPTXSubtarget()
63 return (SmVersion >= 30); in hasImageHandles()
H A DNVPTXISelLowering.cpp5866 unsigned int SmVersion) { in PerformSETCCCombine() argument
5875 if (A.getValueType() == MVT::v2bf16 && SmVersion < 90) in PerformSETCCCombine()